After upgrading the CA Access Gateway (SPS) to 12.8 SP5 or newer
release, the Federation Transactions are failing with the following
errors:
[11/15/2021][16:38:12][2685][140445043083008][2a882436-fe77a4dd-bfffbc36-6e6f1283-5a0d24dc-85]
[AssertionConsumer.java][doPost][Stack Trace: java.lang.LinkageError:
You are trying to run JAXB 2.0 runtime
(from jar:file:/opt/CA/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:/opt/CA/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)
[11/15/2021][16:43:11][2685][140445033608960][a8e4be8a-046acfbe-3a7b8299-26de8d91-9321945b-5]
[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
CA Access Gateway (SPS) 12.8SP05 on Linux;
jaxb-impl.jar is no longer being shipped with CA Access Gateway (SPS)
12.8SP5. The upgrade action of 12.8SP5 also handles tae deletion of
jaxb-impl.jar from previous versions if at all present.
During installation, the installer may have an issue deleting the jar
file causing the error observed.
To fix the issue, go to
"/opt/CA/secure-proxy/default/Tomcat/webapps/affwebservices/WEB-INF/lib"
and make sure the jaxb-impl.jar is completely removed from this
location, restart the Access Gateway and issue should be resolved.