This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes The connection does not exist + as400 + hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "The connection does not exist + as400 + hibernate" Watch "The connection does not exist + as400 + hibernate" New topic
Author

The connection does not exist + as400 + hibernate

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Hello,
We are faced with the following problem: our db (db2 as400) is restarted on a weekly basis and every Monday morning a user trying to connect to our Hibernate tomcat application gets the exception below and we have to restart tomcat. How can we configure tomcat or hibernate so that this no longer happens?
Any clue welcome,
Julien.

Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17250
    
    6

You might want a cron script that restarts Tomcat for you right after the db comes back online.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: The connection does not exist + as400 + hibernate