This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JDBC 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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Databases » JDBC
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
Similar Threads
Connection pools in WAS 5
javax.naming.reference exception on lookup
oci8 driver problem.
DataSource.getConnection() returning closed connections