The Network Adapter could not establish the connection
843854Oct 25 2002 — edited Oct 25 2002Hi,
I'm having the following error when trying to access an Oracle server (installed in Linux Red Hat 7.2) from other Linux Red Hat 7.2:
javax.servlet.ServletException: Io exception: The Network Adapter could not establish the connection
From other clients like windows clients all works fine.
The ping from the client box to the oracle server is OK and the tnsping too. I'm only trying to create a Connection object with this code:
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con = DriverManager.getConnection("jdbc:oracle:thin:saveweb/saveweb@192.168.0.4:1521:tesla");
con.close();
Now I'm trying with this jdbc url, but I already have tried with this url:
Connection con = DriverManager.getConnection("jdbc:oracle:thin:@192.168.0.4:1521:tesla","saveweb","saveweb");
I'm using the JDK 1.2.2 (I need to use it) and I'm using classes12.zip that I download from the Oracle site. I already have tried to use the classes12_01.zip too.
Thanks for any help.
Sergio Stateri Jr.
sergio.jr@tesla.com.br