Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

connection problem with database after booting up linux

 
dev Rana
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have redhat linux os and another databse server .When i boot my web server i can not connect to database server (Mysql).But if i restart my tomcat sevice ,It connect to database .I have checked log file and it gives socket exception network is unreachable.Please what is the problem.I have written startup command in linux rc.local file.

Please help me .....
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is Tomcat configured to start up before your database?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic