Skip to Content.
Sympa Menu

mace-opensaml-users - Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap"

Subject: OpenSAML user discussion

List archive

Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap"


Chronological Thread 
  • From:
  • To:
  • Subject: Facing issues with the method "org.opensaml.DefaultBootstrap.bootstrap"
  • Date: Wed, 1 Jul 2009 09:47:13 -0400 (EDT)

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



Archive powered by MHonArc 2.6.16.

Top of Page