Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 1839 invoked from network); 7 Apr 2006 07:31:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Apr 2006 07:31:26 -0000 Received: (qmail 19800 invoked by uid 500); 7 Apr 2006 07:31:12 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 19764 invoked by uid 500); 7 Apr 2006 07:31:11 -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 19751 invoked by uid 99); 7 Apr 2006 07:31:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 00:31:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of Jayesh.Gohil@lionbridge.com designates 206.16.192.249 as permitted sender) Received: from [206.16.192.249] (HELO outbound2-ash-R.bigfish.com) (206.16.192.249) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 00:31:10 -0700 Received: from outbound2-ash.bigfish.com (localhost.localdomain [127.0.0.1]) by outbound2-ash-R.bigfish.com (Postfix) with ESMTP id 60562733300 for ; Fri, 7 Apr 2006 07:30:49 +0000 (UTC) Received: from mail59-ash-R.bigfish.com (unknown [172.18.2.1]) by outbound2-ash.bigfish.com (Postfix) with ESMTP id 59500733313 for ; Fri, 7 Apr 2006 07:30:49 +0000 (UTC) Received: from mail59-ash.bigfish.com (localhost.localdomain [127.0.0.1]) by mail59-ash-R.bigfish.com (Postfix) with ESMTP id 4D4B7612B13 for ; Fri, 7 Apr 2006 07:30:49 +0000 (UTC) X-BigFish: V Received: by mail59-ash (MessageSwitch) id 1144395049215615_23250; Fri, 7 Apr 2006 07:30:49 +0000 (UCT) Received: from smtpowl1.lionbridge.com (unknown [65.213.80.40]) by mail59-ash.bigfish.com (Postfix) with ESMTP id 209356129A5 for ; Fri, 7 Apr 2006 07:30:49 +0000 (UTC) Received: from BIL-EXC1.corpnet.liox.org ([10.6.9.20]) by smtpowl1.lionbridge.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 7 Apr 2006 03:30:43 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C65A15.2DA3A770" Subject: Tomcat5 Service. Date: Fri, 7 Apr 2006 03:29:37 -0400 Message-ID: <11E069FC7E350844A7DDD44CE31EAF5AB4C52D@BIL-EXC1.corpnet.liox.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Tomcat5 Service. Thread-Index: AcZUmLleblLAhNxeQ92Hal+chqbllwFfEGCg From: "Gohil, Jayesh" To: X-OriginalArrivalTime: 07 Apr 2006 07:30:43.0351 (UTC) FILETIME=[2DA92270:01C65A15] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C65A15.2DA3A770 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable > 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 ------_=_NextPart_001_01C65A15.2DA3A770--