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

Problem to start Tomcat Server

 
Banashri Mandal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 802
Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic