mace-opensaml-users - [opensaml2] InvocationTargetException on init
Subject: OpenSAML user discussion
List archive
- From: "Manuel Ernstberger" <>
- To:
- Subject: [opensaml2] InvocationTargetException on init
- Date: Tue, 05 Dec 2006 10:49:12 +0100
Hello,
when I call the method Configuration.init(); from a class running on a Tomcat
application server I get an InvocationTargetException:
java.lang.reflect.InvocationTargetException
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.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
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
com.tsystems.epdm.samlauthority.webService.samlauthority.SAMLAuthority_ServiceSoapBindingStub.getAssertion(SAMLAuthority_ServiceSoapBindingStub.java:153)
at
com.tsystems.epdm.samlauthority.webService.samlauthority.TestClient.main(TestClient.java:26)
But when I call the init method from a class running locally (not on a
server) there is no exception.
After debugging I have found out that the exception is thrown while
validating the xml schema.
I have copied the latest xercesImpl.jar and xalan.jar in the common\endorsed
folder, but that didn't help.
Does anybody know why this exception is thrown?
Thanks in advance for your help.
Regard,
Manuel
--
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
- [opensaml2] InvocationTargetException on init, Manuel Ernstberger, 12/05/2006
Archive powered by MHonArc 2.6.16.