DX Application Performance Management

 View Only
  • 1.  I got GUID zero in transaction trace when I deployed struts2 field pack

    Posted Dec 08, 2015 11:30 PM

    Hi,

     

    I download the struts2 field pack from community and deployed it into Agent r9.7.1.0.

    Then I found so many transaction trace that showing abnormal in trace view.

     

    TT_GUID_0.png

     

    There are my step for deploy struts2 field pack.

     

    1. copy struts2.pbd and biz-trx-struts2.pbd into <Agent_HOME>/core/config

    2. copy struts2Monitoring.jar into <Agent_HOME>/core/ext

    3. setup the setting in IntroscopeAgent.profile as below

    introscope.autoprobe.directivesFile=webligic-typical.pbl,struts2.pbd,biz-trx-struts2.pbd

    introscope.agent.decorator.enabled=true

    4. enable the setting in biz-trx-http.pbd as below

    SetTracerClassMapping: BizTrxHttpTracer com.wily.introscope.agent.biztrxhttp.trace.BizTrxHttpTracer com.wily.introscope.probebuilder.validate.ResourceNameValidator

    SetTracerOrdering: BizTrxHttpTracer -2005

    SetTracerParameter: BizTrxHttpTracer nameformatter com.wily.introscope.agent.trace.biz.trx.BizTrxNameFormatter

    SetTracerParameter: BizTrxHttpTracer errorTracing true

     

    Then Struts can working normally but only GUID's value is zero

     

    So, any ideal about this?

     

    Thanks,

    Sam



  • 2.  Re: I got GUID zero in transaction trace when I deployed struts2 field pack

    Broadcom Employee
    Posted Dec 09, 2015 07:05 PM

    Hi Sam,

    I found a similar symptom struts2/GUID=0 internal reference where the ServletHeaderDecorator code was not trapping 0 values for the GUID. Andreas reian06  worked on it but he is out until Dec 21, but Guenter Guenter_Grossberger or Hiko Hiko_Davis may be able to help.

    Regards,

    Lynn



  • 3.  Re: I got GUID zero in transaction trace when I deployed struts2 field pack

    Broadcom Employee
    Posted Dec 10, 2015 02:41 AM

    I do know there were updates done by myself to the Communications Tracer specifically for Struts2 and those changes were rolled into APM 10.1 (or 10.2; I will need to recheck my notes).



  • 4.  Re: I got GUID zero in transaction trace when I deployed struts2 field pack

    Broadcom Employee
    Posted Dec 14, 2015 12:41 AM
      |   view attached

    Hi Sam,

    I spoke with Guenter and I am attaching a desktop fix version of 9.7.1 ServletHeaderDecorator.jar which contains modified version of this class:

    com.wily.introscope.agent.servletheaderdecorator.common.GUIDUtilsReflected

    Please:

    • stop the agent
    • backup your existing version of AGENT_HOME\wily\core\ext\ServletHeaderDecorator.jar & replace with the new version from the zip file
    • restart the agent.

    Please let us know how you go.

     

    Thanks

     

    Lynn

    Attachment(s)



  • 5.  Re: I got GUID zero in transaction trace when I deployed struts2 field pack

    Posted Dec 14, 2015 05:20 AM

    Hi Lynn,

     

    Thank you very much.

    I'll let you know if there are any problems.

     

    Sam



  • 6.  Re: I got GUID zero in transaction trace when I deployed struts2 field pack

    Broadcom Employee
    Posted Dec 17, 2015 04:19 PM

    Hi Sam,

    Just checking if you have managed to retest with the new jar file and if you are now seeing non-zero GUID values?

     

    Thanks

     

    Lynn