Skip to Content.
Sympa Menu

mace-opensaml-users - RE: Open SAML 2 Libaries

Subject: OpenSAML user discussion

List archive

RE: Open SAML 2 Libaries


Chronological Thread 
  • From: "Peter Gambino" <>
  • To: <>
  • Subject: RE: Open SAML 2 Libaries
  • Date: Wed, 9 Jan 2008 17:06:49 -0500
  • Organization: Delaero, Inc.

Based on this I did some analysis. The Problem seemed to lie with the
application server. The App server had an endorsed directory that was
specified as a startup parameter, and Xalan was already in there. I had
copied it over from the OpenSAML folder, but it seems that JBoss wasn't
really considering it endorsed so that was the problem. I added an endorsed
directory (and the Jars) to the Lib folder of the JRE Jboss was using and it
fixed the problem.

Pete

-----Original Message-----
From: Scott Cantor
[mailto:]

Sent: Tuesday, January 08, 2008 8:15 PM
To:

Cc: Peter Gambino
Subject: Re: Open SAML 2 Libaries

> FWIW: I've also seen this error at some point, I believe when unittesting
my
> code, *after* adding a parameter to the jvm to endorse xalan/xerces.

No, it happens when you *don't* endorse xalan.

Whenever people say "I endorsed it" and this error comes up, we know they're

wrong. Might be impossible to figure out why, but it's still true.

> I ended up just disabling the SAML component (as it wasn't neccessary for
this
> particular set of scripts anyway), so this won't help you much. The same
> component works fine in production (running in a servlet container which
> endorses xalan/xerces), however, so I'm pretty sure the validity of the
XML
> isn't the root of the problem.

No, it's the lack of validity of Sun's broken XML code that's the root of
the problem. The XML is fine, and the error message is clearly nonsense.

> I'd also be interested in finding out what the cause of and the solution
for
> this problem is.

Endorse xalan and it goes away.

-- Scott





Archive powered by MHonArc 2.6.16.

Top of Page