DX Application Performance Management

  • 1.  WebSphere Agent 9.6 - Intelligent Instrumentation not working

    Posted Oct 02, 2014 02:50 PM

    We just upgraded our WebSphere Agent to 9.6 and with Intelligent Instrumentation enabled. We get the following error below, when the agent comes up:

     

    10/02/14 07:42:09 AM EDT [INFO] [IntroscopeAgent.IntelligentInstrumentationService] Intelligent Instrumentation Service activated

    10/02/14 07:42:24 AM EDT [ERROR] [IntroscopeAgent.Agent] IntervalHeartbeat.execute threw executing: IntelligentInstrumentationSustainabilityService

    java.lang.NullPointerException

            at com.wily.introscope.probebuilder.intelligent.instrumentation.IntelligentInstrumentationConfig.isDeepTraceSustainabilityMetricsEnabled(IntelligentInstrumentationConfig.java:319)

            at com.wily.introscope.probebuilder.extension.instrument.intelligent.IntelligentInstrumentationService$EnableIntelligentInstrumentation$1.ITimestampedRunnable_execute(IntelligentIns

    trumentationService.java:259)

            at com.wily.util.heartbeat.IntervalHeartbeat$BehaviorNode.execute(IntervalHeartbeat.java:972)

            at com.wily.util.heartbeat.IntervalHeartbeat.executeNextBehaviorAndCalculateSleepTime(IntervalHeartbeat.java:491)

            at com.wily.util.heartbeat.IntervalHeartbeat.access$2(IntervalHeartbeat.java:445)

            at com.wily.util.heartbeat.IntervalHeartbeat$HeartbeatRunnable.run(IntervalHeartbeat.java:668)

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

     

    I disabled intelligent instrumentation and the agent comes up fine. Anyone else having problems?  I did enable intelligent instrumentation on some JBoss and Tomcat agents, and I'm not getting the errors.

     

    JKW



  • 2.  Re: WebSphere Agent 9.6 - Intelligent Instrumentation not working

    Posted Oct 02, 2014 03:12 PM

    Hi JKW,

    Thanks for creating separate thread.

    As requested earlier please attach agent + autoprobe logs so we can determine what's causing the issue.

     

    Regards,

    Kulbir

    CA Support.



  • 3.  Re: WebSphere Agent 9.6 - Intelligent Instrumentation not working

    Posted Oct 02, 2014 03:29 PM

    Kulbir,

     

    I can't attach agent & autoprobe logs to a public forum. I have opened a case with CA.  I posted this on the forum to see if anyone else has had similiar problems and maybe resolved the issue.

     

    Thanks, James



  • 4.  Re: WebSphere Agent 9.6 - Intelligent Instrumentation not working

    Posted Oct 02, 2014 03:38 PM

    Understood James.

    Can you provide me issue# so I can take a look ?

     

    Regards,

    Kulbir.



  • 5.  Re: WebSphere Agent 9.6 - Intelligent Instrumentation not working

    Posted Oct 02, 2014 03:41 PM

    Ignore my last update was able to locate issue #, will take a look once logs are uploaded to the support issue and update this thread on possible root cause.


    Regards,

    Kulbir.



  • 6.  Re: WebSphere Agent 9.6 - Intelligent Instrumentation not working
    Best Answer

    Posted Oct 03, 2014 01:27 AM

    Hi James,

    I reviewed information provided on support issue and root cause is below error shown in Agent logs as well as Autoprobe log

    10/02/14 07:41:28 AM EDT [ERROR] [IntroscopeAgent.Agent] Introscope AutoProbe will not run because the provided directives files are not valid: Invalid directives entry <xxxx>.pbd found in directives list file <Agent_Home>wily/core/config/<xxxx>.pbl Please restart with valid directives.

    As a result autoprobe shuts off and subsequently Deep Tracing feature is not properly initialized causing Null Pointer Exception.

    This also explains why you were not seeing any frontend,backend metrics for the application.

     

    Please address the invalid pbd referred in pbl and it will address the error in question.

     

    Regards,

    Kulbir

    CA Support.



  • 7.  Re: WebSphere Agent 9.6 - Intelligent Instrumentation not working

    Posted Oct 03, 2014 09:59 AM

    Thanks, that was it, but I did find something interesting.  The pbd that was missing was the Siteminder pbd's.

     

    What's interesting is that if you use the NoInstaller Websphere agent, Siteminder pbd's are not included; however, if you run the Agent Installer for WebSphere, the Siteminder pbd's get included.  Seems like these files were left out of the NoInstaller WebSphere agent. Maybe this should be repackaged.

     

    JKW



  • 8.  Re: WebSphere Agent 9.6 - Intelligent Instrumentation not working

    Posted Oct 03, 2014 12:51 PM

    Glad that the issue is resolved.

    Regarding missing binaries please open a support issue so it can be further investigated and addressed on our end.

     

    Regards,

    Kulbir