Hello,
are you using a Datasource, accessed via JNDI-Lookup?
Is the task to measure the call DataSource.getConnection()?
Or do you want to measure some calls within "getConnection"?
Maybe a Java agent can be useful to measure method calls.
Usually the borrowing process itself is not a time consum
Hi John,
Thanks for your suggestion on the JMX approach. But as per my requirement,
using JMX to get the connection time will not be a viable solution.
My exact requirement is to log down individual connection establishment
time for each JDBC connection which is related to specific message flow.
I just installed tomcat 9.0.52 on my linux ubuntu 20.04 LTS system.
I was successfully able to run the manager app as a test.
Now I am trying to build an application that I had worked on quite a while
ago in an older version of tomcat.
I have a script which runs a series of ANT commands to build