Skip to Content.
Sympa Menu

mace-opensaml-users - Re: [OpenSAML] Exception while parsing SAML token

Subject: OpenSAML user discussion

List archive

Re: [OpenSAML] Exception while parsing SAML token


Chronological Thread 
  • From: Håkon Sagehaug <>
  • To:
  • Subject: Re: [OpenSAML] Exception while parsing SAML token
  • Date: Tue, 27 Oct 2009 18:15:47 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=MMgAGmf7YGZ2Q3qrTL4X09Ikmc3MO61typn4L5jLLZfzxecQ6wU7Yxmq3pxbctxpS4 igtZH6pGruK5fgORUn4zcTK6OOo9/T+eX2DHcRXpKHj82YkBaGsKGJHmnpnL9dE9wrg7 fFS9x9uaQ8YejQiuU/Dt8qhr/ZbL+lcm8/GAI=

Hi

found this [1], that indicated that this is xalan-2.6.0 problem. I use xalan 2.7.0 and it works fine, could maybe try upgrading to 2.7.0. The openSAML pom also has a xalan 2.7.1 dependency, so this could be the issue

Håkon

[1] http://groups.google.com/group/openid4java/browse_thread/thread/5df708eb74999715
2009/10/27 <>
"removed all othe xalan versions from build path and kept only the xalan-2.6.0.jar"
 and now I am getting the below error
 =================================
 type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Exception in JSP: /service_provider.jsp:62

59:     Document inCommonMDDoc;
60:
61:     try{
62:     DefaultBootstrap.bootstrap();
63:
64:     // Decodage URL encoding with Base64
65:     SAMLResponseStr = Base64Coder.decodeString(SAMLResponseB64Str);


Stacktrace:
       org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:729)


root cause

javax.servlet.ServletException: org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Lorg/apache/xpath/_expression_;)I
       org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
       org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
       org.apache.jsp.service_005fprovider_jsp._jspService(service_005fprovider_jsp.java:178)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:729)


root cause

java.lang.NoSuchMethodError: org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Lorg/apache/xpath/_expression_;)I
       org.apache.xml.security.Init.init(Init.java:215)
       org.opensaml.DefaultBootstrap.initializeXMLSecurity(DefaultBootstrap.java:97)
       org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:71)
       org.apache.jsp.service_005fprovider_jsp._jspService(service_005fprovider_jsp.java:121)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
       org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:729)


note The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.



--
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)



Archive powered by MHonArc 2.6.16.

Top of Page