From: Asif Chowdhary [AsifC@xeye.com] Sent: jueves, 06 de noviembre de 2003 22:49 To: Tomcat Users List Subject: RE: Tomcat 4.1.26 on Win2000 This will install it as a service. Create a batch file with the info below: Will Work ::Starting Tomcat as an NT Service echo off set PATH=%PATH%;%CATALINA_HOME% set SERVICENAME=Brenda-Tomcat Service set CATALINA_BASE= The base directory for Tomcat set JAVACLASSPATH=%CLASSPATH% set JAVACLASSPATH=%JAVACLASSPATH%;%CATALINA_HOME%\bin\bootstrap.jar set JAVACLASSPATH=%JAVACLASSPATH%;%CATALINA_HOME%\common\lib\servlet.jar set JAVACLASSPATH=%JAVACLASSPATH%;%JAVA_HOME%\lib\rt.jar "%CATALINA_HOME%\bin\tomcat.exe" -install "%SERVICENAME%" "%JAVA_HOME%\jre\bin\classic\jvm.dll" -Djava.class.path="%JAVACLASSPATH%" -Dcatalina.home="%CATALINA_HOME%" -Dcatalina.base="%CATALINA_BASE%" -Xrs -Xmx200m -Xms100m -start org.apache.catalina.startup.Bootstrap -params start -stop org.apache.catalina.startup.Bootstrap -params stop -out "%CATALINA_BASE%\logs\stdout.log" -err "%CATALINA_BASE%\logs\stderr.log" -----Original Message----- From: Hardee, Brenda G NAVSAFECEN [mailto:brenda.hardee@navy.mil] Sent: Thursday, November 06, 2003 4:24 PM To: Tomcat Users List Subject: Tomcat 4.1.26 on Win2000 I am running Tomcat ver 4.1.27 on a Win2000 platform. Is there an easy way to set up tomcat as a service without the whole wrapper thing? I'm new at this and looking for the simplest solution. I'm also not a great expert on the NT side!! -----Original Message----- From: Longley, Andrew [mailto:andrew.longley@mindflow.com] Sent: Thursday, November 06, 2003 14:50 To: Tomcat Users List Subject: RE: tomcat 3.3 on Win2k server/IIS 5.0 You can set up a scheduled task or install Tomcat as a service. I'm pretty sure the Tomcat 3.3 binary on Windows is a service wrapper, so you can invoke Tomcat.exe and supply the parameters to create a service. You may need to edit the registry manually to set up classpaths and other variables your app needs. Not sure what you mean about Microsoft and server daemons...I have many Tomcats starting up automatically as services on many Win2k machines. Not under IIS, but I think that is irrelevant, could be wrong. Andrew Longley Senior Software Developer MindFlow Technologies, Inc. > -----Original Message----- > From: Dara Lambert [mailto:daralambert@yahoo.com] > Sent: Thursday, November 06, 2003 10:40 AM > To: tomcat-user@jakarta.apache.org > Subject: tomcat 3.3 on Win2k server/IIS 5.0 > > Hello, > > I hope it is ok to email for directions or clarification on > how to get Tomcat to start automatically after a Win2k > reboot? Is it true that the reason Tomcat doesn't launch is > because Microsoft created a server environment that actually > doesn't have any simple way of launching server daemons at startup? > > I have been reseaching this issue for 2 days now, and have > found similar issues but nothing quite right. I have > installed the AutoexT exe that runs a batch file at startup, > but yet again I have to login to the server first so that > Tomcat will load. > > Any help or guidance would be greatly appreciated, I > understand if you do not answer direct emails. > > Thank you, > Dara Lambert > System Administrator > > __________________________________ > Do you Yahoo!? > Protect your identity with Yahoo! Mail AddressGuard > http://antispam.yahoo.com/whatsnewfree > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > >