Skip to Content.
Sympa Menu

mace-opensaml-users - Problems with opensaml 1.0.1 Xerces libraries

Subject: OpenSAML user discussion

List archive

Problems with opensaml 1.0.1 Xerces libraries


Chronological Thread 
  • From:
  • To:
  • Subject: Problems with opensaml 1.0.1 Xerces libraries
  • Date: Mon, 28 Feb 2005 07:09:24 -0500 (EST)

Hi!

I'm trying to use OpenSAML 1.0.1 in my webservice. The webservice runs under
Sun java system application server platform edition 8.0.0.1. The opensaml
read me-file says that the dom3-xercesImpl-2.5.0.jar and
dom3-xml-apis-2.5.0.jar should be placed in the /lib/endorsed folder of the
java home. The application servers endorsed folder already contains older
version of those jars but I placed the new versions there also. When I try to
run my web service, I get the following error message:

[#|2005-02-28T11:45:44.581+0200|WARNING|sun-appserver-pe8.0.0_01|javax.enterprise.system.stream.err|_ThreadID=11;|org.apache.xml.utils.WrongParserException:
OpenSAML requires an xml parser that supports DOM3 calls. Xerces 2.5.0
(built with DOM3 support) has been included with this release and is
recommended. If you are using Java 1.4, make sure that you have enabled the
Endorsed Standards Override Mechanism for this parser.
at org.opensaml.SAMLConfig.verifyUsableXmlParser(Unknown Source)
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.SAMLAssertion.<init>(Unknown Source)...

If I take away the older versions of the Xerces jars, the appserver won't
work. Is there any way to work around this problem?

Thanks in advance!
Rami



Archive powered by MHonArc 2.6.16.

Top of Page