I have created a JDBC Connection Pool and JDBC Data Source on WebLoigc. But encoutered "server.javax.naming.CommunicationException " when connecting the datasource.
7:21:44.572;ERROR;;DA;AppServConnectionPool.getConnection(): Fail to get datasource from application server.javax.naming.CommunicationException [Root exception is java.net.ConnectException: t3://127.0.0.1:5001: Destination unreachable; nested exception is:
java.io.IOException: Empty server reply; No available router to destination]
18/09/07 17:21:44.573;ERROR;;DA;AppServConnectionPool.getConnection(): end: No free connection
--------------------------------------------------------------------------
I changed the url "t3://127.0.0.1:5001" into "t3s://127.0.0.1:5001" and it works. The reason is, 5001 is a SSL port.
本文介绍了一个关于在WebLogic服务器上配置JDBC连接池时遇到的问题及解决方案。作者在创建JDBC连接池和数据源时遇到了server.javax.naming.CommunicationException错误。通过将连接URL从t3://127.0.0.1:5001更改为t3s://127.0.0.1:5001解决了该问题,因为5001端口为SSL端口。
1万+

被折叠的 条评论
为什么被折叠?



