DX Application Performance Management

Expand all | Collapse all

Frontend Application

Jump to Best Answer
  • 1.  Frontend Application

    Posted 06-21-2016 05:44 AM

    Hello team

    I have java agent 9.5.5 installed on AIX 7.1 with WAS 8.5.5.0. and Java VM version "IBM J9 VM 1.6.0".

    Java Agent is discovering customer application in the frontend but not the related servlet. Looking at autoprobe log file, there are no errors but the servlet class is not instrumented (I found the app related servlet name in the web.xml file).

    So that the front-end is not measuring the response time during transactions, and appmap is not builded.

     

    Any suggestion?

     

    Thanks

    Antonello



  • 2.  Re: Frontend Application
    Best Answer

    Posted 06-21-2016 06:23 AM

    Add this line somewhere in your pbd files:

     

    IdentifyDeepInheritedAs: javax.servlet.http.HttpServlet HTTPServletTracing



  • 3.  Re: Frontend Application

    Posted 06-21-2016 10:51 AM

    Hello Florian,

     

    Your suggestion works, I done a new pbd with the line suggested and put it in the hotdeploy folder.

    I also restarted the app server.

     

    Thanks and Regards

    Antonello



  • 4.  Re: Frontend Application

    Posted 06-21-2016 02:13 PM


  • 5.  Re: Frontend Application

    Posted 06-21-2016 07:42 AM

    Hi Antonello:
    Was Florian's suggestion helpful? Are there any followup questions?

     

    Thanks

    Hal German



  • 6.  Re: Frontend Application

    Posted 06-21-2016 11:26 AM

    Hi Hal

     

    Yes, very helpful.

     

    One question is about current APM agent installation I have, currently I have these parameters in the app server startup:

     

    -javaagent:<Agent_Home>/AgentNoRedef.jar -Dcom.wily.introscope.agentProfile=<Agent_Home>/core/config/IntroscopeAgent.NoRedef.profile

     

    and the following directive files:

     

    introscope.autoprobe.directivesFile=websphere-typical-NoRedef.pbl,hotdeploy,spm.pbl

     

    If I use Agent.jar and IntroscopeAgent.profile do I need the same to add the suggested line?

    Consider that the agent is 9.5.5.

     

     

    Thanks

    Antonello



  • 7.  Re: Frontend Application

    Posted 06-21-2016 11:30 AM

    You should always use the AgentNoRedefNoRetrans and its profile in all instances of IBM J9 VM.



  • 8.  Re: Frontend Application

    Posted 06-22-2016 04:50 AM

    Hello Davis

     

    I checked the documentation and you are right, but the APM agents 9.5.5 are installed for some year in this way (AgentNoRedef.jar) so I can't change right now.

     

    The reason for which this problem has been discovered now is that customer is testing a new version of its application and for this he found the instrumentation problem that on the old version did not occur.

     

    Thanks

    Antonello



  • 9.  Re: Frontend Application

    Posted 06-21-2016 11:36 AM

    Hi Antonello,

     

     

    1)      You’re using an IBM JVM right? Which version?

     

    2)      If you’re using 1.7 or greater, you can use the standard Agent.jar, but you’ll need to add this line as well. We have incorporated this line in the default settings in 10.3.

     

    Regs,

     

    Florian.



  • 10.  Re: Frontend Application

    Posted 06-21-2016 05:24 PM

    Hi Florian,

    <curious>in your last comment (2) do you mean adding this line:

    IdentifyDeepInheritedAs: javax.servlet.http.HttpServlet HTTPServletTracing

    to all agents from v9.5.5 to v10.2 and all platforms in addition to:

    apm-common.pbd -> IdentifyDeepInheritedAs: javax.servlet.http.HttpServletRequest ServletRequestClass

    Thanks,

    Fred



  • 11.  Re: Frontend Application

    Posted 06-22-2016 04:08 AM

    Hi Fred,

     

    Yes, in addition, the ServletRequestClass is responsible for a different tracer injection.

     

    Florian.



  • 12.  Re: Frontend Application

    Posted 06-22-2016 04:34 AM

    Hi Florian

     

    I have IBM JVM version: "IBM J9 VM 1.6.0".

    Another question is about Deep Inheritance settings specified inside IntroscopeAgent.NoRedef.profile, currently I have

     

    introscope.autoprobe.deepinheritance.enabled=false

     

    Do you have information about the difference between this parameter and the line added ?

     

    Thanks

    Antonello



  • 13.  Re: Frontend Application

    Posted 06-22-2016 06:41 AM

    IBM JRE 1.6 => You should use the NoRedefNoRetrans version.

     

    This property introscope.autoprobe.deepinheritance.enabled

     

    Should be set to true, otherwise “IdentifyDeepInheritedAs” will work as “IdentifyInheritedAs”, you would lose the “Deep” characteristic.



  • 14.  Re: Frontend Application

    Posted 06-23-2016 07:00 AM

    Thanks for the info provided, instead enabling the deep instrumentation from the Agent profile I prefer the following setting that is more specific and solved the problem:

     

    IdentifyDeepInheritedAs: javax.servlet.http.HttpServlet HTTPServletTracing

     

    regards

    Antonello