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.