Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC Connection after DB is up

 
Sanjeev Desai
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a application running on tomcat 6 and it using the oracle as database. At some point of time my Oracle DB went down. After some time the DB is up.
Now will my tomcat application keep running normally or it will have some DB connection problems? Do I need to restart my tomcat application?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sanjeev,
Welcome to JavaRanch!

If you had a connection open at the time, it would become invalid. A new connection would be fine. Restarting certainly wouldn't hurt matters. Also note that connection pols behave differently depending on the implementation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic