Agent error in JBoss log file.

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

 JBoss is one of the most widely used application servers. Sometimes its installation can present challenges, as it will not complete successfully and shows some errors.

 

Question:

My Jboss log file shows these errors. What could be the problem?

 

  11:19:47,744 ERROR [STDERR] java.io.IOException: input stream null

  11:19:47,744 ERROR [STDERR] at

  com.wily.introscope.agent.util.ByteClassUtil.getBytesForClass(ByteClassUtil.java:51)

  11:19:47,745 ERROR [STDERR] at

  com.wily.introscope.probebuilder.intelligent.util.ClassUtil.filterInstrumentedMethods(ClassUtil.java:213)

  11:19:47,745 ERROR [STDERR] at

  com.wily.introscope.probebuilder.intelligent.analysis.AutoInstrumentationWorker.filterCalledClassMethods(AutoInstrumentationWorker.java:159)

  11:19:47,745 ERROR [STDERR] at

  com.wily.introscope.probebuilder.intelligent.analysis.AutoInstrumentationWorker.redefineClassWithMethodsMarkedAsFrontend(AutoInstrumentationWorker.java:305)

  11:19:47,745 ERROR [STDERR] at

  com.wily.introscope.probebuilder.intelligent.analysis.AutoInstrumentationWorker.run(AutoInstrumentationWorker.java:81)

  11:19:47,745 ERROR [STDERR] at

  java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)

  11:19:47,745 ERROR [STDERR] at

  java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)

  11:19:47,745 ERROR [STDERR] at

  java.util.concurrent.FutureTask.run(FutureTask.java:138)

  11:19:47,745 ERROR [STDERR] at

  java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)

  11:19:47,745 ERROR [STDERR] at

  java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)

  11:19:47,746 ERROR [STDERR] at

  java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)

  11:19:47,746 ERROR [STDERR] at

  java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)

  11:19:47,746 ERROR [STDERR] at java.lang.Thread.run(Thread.java:662) 

 

 

Environment:
CA-APM version 10.1 CA-APM Jboss Agent 10.1 for JbossApplication Server Jboss 5.1 EAP
Answer:

 To diagnose this issue, change these parameters in the IntroscopeAgent.profile file:

 

  Set the autoprobe on the top line of the agent profile to false,

  introscope.autoprobe.enable=false

 

  and change these as well:

  introscope.agent.remoteagentdynamicinstrumentation.enabled=true

  introscope.autoprobe.deepinheritance.enabled=true

  introscope.autoprobe.dynamicinstrument.enabled=true

  introscope.agent.remoteagentdynamicinstrumentation.enabled=true

  introscope.autoprobe.deepinheritance.enabled=true

  introscope.autoprobe.dynamicinstrument.enabled=true

 

  All of those listed above should be set to false.

 

  This will disable the CA-APM instrumentation, helping to narrow down whether it is caused by APM or not.

 

  Once it is determined that APM is not the culprit, research further if the issue is caused by JBoss.

 

  Typically, this can be solved by installing the JBoss camel-velocity feature.

 

  Note: The APM instrumentation should be restored, by reverting the agent properties to what they were prior to the changes made above. 

 

 

Additional Information:

Which bundle is missing?