Skip to Content.
Sympa Menu

mace-opensaml-users - javax.xml.parsers.FactoryConfigurationError

Subject: OpenSAML user discussion

List archive

javax.xml.parsers.FactoryConfigurationError


Chronological Thread 
  • From: "zhou ying" <>
  • To:
  • Subject: javax.xml.parsers.FactoryConfigurationError
  • Date: Fri, 21 Apr 2006 10:36:53 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=al3va0Tvf2oQcE9V5qb+pbHT8i11TUZWqc+n6gEXPc3TXc3sV+GiYeXkJ2ivuqwCTglWvGVR3ZPCKAPXMccbuh3nlbdiVa14ja47c3KPL6XDZUvxocRTcnc0UvDCgJwh3TDzaN/SkfGfVP1uur064MZRSeWtat3MvYLAkfjC7R4=

hi
i have a problem with opensaml i think
i want to use wss4j for saml. and i use opensaml1.0.1.jar.
but when i excute my code
there is some error for me
Exception in thread "main" AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
 faultSubcode:
 faultString: javax.xml.parsers.FactoryConfigurationError: OpenSAML
requires an xml parser that supports DOM3 calls. Sun JAXP 1.3 has been
included with this release and is strongly recommended. If you are using
Java 1.4, make sure that you have enabled the Endorsed Standards Override
Mechanism for this parser (see
http://java.sun.com/j2se/1.4.2/docs/guide/standards/ for details).; nested
exception is:
        javax.xml.parsers.FactoryConfigurationError: OpenSAML requires an
xml parser that supports DOM3 calls. Sun JAXP 1.3 has been included with
this release and is strongly recommended. If you are using Java 1.4, make
sure that you have enabled the Endorsed Standards Override Mechanism for
this parser (see http://java.sun.com/j2se/1.4.2/docs/guide/standards/ for
details).
 faultActor:
 faultNode:
 faultDetail:
        {http://xml.apache.org/axis/}hostname:java.frcl.bull.fr

javax.xml.parsers.FactoryConfigurationError: OpenSAML requires an xml
parser that supports DOM3 calls. Sun JAXP 1.3 has been included with this
release and is strongly recommended. If you are using Java 1.4, make sure
that you have enabled the Endorsed Standards Override Mechanism for this
parser (see http://java.sun.com/j2se/1.4.2/docs/guide/standards/ for
details).; nested exception is:
        javax.xml.parsers.FactoryConfigurationError: OpenSAML requires an
xml parser that supports DOM3 calls. Sun JAXP 1.3 has been included with
this release and is strongly recommended. If you are using Java 1.4, make
sure that you have enabled the Endorsed Standards Override Mechanism for
this parser (see http://java.sun.com/j2se/1.4.2/docs/guide/standards/ for
details).
        at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:221)
        at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:128)
        at
org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
        at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
        at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
        at
org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
        at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
        at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
        at
org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
        at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
        at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
        at org.apache.axis.client.Call.invoke(Call.java:2748)
        at org.apache.axis.client.Call.invoke(Call.java:2424)
        at org.apache.axis.client.Call.invoke(Call.java:2347)
        at org.apache.axis.client.Call.invoke(Call.java:1804)
        at
client.CarreServiceSoapBindingStub.calcul(CarreServiceSoapBindingStub.java:103)
        at client.Client.main(Client.java:19)

i have tried to put xercersImpl.jar and xml-apis.jar in the endorsed of java and tomcat.
but it doesn't change
can someone help me???
thank you very much

ying



Archive powered by MHonArc 2.6.16.

Top of Page