mace-opensaml-users - Re: [OpenSAML] Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap"
Subject: OpenSAML user discussion
List archive
Re: [OpenSAML] Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap"
Chronological Thread
- From: Chad La Joie <>
- To:
- Subject: Re: [OpenSAML] Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap"
- Date: Wed, 01 Jul 2009 16:18:46 +0200
- Organization: SWITCH
I can't tell without more information, but I strongly suspect it's an endorsement issue. Xerces 2.something and above (basically any xerces release from the last 5-7 years) supports that method. Looking on the classpath does not tell you whether something is endorsed. Endorsed libraries do NOT show up there. Now you may endorse a library AND put them on your classpath but those are two different things with two different outcomes.
Was there more to that stack trace?
wrote:
hi all,
I am trying to develop the SAML2 support in Apache Rampart. While trying to
build an assertion, the following exception is thrown when trying to invoke
DefaultBootstrap.bootstrap() method.
---------------------------------
ava.lang.UnsupportedOperationException: This parser does not support specification
"null" version "null"
[java] at
javax.xml.parsers.DocumentBuilderFactory.setXIncludeAware(Unknown Source)
[java] at
org.opensaml.xml.parse.BasicParserPool.initializePool(BasicParserPool.java:496)
[java] at
org.opensaml.xml.parse.BasicParserPool.<init>(BasicParserPool.java:138)
[java] at
org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:87)
[java] at
org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:73)
[java] at
org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:139)
[java] at
org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:83)
[java] -------------------------------------
I have already endorsed Xerces and Xalan. I am using JDK 1.5 and Xerces
2.9.1. One interesting point is that I have a simple program that creates a
assertion using the hard coded parameters, and that works fine. Once I added
this to my main program, I started to hit this error.
I saw this error has been reported sometime back to this list[1], then the
solution provided there is to endorse the JAXP implementation. But I have
already done that and it works fine for me in one scenario. I checked the
classpath while the erroneous program and it seems that the endorsed jars
have been picked up.
It would be really appreciated if someone can guide me to the solution.
Thanks in advance.
best regards,
thilina
[1] - https://mail.internet2.edu/wws/arc/mace-opensaml-users/2007-10/msg00051.html
--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch
- Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap", thilinamb, 07/01/2009
- Re: [OpenSAML] Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap", Chad La Joie, 07/01/2009
- Re: [OpenSAML] Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap", Thilina Mahesh Buddhika, 07/01/2009
- Re: [OpenSAML] Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap", Chad La Joie, 07/01/2009
- Re: [OpenSAML] Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap", Thilina Mahesh Buddhika, 07/01/2009
- Re: [OpenSAML] Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap", Chad La Joie, 07/01/2009
Archive powered by MHonArc 2.6.16.