Look at the page
http://jakarta.apache.org/commons/daemon/procrun.html
tomcat //IS//Tomcat5 --DisplayName "Tomcat 5.0.12" \
--Description "Tomcat 5.0.12 JDK 1.4 http://jakarta.apache.org" \
--ImagePath "c:\devtools\tomcat\5.0\bin\bootstrap.jar" \
--StartupClass org.apache.catalina.startup.Bootstrap;main;start \
--ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop \
--Java auto
Attention: there is a little bug in the above script, substitute tomcat command
with tomcat5.
Ciao, Matteo
> -----Original Message-----
> From: Jeffrey Steele [mailto:[EMAIL PROTECTED]
> Sent: venerd� 29 ottobre 2004 19.35
> To: Tomcat Users List
> Subject: RE: Failed to install Tomcat5 service
>
> We just had the very same problem when trying to install the
> service for Tomcat 5.0.28 using service.bat on a Win2000 server...
>
> We found that there was an old refrence to a Tomcat 4 service
> in the Registry... after clearing it out, the Tomcat5 service
> installed and started fine...
>
> Good luck...
>
> > from your original post:
> >
> > > >"Failed to install Tomcat5 service. Check your settings and
> > > >permissions.
> >
> > suggests to me that you are not logged in as Administrator?
> >
> > that's probably why the install fails. the DIR of your
> \bin directory
> > looks like installation failed halfway through.
> >
> > as Yoav says, you'll probably have more joy with the .zip
> installer,
> > esp if you do not have an administrator logon. you might
> well still
> > have problems installing the service though...?
> >
> > > -----Original Message-----
> > > From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> > > Sent: Friday 29 October 2004 14:45
> > > To: Tomcat Users List
> > > Subject: RE: Failed to install Tomcat5 service
> > >
> > >
> > >
> > > Hi,
> > > Try the .zip distribution, just unzip and run. It won't run as a
> > > service at first, but it'll get you started. The 5.5.3 exe
> > > installer works fine out of the box for me on Win XP pro
> using Sun JDK 1.5.
> > >
> > > Yoav Shapira http://www.yoavshapira.com
> > >
> > >
> > > >-----Original Message-----
> > > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > >Sent: Friday, October 29, 2004 9:44 AM
> > > >To: [EMAIL PROTECTED]
> > > >Subject: FW: Failed to install Tomcat5 service
> > > >
> > > >No one is providing answer to my very basic question-which is a
> > > >show stopper for me.
> > > >Please help me
> > > >
> > > >-----Original Message-----
> > > >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > > >Sent: Friday, October 29, 2004 3:01 PM
> > > >To: [EMAIL PROTECTED]
> > > >Subject: Failed to install Tomcat5 service
> > > >
> > > >Hi,
> > > >I'm installing Tomcat 5.5 on Windows XP Professional Box.
> > > >
> > > >Jdk version is 1.5.
> > > >When I issue java -version on cmd prompt I get this output:
> > > >java version "1.5.0"
> > > >Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.5.0-b64)
> > > >Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)
> > > >
> > > >I have already set the JAVA_HOME to the proper JRE.
> > > >But at the time of installing I get this error message:
> > > >"Failed to install Tomcat5 service. Check your settings and
> > > permissions.
> > > >Ignore and continue(not Recommneded) with 3 usual buttons:
> > > >Abort/Retry/Ignore
> > > >This happens at the time of performing this action in the
> > > installation
> > > >dialog box:
> > > >Failed to install tomcat service
> > > >Using %JAVA_HOME%\bin\client\jvm.dll
> > > >
> > > >And then I just cant start tomcat.
> > > >Please help me out as I'm stuck at the very first step of
> > > >installing tomcat.
> > > >
> > > >My directory structure is as follows:
> > > >D:\Tomcat 5.5\bin>tomcat5
> > > >[2004-10-26 20:50:52] [373 prunsrv.c] [error] The system cannot
> > > >find the file specified.
> > > >[2004-10-26 20:50:52] [1186 prunsrv.c] [error] Load
> configuration
> > > >failed
> > > >
> > > >D:\Tomcat 5.5\bin>tomcat5w.exe
> > > >
> > > >D:\Tomcat 5.5\bin>dir
> > > > Volume in drive D is WINNT_D
> > > > Volume Serial Number is 744B-4B58
> > > >
> > > > Directory of D:\Tomcat 5.5\bin
> > > >
> > > >26/Oct/04 08:42 PM <DIR> .
> > > >26/Oct/04 08:42 PM <DIR> ..
> > > >06/Oct/04 12:47 AM 23,098 bootstrap.jar
> > > >06/Oct/04 12:47 AM 26,202 commons-logging-api.jar
> > > >06/Oct/04 12:48 AM 102,400 tomcat5.exe
> > > >06/Oct/04 12:48 AM 131,072 tomcat5w.exe
> > > > 4 File(s) 282,772 bytes
> > > > 2 Dir(s) 1,352,249,344 bytes free
> > > >
> > > >With best regards:
> > > >Ashutosh Sharma
> > > >
> > > >EMC Data Storage Systems (India) Private Limited No. 12,
> Subramanya
> > > >Arcade, Tower B,Bannerghatta Road, Bangalore - 560 076.
> > > >Tel. +91-80-26788930 x 6296
> > > >
> > > >
> > > >
> > >
> >-------------------------------------------------------------------
> > > >-- To unsubscribe, e-mail:
> > > >[EMAIL PROTECTED]
> > > >For additional commands, e-mail:
> > > >[EMAIL PROTECTED]
> > >
> > >
> > >
> > >
> > > This e-mail, including any attachments, is a confidential
> business
> > > communication, and may contain information that is confidential,
> > > proprietary and/or privileged. This e-mail is intended
> only for the
> > > individual(s) to whom it is addressed, and may not be
> saved, copied,
> > > printed, disclosed or used by anyone else. If you are
> not the(an)
> > > intended recipient, please immediately delete this e-mail
> from your
> > > computer system and notify the sender. Thank you.
> > >
> > >
> > >
> --------------------------------------------------------------------
> > > - To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]