Home » Developer & Programmer » JDeveloper, Java & XML » The Network Adapter could not establish the connection.
The Network Adapter could not establish the connection. [message #91308] Mon, 08 July 2002 23:39 Go to next message
Michael Wong
Messages: 2
Registered: July 2002
Junior Member
We can successfully connect the database throughout the project. However, when we stop using it for a period, say overnight, the 1st connection will fail. Checked with the log, it shows:
Mapping the following SQLException, with ErrorCode 17,002 and SQLState , to a StaleConnectionException: java.sql.SQLException: Io exception: The Network Adapter could not establish the connection.
Basically, I can re-produce the same error log only when I un-plugged the network cable from the Oracle database machine!

Do anyone have idea on it?

Thanks a lot.
Re: The Network Adapter could not establish the connection. [message #91365 is a reply to message #91308] Mon, 29 July 2002 06:22 Go to previous message
gnoon
Messages: 5
Registered: July 2002
Junior Member
2 cases possible:
1. You refer to wrong SID name.
2. The OracleOraHome81TNSListener service is not started on Database Server.
Previous Topic: Exception in class not found error
Next Topic: Re: jsp + oracle
Goto Forum:
  


Current Time: Fri Nov 22 20:18:50 CST 2024