Fail to get datasource

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.
 

阅读更多
个人分类: Q&A
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

Fail to get datasource

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭