Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 58610 invoked from network); 3 Apr 2000 11:15:02 -0000 Received: from ns0007.seagull.nl (195.212.143.2) by locus.apache.org with SMTP; 3 Apr 2000 11:15:02 -0000 Received: from aicthinkpad (jim.netcomuk.co.uk [194.42.248.76]) by NS0007.seagull.nl with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id H9K95Y4M; Mon, 3 Apr 2000 13:14:51 +0200 Reply-To: From: "Andrew Cathrow" To: Subject: RE: How to auto start tomcat on boot of NT Date: Mon, 3 Apr 2000 12:14:26 +0100 Message-ID: <002501bf9d5d$e255b3d0$3c8819ac@aicthinkpad> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0026_01BF9D66.441A1BD0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0) Importance: Normal In-Reply-To: <91023B9A71E1D311B3910050049D57D501FCA1@rksrv1.redknee.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0026_01BF9D66.441A1BD0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Autoexec.bat isn't used by NT - it's just maintained for backward compatibility. Normally you want to run background processes on NT as services. Tomcat doesn't run as a service - (I'm not sure if there are plans to do this in the future - it would be nice) but there is a tool you can use in the NT4 resource kit to allow you to run any program as a service - I'm not sure how well this would work with tomcat as I've never tried it - I suspect it won't work too well..... If you look through the tomcat.bat file you'll probably have to hardcode the envronmental variables and call tomcat straight from the java executable instead of using a batch file/ The utility is called SRVANY. Good luck ! Aic -----Original Message----- From: Joel Hughes [mailto:joel@redknee.com] Sent: 03 April 2000 12:03 To: Tomcat-User (E-mail) Subject: How to auto start tomcat on boot of NT Where does one place calls to start tomcat during boot of a NT machine? I've tried autoexec.bat but this did not appear to work. Since this will be running on a server, placing the bat in a 'startup' folder is not an option, as no one will be logged in. Thanks. Joel Hughes joel@redknee.com ------=_NextPart_000_0026_01BF9D66.441A1BD0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Autoexec.bat isn't used by NT - it's just maintained for = backward=20 compatibility.
Normally you = want to run=20 background processes on NT as services.
Tomcat=20 doesn't run as a service - (I'm not sure if there are plans to do this = in the=20 future - it would be nice) but there is a tool you can use in the = NT4=20 resource kit to allow you to run any program as a service - I'm not = sure how=20 well this would work with tomcat as I've never tried it - I suspect it = won't=20 work too well.....
If you look = through the=20 tomcat.bat file you'll probably have to hardcode the envronmental = variables=20 and call tomcat straight from the java executable instead of using a = batch=20 file/
The utility is = called=20 SRVANY.
 
Good luck=20 !
 
Aic
 

-----Original=20 Message-----
From: Joel Hughes=20 [mailto:joel@redknee.com]
Sent: 03 April 2000 = 12:03
To:=20 Tomcat-User (E-mail)
Subject: How to auto start tomcat on = boot of=20 NT

Where does one=20 place calls to start tomcat during boot of a NT machine? =20
I've = tried=20 autoexec.bat but this did not appear to work.  Since this will be = running=20 on a server, placing the bat in a 'startup' folder is not an option, = as no one=20 will be logged in.
Thanks.
Joel=20 Hughes
joel@redknee.com
=
 
------=_NextPart_000_0026_01BF9D66.441A1BD0--