I download the struts2 field pack from community and deployed it into Agent r18.104.22.168.
Then I found so many transaction trace that showing abnormal in trace view.
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
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?
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.
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).
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:
Please let us know how you go.
Thank you very much.
I'll let you know if there are any problems.
Just checking if you have managed to retest with the new jar file and if you are now seeing non-zero GUID values?