简体   繁体   English

Glassfish中的ping JDBC连接池无限期挂起

[英]Pinging JDBC Connection Pool in Glassfish Hangs Indefinitely

I am really stuck with why my GlassFish connection pool does not ping successfully. 我真的对为什么我的GlassFish连接池无法ping通感到困惑。 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). 我可以使用相同的驱动程序在本地使用相同的设置ping通连接(我正在尝试在Dev机器上进行连接)。
  • 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). 我有另一个SQL Server数据库,该数据库可从开发Glassfish安装中ping通,我正在尝试在其上创建新连接(该数据库是SQL Server数据库)。
  • 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. 将连接jar文件复制到“ domains \\ domain1 \\ lib \\ ext”文件夹中。 Then restart your glassfish. 然后重新启动您的glassfish。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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