My Java application accesses an Oracle database via JDBC. The Connection is established by the getConnection() method of a OracleDataSource object. This worked fine on all PCs with JRE 1.4.2. With JRE 1.5.0_01 it doesn't work on some PCs while it still does on most. On those PCs where it doesn't work with JRE 1.5.0_01 it still does work with JRE 1.4.2. Where it doesn't work with JRE 1.5.0_01 the following SQLException is thrown:
java.sql.SQLException: E/A-Exception: The Network Adapter could not establish the connection at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179) at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334) at oracle.jdbc.ttc7.TTC7Protocol.handleIOException (TTC7Protocol.java:3649) at oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:353) at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:368) at oracle.jdbc.driver.OracleDriver.getConnectionInstance (OracleDriver.java:549) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:349) at oracle.jdbc.pool.OracleDataSource.getConnection (OracleDataSource.java:169) at oracle.jdbc.pool.OracleDataSource.getConnection (OracleDataSource.java:105) at bdv2.components.sqlutilities.ConnParam.getConnection (ConnParam.java:143) at bdv2.menu.BdvMenu.connect(BdvMenu.java:145) at bdv2.menu.BdvMenu.<init>(BdvMenu.java:118) at bdv2.menu.BdvMenu.main(BdvMenu.java:137) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.continueLaunch(Unknown Source) at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)