Public bug reported:
I ran updates this morning and my JDBC driver running in under 32 bit
Java can no longer resolve addresses. If I configure my app with an IP
address it works. So it seems to be a DNS issue. 64 bit Java seems to
work fine.
Here's the stack trace.
Exception in thread "main" java.sql.SQLException: Io exception: The Network
Adapter could not establish the connection
at
oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
at
oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
at
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:494)
at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411)
at
oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:490)
at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:202)
at
oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:465)
at java.sql.DriverManager.getConnection(DriverManager.java:525)
at java.sql.DriverManager.getConnection(DriverManager.java:171)
Again - if I specifiy an IP address instead of the hostname then it works fine.
Also - 64 bit seems to work fine also.
I'm using the Oracle 11g JDBC driver.
** Affects: ubuntu
Importance: Undecided
Status: New
--
DNS broken in 32 bit java under 64 bit Heron
https://bugs.launchpad.net/bugs/220314
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs