wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem to start Tomcat Server" Watch "Problem to start Tomcat Server" New topic
Author

Problem to start Tomcat Server

Banashri Mandal
Greenhorn

Joined: Jun 12, 2008
Posts: 11
Hello.

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: 787

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
Marshal

Joined: Mar 22, 2005
Posts: 41150
    
  45
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.


Ping & DNS - my free Android networking tools app
Banashri Mandal
Greenhorn

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.
 
 
subject: Problem to start Tomcat Server
 
Similar Threads
Compilation exeption
Tomcat NoClassDefFoundError + LifecycleException
Tomcat memory utilization question
Object creation is failed in JSP
Tomcat Server and axis application --prob. starting context