Oracle JDBC DriverManager.getConnection() hangs

后端 未结 3 1497
误落风尘
误落风尘 2021-01-23 14:39

We have several servers that each run an Oracle database 11g Release 11.2.0.1.0 - 64bit. We are connecting via JDBC like this:

public Connection createConnection         


        
3条回答
  •  执笔经年
    2021-01-23 15:35

    The server was misconfigured. For some reason it had a virtual adapter configured which returned an ip to which nothing could connect. From outside the resolving worked correctly. Don't know why it never timed out with the wrong IP though.

提交回复
热议问题