Reputation: 18770
If I have a JDBC connection pool (datasource) in Glassfish, is there a way I can log debugging info like when it creates a new connection vs. using a pooled one?
In particular I'm trying to troubleshoot the connection validation process, and not sure if that's causing new physical connections to be created.
Thanks!
Upvotes: 4
Views: 2217
Reputation: 17839
You can monitor your application resources through the server console.
Go to server > Monitor > Resources
and see the stats of your application
Example below:
Upvotes: 5