Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 56604 invoked from network); 21 Apr 2004 17:29:59 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 21 Apr 2004 17:29:59 -0000 Received: (qmail 25129 invoked by uid 500); 21 Apr 2004 17:29:46 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 24971 invoked by uid 500); 21 Apr 2004 17:29:44 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 24955 invoked from network); 21 Apr 2004 17:29:44 -0000 Received: from unknown (HELO mail.sfg.homeunix.com) (68.250.178.57) by daedalus.apache.org with SMTP; 21 Apr 2004 17:29:44 -0000 Received: from sfg.homeunix.com (localhost [127.0.0.1]) by mail.sfg.homeunix.com (Postfix) with ESMTP id 1B33217BD0 for ; Wed, 21 Apr 2004 13:29:48 -0400 (EDT) Received: from 170.148.10.23 (SquirrelMail authenticated user sundaram); by sfg.homeunix.com with HTTP; Wed, 21 Apr 2004 13:29:48 -0400 (EDT) Message-ID: <40748.170.148.10.23.1082568588.squirrel@170.148.10.23> Date: Wed, 21 Apr 2004 13:29:48 -0400 (EDT) Subject: procrun win2k problem From: sundaram@sfg.homeunix.com To: commons-user@jakarta.apache.org User-Agent: SquirrelMail/1.5.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I am trying to create the windows service using procrun. I was able to add the service. But not able to start. Here is my batch file. set SERVICE_NAME=apptest set instdir=c:\myapp %INSTDIR%\bin\tomcatw.exe //IS//apptest --DisplayName "Apptest" --Description "apptest" --Install "%INSTDIR%\bin\tomcat.exe" --ImagePath "%INSTDIR%\bin\myapp.jar" --StartupClass Deamon;main;start --ShutdownClass Deamon;main;stop --Java C:\jdk\jre\bin\server\jvm.dll --JavaOptions -Xrs --Startup manual %INSTDIR%\bin\tomcatw.exe //US//apptest --JavaOptions -Dcatalina.home=%INSTDIR% --StdOutputFile "%INSTDIR%\logs\stdout.log" --StdErrorFile "%INSTDIR%\logs\stderr.log" --WorkingPath %INSTDIR%\bin -Sundaram http://sfg.homeunix.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org