aspose file tools*
The moose likes Tomcat and the fly likes connection problem with database after booting up linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
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://aspose.com/file-tools
 
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
Best way to transfer and connect to a database
DB2 jdbc driver 6.2 on linux red Hat 7.2 it doesn't Work with Iplanet web server 6.0
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