File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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: 383
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: 17224
    
    1

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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: The connection does not exist + as400 + hibernate
 
Similar Threads
Help me to fix this code
Horrendous EL problem
where to handle session here?
All of a sudden many of my imports are underlined in red, that goes away when I retype them..
Needing some help fixing this error stack (error occurred performing resource injection)