• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem to start Tomcat Server

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Ranch Hand
Posts: 814
Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic