• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The connection does not exist + as400 + hibernate

 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want a cron script that restarts Tomcat for you right after the db comes back online.

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic