This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Tomcat and the fly likes connection problem with database after booting up linux Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "connection problem with database after booting up linux" Watch "connection problem with database after booting up linux" New topic
Author

connection problem with database after booting up linux

dev Rana
Greenhorn

Joined: Sep 11, 2007
Posts: 5
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 .....


Warmest Regards<br />Dev Zala<br />Project Engineer
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Is Tomcat configured to start up before your database?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: connection problem with database after booting up linux
 
Similar Threads
DB2 jdbc driver 6.2 on linux red Hat 7.2 it doesn't Work with Iplanet web server 6.0
DB2 jdbc driver 6.2 on linux red Hat 7.2 it doesn't Work with Iplanet web server 6.0
Best way to transfer and connect to a database
Sybase beginner, Need Help
DB2 jdbc driver 6.2 on linux red Hat 7.2 it doesn't Work with Iplanet web server 6.0