Error: Could not initialize class com.netegrity.util.JAXBParsingUtil
search cancel

Error: Could not initialize class com.netegrity.util.JAXBParsingUtil

book

Article ID: 228910

calendar_today

Updated On: 06-26-2025

Products

SITEMINDER CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction


After upgrading the Symantec Siteminder  Access Gateway, the Federation Transactions are failing with the following errors:

[MM/DD/YYYY][hh:mm:ss][2685][140445043083008][][AssertionConsumer.java][doPost][Stack Trace: java.lang.LinkageError: You are trying to run JAXB 2.0 runtime (from jar:file:/<InstallDir>/secure-proxy/default/Tomcat/webapps/affwebservices/WEB-INF/lib/jaxb-runtime.jar!/com/sun/xml/bind/v2/model/impl/ModelBuilder.class) but you have old JAXB 1.0 runtime earlier in the classpath (at jar:file:/<InstallDir>/secure-proxy/default/Tomcat/webapps/affwebservices/WEB-INF/lib/jaxb-impl.jar!/com/sun/xml/bind/WhiteSpaceProcessor.class) Please remove the JAXB 1.0 runtime for 2.0 runtime to work correctly.

    at com.sun.xml.bind.v2.model.impl.ModelBuilder.<clinit>(ModelBuilder.java:170)
    at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:425)
    at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:273)
    at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:109)
    at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1126)
    at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:135)
    at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:259)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[MM/DD/YYYY][hh:mm:ss][2685][140445033608960][][AssertionConsumer.java][doPost][Stack Trace: java.lang.NoClassDefFoundError: Could not initialize class com.netegrity.util.JAXBParsingUtil

    at com.netegrity.affiliateminder.webservices.saml2.AssertionConsumer.a(fedfws_obfsc:1060)
    at com.netegrity.affiliateminder.webservices.saml2.AssertionConsumer.doPost(fedfws_obfsc:590)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:652)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166

 

Environment

PRODUCT: Symantec Siteminder

COMPONENT: Access Gateway

VERSION: r12.8.7 and later

OPERATING SYSTEM: Any

 

Cause


The jaxb-impl.jar has not been shipped with Tomcat for Symantec Access Gateway.  This started in r12.8.5

The upgrade of Access Gateway should handle the deletion of jaxb-impl.jar from previous versions if at all present.

This error will occur if 'jaxb-impl.jar' is still present following an upgrade.  

 

Resolution

To resolve this error:

1) Delete the following file:

/<InstallDir>/secure-proxy/default/Tomcat/webapps/affwebservices/WEB-INF/lib/jaxb-impl.jar

2) Restart the Access Gateway Server