DX Application Performance Management

 View Only

Struts2 field pack 

Dec 04, 2014 06:27 PM

Attached are all the components that I could find for Struts2 monitoring.

 

Here is how Chris_Kline reported that Dave Mahoney got it to work.

 

FYI for posterity. Customer had issues getting this to work, and did some tweaks. They were successful, so here's their steps, in case anyone else needs to try:

 

Configuring Wily agent to work with struts2 (sort of):

  1. Reference zip file, Struts2.zip
  2. Add struts2.pbd, biz-trx-struts2.pbd from zip file to wily agent directory.
  3. Normalized pbds to have correct unix eof and returns.
  4. Add struts2.pbd, biz-trx-struts2.pbd to directives in .profile file
  5. Set introscope.agent.decorator.enabled=true in .profile file
  6. Ensure weblogic-full.pbl is listed, ensure weblogic-full.pbl contains struts.pbd
  7. Rename struts2monitoring.zip to Struts2Monitor.jar and copy Struts2Monitoring.jar into wily/ext/ directory on agent.
  8. Rename com.wily.introscope.ddtv.em.struts2_9.0.0.zip to com.wily.introscope.ddtv.em.struts2_9.0.0.jar and copy into /product/enterprisemanager/plugins/ on MOM.
  9. Make sure permissions are correct on everything
  10. Do not touch or add ServletHeaderDecorator.jar or Struts2HeaderDecorator.pbd or any previous struts stuff that was sent to us.
  11. Restart application.
  12. Do a happy dance.

Thanks to Chris_Kline, Stefan Thieme, Stefano Mazzone, Dave Mahoney and all who contributed.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

Apr 02, 2015 02:40 PM

Hi,

 

If you change the following line in struts2.pbd from

SetTracerClassMapping: Struts2Tracer2 com.wily.introscope.agent.trace.BlamePointTracer com.wily.introscope.probebuilder.validate.ResourceNameValidator

to

SetTracerClassMapping: Struts2Tracer2 com.wily.introscope.agent.trace.hc2.BlamePointTracer com.wily.introscope.probebuilder.validate.ResourceNameValidator

it should work if you only use struts2.pbd and biz-trx-struts2.pbd.

 

Test in a test environment first and watch for warnings and errors in the agent log!

 

Ciao,

Guenter

Apr 02, 2015 02:11 PM

Is the fieldpack compatible with the 9.7 Java Agent in new mode?

Mar 09, 2015 03:56 PM

Sorry, Adam.

 

Uploaded the field pack and added a link above.

 

Ciao,

Guenter

Mar 07, 2015 09:29 PM

There is no download link for the Struts2.zip file?

Related Entries and Links

No Related Resource entered.