I'm trying to instrument my app to monitor a connection pool. We use apache commons pool 1.6 for connection pooling, with all the applications deployed on the same AS (we use Jboss EAP 6). Trace script works, but it triggers when pool methods are called in ALL applications on the same AS.
There's a method to make my script hooks pool methods call ONLY in a selected application?