File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Datasource session timeout problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Datasource session timeout problem" Watch "Datasource session timeout problem" New topic

Datasource session timeout problem

Christian Schlaefcke

Joined: Mar 18, 2004
Posts: 2
Hi folks,
I have an web application running under weblogic 7.0. This application is accessing a DB2 database through a tx datasource. This is running fine so far but when I leave the application running over night and try to get a connection the next morning I get this exception:
SQLException: Connection closed due to session kill
What can I do, to get a fresh connection?
Thanks & Regards,
I agree. Here's the link:
subject: Datasource session timeout problem
It's not a secret anymore!