DX Application Performance Management

Expand all | Collapse all

java.lang.ClassNotFoundException: com.wily.introscope.agent.webappsupport.tomcat.trace.TomcatThreadPoolTracer

Jump to Best Answer
  • 1.  java.lang.ClassNotFoundException: com.wily.introscope.agent.webappsupport.tomcat.trace.TomcatThreadPoolTracer

    Posted 02-23-2016 01:22 PM

    I'm upgrading from 9.5.5. to 9.7.0.1 on a SUSE 11 server running Tomcat 7 and The Introscope agent isn't sending any metrics to the Collectors. I'm seeing this error in the catalina.out logs

    java.lang.ClassNotFoundException: com.wily.introscope.agent.webappsupport.tomcat.trace.TomcatThreadPoolTracer

            at java.lang.Class.forNameImpl(Native Method)

            at java.lang.Class.forName(Class.java:186)

            at com.wily.introscope.agent.extension.DynamicClassLookup.loadDynamicClassEntry(DynamicClassLookup.java:183)

            at com.wily.introscope.agent.trace.TracerFactoryLoader.createTracerFactory(TracerFactoryLoader.java:64)

            at com.wily.introscope.agent.trace.TracerAdministrator.createTracerFactories(TracerAdministrator.java:613)

            at com.wily.introscope.agent.trace.TracerAdministrator.createProbeInformation(TracerAdministrator.java:576)

            at com.wily.introscope.agent.trace.TracerAdministrator.access$0(TracerAdministrator.java:563)

            at com.wily.introscope.agent.trace.TracerAdministrator$ProbeInformationCreator.IProbeInformationCreator_createProbeInformation(TracerAdministrator.java:722)

            at com.wily.introscope.agent.trace.ProbeLookup.getProbeInformation(ProbeLookup.java:70)

            at com.wily.introscope.agent.trace.TracerAdministrator.getProbeInformation(TracerAdministrator.java:553)

            at com.wily.introscope.agent.trace.TracerAdministrator.loadTracer(TracerAdministrator.java:239)

            at com.wily.introscope.agent.enterprise.EnterpriseAgent.IAgent_loadTracer(EnterpriseAgent.java:956)

            at com.wily.introscope.agent.AgentShim.ProbeBuilderEntryPoint_loadTracer(AgentShim.java:1144)

            at org.apache.tomcat.util.net.AbstractEndpoint.isPaused(AbstractEndpoint.java)

            at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:978)

            at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)

            at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)

            at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)

            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)

            at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

            at java.lang.Thread.run(Thread.java:795)

     

    I have not enable JMX and tried copy the WebAppSupport.jar to ./core/ext and still having the issue.

     

    Thanks for any help,

     

    Robert



  • 2.  Re: java.lang.ClassNotFoundException: com.wily.introscope.agent.webappsupport.tomcat.trace.TomcatThreadPoolTracer
    Best Answer

    Posted 02-23-2016 01:30 PM

    Hi Robert,

    The class missing should be in TomcatMonitoring.jar which is normally in an agent package designed for Tomcat in the /core/ext folder.

    Which agent package have you used for Tomcat, as long as you choose a Tomcat-specific package or the all app servers package, you should get the file there.

    If you can find that file in another agent of the same release, you can just drop it in.

    It's probably causing an AutoProbe failure because of that.

     

    Many thanks,

    David Lewis



  • 3.  Re: java.lang.ClassNotFoundException: com.wily.introscope.agent.webappsupport.tomcat.trace.TomcatThreadPoolTracer

    Posted 02-23-2016 01:44 PM

    Hi Robert:

    Please let us know if the answer provided is helpful or further assistance is needed

    Thanks

    Hal German