java.lang.ClassCastException with JAXWS version 2.2.11.

Document ID : KB000127036
Last Modified Date : 13/02/2019
Show Technical Document Details
WILY Agent in tomcat applications giving below exceptions. These issues are seen for the apps which are using JAXWS version 2.2.11.
Once the WILY Agent is disabled on the Tomcat Servers, we are not seeing this issue and the apps are working fine.

Stacktrace:] with root cause java.lang.ClassCastException: cannot be cast to at at at at at at at at
CA APM 10.3 - All agents, Collectors and MOMĀ 
Newer versions of JAX-WS (2.2.6 or higher) expect usage of instead of java.util.HashMap

Configure SPM Compatibility With JAX-WS 2.2.6 or Higher

Newer versions of JAX-WS (2.2.6 or higher) expect usage of instead of java.util.HashMap. To avoid a ClassCastException when your application makes a webservice call, uncomment the following configuration property in the IntroscopeAgent.profile file:

This change does not have any impact on cross-process or cross-JVM transaction tracing. It will also not break the old functionality. If the application has two JAX-WS implementations for different features of the application, both will work when this property is enabled.

Additional Information: