简体   繁体   中英

Pinging JDBC Connection Pool in Glassfish Hangs Indefinitely

I am really stuck with why my GlassFish connection pool does not ping successfully. When I try a long-running process alert comes up which I have to remove in order to access options again in the admin console.

Things to note:

  • I can ping the connection with the same settings locally using the same driver (I am trying to connect on a Dev machine).
  • I have another SQL Server database which is pingable from the development Glassfish installation I am trying to create the new connection on (the database is a SQL Server database).
  • I cannot see any log output of any worth, the only thing it seems to print out is "Interrupting idle Thread" messages.

Any suggestions on what to try next? Does anyone know if I could increase the logging detail would this likely give me more information?

Thanks, Matt.

Copy connection jar files to 'domains\\domain1\\lib\\ext' folder. Then restart your glassfish.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM