How to get Tomcat to start automaticvally on IIS

J

Jason O.

Half our website is running JSP's using Tomcat. We need to make Tomcat
start automatically if the server reboots and we're not here. Right
now, the only thing we can get Tomcat to do is start AFTER we log on
to the server (I am referring to Tomcat's Startup.bat file). We need
this to happen before our admin logs on (in case the server goes down
and comes back up during off hours). Just tagging it to start at
startup doesn't do it, it seems that Tomcat's Startup.bat file will
only initiate after someone logs into the server. Any suggestions?

The environment is Tomcat 3.3, Windows 2000 Server with IIS service
Pack 4

We can get it to run as an AUTOEXNT.BAT service, but still it only
starts after the admin logs on. Any help would be appreciated.

Thanks,
Jason
http://www.oakwebworks.com
 
A

Andy Fish

you need to run tomcat as a windows service

tomcat 4.1 has this as an installation option, just check a box and it all
works. I don't know about tomcat 3.3 though.

if you need to stay with 3.3 and it doesn't have a windows service option,
you can build (or find) a service wrapper for it. In the olden days of NT we
used to use srvany.exe for this. Alternatively you might be able to use the
windows service part of tomcat 4.1 and just re-engineer it to invoke tomcat
3.3

hope that gives you some ideas

Andy
 
T

Tom Cole

Search in Google under JavaService.

Andy Fish said:
you need to run tomcat as a windows service

tomcat 4.1 has this as an installation option, just check a box and it all
works. I don't know about tomcat 3.3 though.

if you need to stay with 3.3 and it doesn't have a windows service option,
you can build (or find) a service wrapper for it. In the olden days of NT we
used to use srvany.exe for this. Alternatively you might be able to use the
windows service part of tomcat 4.1 and just re-engineer it to invoke tomcat
3.3

hope that gives you some ideas

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,607
Members
45,240
Latest member
pashute

Latest Threads

Top