[ERROR] [IntroscopeAgent.Agent] java.lang.NoSuchMethodException: com.sun.xml.ws.client.RequestContext.getMapView()

Document ID : KB000028716
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

When instrumenting a 9.5.5 Java agent to monitor web services on Weblogic 12c while using Weblogic native web services, the following error occurs:

 

[ERROR] [IntroscopeAgent.Agent]

java.lang.NoSuchMethodException: com.sun.xml.ws.client.RequestContext.getMapView()

 at java.lang.Class.getMethod(Class.java:1624)

 at com.wily.powerpack.webservices.WSMUtils.getMethod(WSMUtils.java:2386)

 at com.wily.powerpack.webservices.WSMUtils.invokeMethodOnObject(WSMUtils.java:355)

 at com.wily.powerpack.webservices.WSMUtils.invokeMethodOnObject(WSMUtils.java:403)

 at com.wily.powerpack.webservices.extension.agent.trace.nameformatter.weblogic.SyncHandlerNameFormatter.INameFormatter_format(SyncHandlerNameFormatter.java:56)

 at com.wily.introscope.agent.trace.ATracerFactory.customFormat(ATracerFactory.java:287)

 

Solution:

When monitoring web services the getMapView() method is used.  However, it was removed in Weblogic 12c, hence the issue.  This is related to compatibility with newer versions of JAX-WS implementation.

The issue has been fixed on 9.6.1. (verified with Engineering)