File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Problem to start Tomcat Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem to start Tomcat Server" Watch "Problem to start Tomcat Server" New topic

Problem to start Tomcat Server

Banashri Mandal

Joined: Jun 12, 2008
Posts: 11

I am having problem to use tomcat server for my application. I downloaded apache-tomcat-6.0.18.exe from apache site and installed in my system. I am using Vista Home Basic operating system. JDK version is 1.6.0_10.

I have configured the server properly by changing environment variables. Then I start tomcat server to deploy my web app. My web app works properly. But when I restart my system, from next time, tomcat server stops working.

Can anybody please tell me why this problem is occurring ? I can use tomcat only once, if I restart or shut down my system and then want to deploy web app, tomcat does not work. Even the homepage ( http://localhost:8080) is not shown.

Please suggest me what to do.

Ninad Kulkarni
Ranch Hand

Joined: Aug 31, 2007
Posts: 802

I think it is based on which type of version and platform you use for application and as per my knowledge server is not automatically started when system restarted you should consult with javaranch member I'm not sure also you can check apache tomcat website for documentation details.

SCJP 5.0 - JavaRanch FAQ - Java Beginners FAQ - SCJP FAQ - SCJP Mock Tests - Tutorial - JavaSE7 - JavaEE6 -Generics FAQ - JLS - JVM Spec - Java FAQs - Smart Questions
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Unless you install it as a service (and make sure that the service is turned on) then you will need to restart Tomcat each time you restart the machine.
Banashri Mandal

Joined: Jun 12, 2008
Posts: 11
Yaa, I started tomcat server after restarting my system. But as http://localhost:8080 does not show the homepage of apache, so I dont think server started properly.
I agree. Here's the link:
subject: Problem to start Tomcat Server
jQuery in Action, 3rd edition