Skip to Content.
Sympa Menu

mace-opensaml-users - xalan jar error

Subject: OpenSAML user discussion

List archive

xalan jar error


Chronological Thread 
  • From: "Barun Kumar Yadav" <>
  • To: <>
  • Subject: xalan jar error
  • Date: Wed, 3 Oct 2007 21:49:56 +0530

 

The same code runs fine when I run it on Weblogic 9.2

 

But when I run it on Websphere 6.1, it gives the following error

 

 

This is the code where this error occurs

 

Document doc = XML.parserPool.parse(

                                                            new ByteArrayInputStream(Base64.decode(samlResponse)));

 

 

I have attached the two classes after extracting it from the JAR and decompiling. In case anybody can give direction that would be of great help.

 

 

 

at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)

     at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)

     at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)

     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)

     at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)

     at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:613)

     at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.invokeFilters(DefaultExtensionProcessor.java:145)

     at com.ibm.ws.webcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:580)

     at com.ibm.ws.wswebcontainer.extension.DefaultExtensionProcessor.handleRequest(DefaultExtensionProcessor.java:111)

     at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3107)

     at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:238)

     at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)

     at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)

     at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)

     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)

     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)

     at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)

     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214)

     at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113)

     at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)

     at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)

     at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)

     at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)

     at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)

     at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)

     at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)

     at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)

 

Caused by: java.lang.NoClassDefFoundError: org.opensaml.XML (initialization failure)

     at java.lang.J9VMInternals.initialize(J9VMInternals.java:123)

     at com.XXXX.sso.handler.SAMLResponseHandler.decodeSAMLResponse(SAMLResponseHandler.java:137)

     at

com.XXXX.pcr.sso.handler.SAMLResponseHandler.processSAMLResponse(SAMLResponseHandler.java:92)

     at com. XXXX.pcr.sso.handler.SSOLoginDelegate.processSAMLResponse(SSOLoginDelegate.java:48)

     at com.XXXX.pcr.web.action.SingleSignOn.execute(SingleSignOn.java:60)

Caused by: java.lang.Throwable: java.lang.NoSuchMethodError: org/apache/xpath/compiler/FunctionTable.installFunction(Ljava/lang/String;Lorg/apache/xpath/_expression_;)I

     at org.apache.xml.security.Init.init(Unknown Source)

     at org.opensaml.SAMLConfig.<init>(Unknown Source)

     at org.opensaml.SAMLConfig.instance(Unknown Source)

     at org.opensaml.XML$ParserPool.<init>(Unknown Source)

     at org.opensaml.XML.<clinit>(Unknown Source)

     at java.lang.J9VMInternals.initializeImpl(Native Method)

     at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)

     ... 131 more

 

 

 

 

 

Attachment: FunctionTable.jad
Description: FunctionTable.jad

Attachment: XML.jad
Description: XML.jad




Archive powered by MHonArc 2.6.16.

Top of Page