AnsweredAssumed Answered

Getting java.lang.ClassNotFoundException: com.wily.introscope.agent.probe.io.ManagedFileInputStream on Wildfly 8.2.0

Question asked by budit02 Employee on Jun 29, 2017
Latest reply on Jun 29, 2017 by Hiko_Davis

Hi

 

We are trying to configure an APM 10.5.2.15 agent on our Wildfly 8.2.0 running on CentOS 6.4 with JDK 1.8_71 and we are getting the following error:

 

Exception in thread "main" java.lang.NoClassDefFoundError: com/wily/introscope/agent/probe/io/ManagedFileInputStream
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
        at java.lang.Class.getConstructor0(Class.java:3075)
        at java.lang.Class.getConstructor(Class.java:1825)
        at __redirected.__TransformerFactory.changeDefaultFactory(__TransformerFactory.java:85)
        at __redirected.__JAXPRedirected.changeAll(__JAXPRedirected.java:45)
        at org.jboss.modules.Main.main(Main.java:380)
Caused by: java.lang.ClassNotFoundException: com.wily.introscope.agent.probe.io.ManagedFileInputStream from [Module "org.apache.xalan:main" from local module loader @73393584 (finder: local module finder @31500940 (roots: /opt/CA/wildfly-idm/modules,/opt/CA/wildfly-idm/modules/system/layers/base))]
        at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
        at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
        at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
        ... 7 more

 

We tried to use the following JVM argument:

 

-javaagent:/opt/CA/VirtualAppliance/custom/wilyagent/wily/Agent.jar -DagentProfile=/opt/CA/VirtualAppliance/custom/wilyagent/wily/core/config/IntroscopeAgent.profile -Djboss.modules.system.pkgs=org.jboss.byteman,org.jboss.logmanager,com.wily,com.wily.* 

 

but it doesn't work

 

please help

 

thanks in advance

 

Itamar

Outcomes