Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 46931 invoked from network); 4 Apr 2006 04:42:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Apr 2006 04:42:07 -0000 Received: (qmail 58217 invoked by uid 500); 4 Apr 2006 04:41:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 58189 invoked by uid 500); 4 Apr 2006 04:41:55 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 58178 invoked by uid 99); 4 Apr 2006 04:41:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 21:41:55 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Jayesh.Gohil@lionbridge.com designates 63.161.60.23 as permitted sender) Received: from [63.161.60.23] (HELO outbound2-kan-R.bigfish.com) (63.161.60.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Apr 2006 21:41:54 -0700 Received: from outbound2-kan.bigfish.com (localhost.localdomain [127.0.0.1]) by outbound2-kan-R.bigfish.com (Postfix) with ESMTP id 545023E4166 for ; Tue, 4 Apr 2006 04:41:33 +0000 (UTC) Received: from mail57-kan-R.bigfish.com (unknown [172.18.7.1]) by outbound2-kan.bigfish.com (Postfix) with ESMTP id 535583E415D for ; Tue, 4 Apr 2006 04:41:33 +0000 (UTC) Received: from mail57-kan.bigfish.com (localhost.localdomain [127.0.0.1]) by mail57-kan-R.bigfish.com (Postfix) with ESMTP id 48ABA175E91 for ; Tue, 4 Apr 2006 04:41:33 +0000 (UTC) X-BigFish: V Received: by mail57-kan (MessageSwitch) id 1144125693228514_26789; Tue, 4 Apr 2006 04:41:33 +0000 (UCT) Received: from smtpowl1.lionbridge.com (unknown [65.213.80.40]) by mail57-kan.bigfish.com (Postfix) with ESMTP id 915B7175E33 for ; Tue, 4 Apr 2006 04:41:30 +0000 (UTC) Received: from BIL-EXC1.corpnet.liox.org ([10.6.9.20]) by smtpowl1.lionbridge.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 4 Apr 2006 00:41:30 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Tomcat5 Service. Date: Tue, 4 Apr 2006 00:40:20 -0400 Message-ID: <11E069FC7E350844A7DDD44CE31EAF5AA9F170@BIL-EXC1.corpnet.liox.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat5 Service. Thread-Index: AcZW2Cd9/uKs1M8PRH+uEHQoV+SXOgAyZzGw From: "Gohil, Jayesh" To: "Tomcat Users List" X-OriginalArrivalTime: 04 Apr 2006 04:41:30.0079 (UTC) FILETIME=[0A9986F0:01C657A2] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > > Hi, > >=20 > > I am using Tomcat5.0.28.I have jdk > j2sdk1.4.2_07.For some specific reason I want to > create Tomcat5 service manually.I want this service > to be an automatic type.As there are two ways to > achieve this. > >=20 > > 1) Just call "service.bat install" from catalina > home\bin.I am able to create but of type manual. > >=20 > > 2) Passing Parameters to Tomcat5.exe as follows by > creating a batch file (All on one line): > >=20 > > > /////////////////////////////////////////////////////////////////////////= /////////////////////////////////////////////////////////////////////////= ///////////////// > > rem This command line installs tomcat as a service > (all on one line): > > rem It will be an automatic startup service but it > will not automatically start until the next system > reboot.=20 > > %CATALINA_HOME%\bin\tomcat5 -install "Tomcat" > %JAVA_HOME%\jre\bin\server\jvm.dll > -Djava.class.path=3D%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\too= ls.jar > -Dcatalina.home=3D%CATALINA_HOME% %CATALINA_OPTS% -Xrs > -start org.apache.catalina.startup.Bootstrap -params > start -stop org.apache.catalina.startup.Bootstrap > -params stop -out %CATALINA_HOME%\logs\stdout.log > -err %CATALINA_HOME%\logs\stderr.log > >=20 > > rem This will start the service > > net start "Tomcat"=20 > > > /////////////////////////////////////////////////////////////////////////= /////////////////////////////////////////////////////////////////////////= ////////////////// > >=20 > >=20 > > But when I use the second option it gives me an > error as > >=20 > > [2006-03-31 13:26:24] [349 prunsrv.c] [error] > > The operation completed successfully. > > [2006-03-31 13:26:24] [1037 prunsrv.c] [error] > > Load configuration failed > >=20 > > Although I am able achieve my objective with > second option on Tomacat 4.1. > >=20 > > So please reply as soon as possible on this.=20 > >=20 > >=20 > >=20 > > Thanks > >=20 > > Regards, > >=20 > > Jayesh Gohil > > Build/SCM Engineer. > > L10NBRIDGE Technologies Pvt.Ltd. > > EXTN : 7523. > >=20 >=20 =09 __________________________________________________________ Yahoo! India Matrimony: Find your partner now. Go to = http://yahoo.shaadi.com =09 __________________________________________________________=20 Yahoo! India Matrimony: Find your partner now. Go to = http://yahoo.shaadi.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org