• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

run tomcat 4.0 as NT Service

 
Ranch Hand
Posts: 113
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how to run tomcat 4.0 as NT Service?
 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You will probably get more response to this in the Apache/Tomcat forum. I will move it there for you.
Matthew Phillips
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When you install Tomcat 4.x, the Windows installer version of the installation will ask you if you want to install Tomcat as an NT service.

If you've already installed it, it's up to you if you want to uninstall and re-install. I would
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Install Tomcat 4 as service
on Windows NT/2000/XP
ensure CATALINA_HOME and JAVA_HOME are appropriatly set as 'System variables' in the 'Environment Variables' section of the System control pannel.
run this command line to install tomcat as a service (all on one line):
"%CATALINA_HOME%\bin\tomcat.exe"
-install "Apache Tomcat"
"%JAVA_HOME%\jre\bin\classic\jvm.dll"
-Djava.class.path="%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar"
-Dcatalina.home="%CATALINA_HOME%"
-Xrs
-start org.apache.catalina.startup.Bootstrap -params start
-stop org.apache.catalina.startup.Bootstrap -params stop
-out "%CATALINA_HOME%\logs\stderr.log"
it will be an automatic startup service but it will not automatically start until the next system reboot.
start the service with this command line:
net start "Apache Tomcat"
you may stop the service with this command line:
net stop "Apache Tomcat"
and you can uninstall the Tomcat service with this command line:
"%CATALINA_HOME%\bin\tomcat.exe" -uninstall "Apache Tomcat"
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic