posted 20 years ago
Hi ,
I am having a very practical problem .
I am running my application on Websphere Application Server
unsing Oracle Database . The WAS connection pool is used to
connect to the Oracle DB .
I am forcefully stopping the database server in the mid of my application. Then I am starting the DB server again .
Now I am trying to run the Application again . but at the frist instance of database connection it is giving this exception even thoough database server is running. ********************************************************
com.ibm.ejs.cm.portability.StaleConnectionException: Io exception: Connection reset by peer: socket write error
*********************************************************
When i am trying for the second time to acess the databse it is able to get the connection without any problem and application is running fine.
Can anyone tell me how to get the connection in the very first access to the database after it is shutdown and restart.
Waiting for your kind reply,
Thanks is Advance,
Sailendra Panigrahi