mace-opensaml-users - Re: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1
Subject: OpenSAML user discussion
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1
- Date: Tue, 31 Jul 2007 18:59:59 -0400
- Organization: OIS - Middleware
Probably. Just trying to start with the simple stuff first. :)
Douglas Squirrel wrote:
Hi Chad
Thanks for pointing this out - in fact we _did_ have out-of-sync
versions, which is worth fixing for sure! I did fix this and
unfortunately got just the same error, so I think Scott is on the right
track with the xmlsec bug.
Thanks anyway!
Squirrel
-----Original Message-----
From: Chad La Joie [mailto:] Sent: 31 July 2007 23:17
To:
Subject: Re: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1
Some people, incorrectly, will endorse Xerces/Xalan *and* include these files in their WAR. This actually works fine as long as you endorse the
same version of the jars in the WAR, if not you can get into the case where some classes are loaded from either the endorsed jars or the WAR jars (and thus have one set of dependencies) and some are loaded from the other. The most common error you get from that is the NoClassDef or
NoMethodDef errors.
Can you verify that if you are including Xerces and Xalan in your application that you are including the versions that are endorsed?
Douglas Squirrel wrote:
OpenSAML friends,SAMLConfig.java
First, thank you for providing OpenSAML which my firm have been using
for several years with great success and no problems.
We run OpenSAML as part of our web application on a Tomcat 5.5 web
server with Xerces 2.5.0 and Xalan 2.4.1 installed as endorsed
libraries. This has worked very well.
We would now like to change the Xerces and Xalan versions, to Xerces
2.8.1 and Xalan 2.7.0. This works for all our other libraries but when
we call SAMLPostProfile.accept() to process a request, we get an
exception and the request fails:
java.lang.NoClassDefFoundError: org/apache/xpath/compiler/FuncLoader
at org.opensaml.SAMLConfig.<init>(Unknown Source)
at org.opensaml.SAMLConfig.instance(Unknown Source)
at org.opensaml.SAMLObject.<init>(Unknown Source)
at org.opensaml.SAMLSignedObject.<init>(Unknown Source)
at org.opensaml.SAMLResponse.<init>(Unknown Source)
at org.opensaml.SAMLPOSTProfile.accept(Unknown Source)
[...call stack in our own code here]
I inserted System.out.println() statements in SAMLConfig.java and
rebuilt opensaml; the output showed we reach line 56 of
but don't get any further. This line says:in
org.apache.xml.security.Init.init();
What is very odd is that I can't see any reference to
org.apache.xpath.compiler.FuncLoader - in this line, or anywhere else
SAMLConfig.java, or in the Init class of org.apache.xml.security!opensaml
I also tried replacing the versions of Xerces and Xalan in the
endorsed folder and rebuilding, as well as replacingxmlsec-20050514.jar
in the lib folder with a newer version, but nothing seemed to work.understand
Can any of you provide any clues? If needed I'd be happy to write (and
share) code to fix this problem and allow opensaml 1.1 to work with
newer versions of Xerces and Xalan, but I have to say I don't
what is wrong.
Many thanks
Douglas Squirrel
youDevise, Ltd.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
--
Chad La Joie 2052-C Harris Bldg
OIS-Middleware 202.687.0124
- Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- Re: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Chad La Joie, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- Re: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Chad La Joie, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Scott Cantor, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Scott Cantor, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Scott Cantor, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Scott Cantor, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Scott Cantor, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Scott Cantor, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Scott Cantor, 07/31/2007
- RE: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Douglas Squirrel, 07/31/2007
- Re: Xerces 2.8.1 and Xalan 2.7.0 with OpenSAML 1.1, Chad La Joie, 07/31/2007
Archive powered by MHonArc 2.6.16.