• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Websphere Connection Pool problem

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic