AnsweredAssumed Answered

Custom PBD Help -2

Question asked by Vaibhav Vir Singh on May 2, 2013
Latest reply on May 8, 2013 by Vaibhav Vir Singh
Hi All,

I have been trying to make a custom Pbd with given documents in CA Community - Wiki and other
Threads.

I have also developed one othe Pbd, but m facing a weird situation. The scenario is -
1) I am monitoring an application consisting of - a App Server, a Webservice node and a Database ( all on different systems) [ Generating Load via JMeter ]
2) Hav installed Wily Agents on App server and Webservce and m able to monitor successfully.
3 ) But when i instrument classes in Servlet via custom Pbd, my application goes down i.e. error webpage appears saying - "HTTP Status 500 - Error instantiating servlet class com.Servlet.$$%%%.............."
When I remove the custom Pbd from "hotdeploy" folder of agent, application works fine.

I have checked my custom Pbd with PbdChecker and it compiled successfully. The Pbd code is as follows -
#######################
# CUSTOM PBD for OFRS APPLICATION
# ====================
#

SetFlag: Custom
identifyClassAs: com.wipro.servlet.Login Custom
TraceOneMethodOfClass: com.wipro.servlet.Login doGet BlamePointTracer "Frontends|Apps|FS|Custom"
TurnOn: Custom

-----------------------------------------------------------------------------------


I have made this Pbd very generic for testing purose only.
So please help !!!

Outcomes