first of all, sorry for the bad english
I'm trying to reproduce this solution on this post:
for a problem we are facing here with the application not closing all the opened connections causing the pool being filled and finally the application getting stucked.
The problem is... I cant instrument the "connection aquisition" part on the Purepath tree making me unable to make a business transaction like the one in the post above...
app: jboss 4.3
Thanks in advance,
Why can't you instrument the connection acquisition part on the PurePath tree? Can you not find the methods, or did you create a sensor for the getConnection() and closeConnection() methods but they are not showing up?
sorry for the bad english...
Like you said, even after I "hot sensored" the agents after adding these methods you mentioned but they arent showing up.
I suspect the hot sensor placement isnt working, even when it shows that it worked just fine.
Hot sensor placement is for Oracle (Sun) JVM but not for IBM JVM, so in case of IBM you will have to restart the application.
Secondly make sure that after created the custom sensor as @Jake P. suggested, placed in the agent group and this should be before hot instrumentation or restarting the application.
Ok guys, thanks for your help, I found the methods...
but then when I create the business transactions with the number of invocations of the getconnection method and closeconnection with a URI filter, it is just counting 1 for these measures in business transaction... even if the connectivity methods are called more than 1 time in purepaths.
Have anything am I doing wrong? When I chart the measures alone it looks fine but when I apply the URI filter, it only counts 1...
any help 'll be appreciated
thanks in advance