wrschneider
wrschneider

Reputation: 18770

Glassfish - debug JDBC connection pool behavior

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

Answers (1)

MaVRoSCy
MaVRoSCy

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:

enter image description here

Upvotes: 5

Related Questions