Return-Path: Delivered-To: apmail-commons-user-archive@www.apache.org Received: (qmail 10800 invoked from network); 29 Feb 2008 16:32:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Feb 2008 16:32:51 -0000 Received: (qmail 85110 invoked by uid 500); 29 Feb 2008 16:32:42 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 85049 invoked by uid 500); 29 Feb 2008 16:32:42 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 85039 invoked by uid 99); 29 Feb 2008 16:32:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 08:32:41 -0800 X-ASF-Spam-Status: No, hits=-2.0 required=10.0 tests=HTML_MESSAGE,HTTP_ESCAPED_HOST,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [128.222.32.20] (HELO mexforward.lss.emc.com) (128.222.32.20) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Feb 2008 16:32:06 +0000 Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.2.5/Switch-3.1.7) with ESMTP id m1TGWE9h010825 for ; Fri, 29 Feb 2008 11:32:14 -0500 (EST) Received: from mailhub.lss.emc.com (nirah.lss.emc.com [10.254.144.13]) by hop04-l1d11-si01.isus.emc.com (Tablus Interceptor) for ; Fri, 29 Feb 2008 11:32:13 -0500 Received: from corpussmtp3.corp.emc.com (corpussmtp3.corp.emc.com [10.254.64.53]) by mailhub.lss.emc.com (Switch-3.2.5/Switch-3.1.7) with ESMTP id m1TGWAxt002073 for ; Fri, 29 Feb 2008 11:32:11 -0500 (EST) From: Clark_Shannon@emc.com Received: from CORPUSMX10C.corp.emc.com ([128.221.14.93]) by corpussmtp3.corp.emc.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 29 Feb 2008 11:31:32 -0500 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_01C87AF0.8AF1E5F1" Subject: Help with running own service using procrun "FindClass failed" Date: Fri, 29 Feb 2008 11:31:31 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Help with running own service using procrun "FindClass failed" Thread-Index: Ach68IrJORiLhxV+T3iJVCw5UPieuw== To: X-OriginalArrivalTime: 29 Feb 2008 16:31:32.0865 (UTC) FILETIME=[8B58C710:01C87AF0] X-PMX-Version: 4.7.1.128075, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.8.30.51425 X-PerlMx-Spam: Gauge=, SPAM=3%, Reason='EMC_FROM_0+ -3, URI_HOSTNAME_CONTAINS_EQUALS 1, HTML_50_70 0.1, NO_REAL_NAME 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __HAS_MSGID 0, __IMS_MSGID 0, __MIME_HTML 0, __MIME_VERSION 0, __SANE_MSGID 0, __STOCK_PHRASE_7 0, __TAG_EXISTS_HTML 0' X-Tablus-Inspected: yes X-Tablus-Classifications: public X-Tablus-Action: allow X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C87AF0.8AF1E5F1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I am trying to start my own service using procrun (aka tomcat5.exe | tomcat6.exe). I have set up the following commands to do the service install:=20 ..\bin\tomcat5 //IS//TESTLogger --Startup=3Dauto --LogLevel=3Ddebug --DisplayName=3D"MyTestLogger" --Jvm=3D"C:\Test\build\modules\logger\java\nt\jre-1.6.0_03\bin\server\jvm= . dll" --JvmMs=3D512 --JvmMx=3D512 --StdError=3Dauto --StdOutput=3Dauto --LogPath=3D"C:\Test\build\modules\logger\logs" --StartMode=3Djvm --StartClass=3Dcom.test.logger.LoggerRoot --StartMethod=3Dmain --StartParams=3D../config --StopMode=3Djvm --StopClass=3Dcom.test.logger.LoggerRoot --StopMethod=3Dwin_shutdown --Install=3D"C:\Test\build\modules\logger\bin\tomcat5.exe" set LOGGERHOME=3DC:\Test\build\modules\logger ..\bin\tomcat5 //US//TESTLogger --Description=3D"Test Logging Service" --Classpath=3D"%LOGGERHOME%\lib\test_logger.jar;%LOGGERHOME%\lib\antlr-2.= 7 .6.jar;\ %LOGGERHOME%\lib\apache-activemg-4.1.1.jar;%LOGGERHOME%\lib\commons-logg ing-1.0.4.jar;\ %LOGGERHOME%\lib\derby.jar;%LOGGERHOME%\lib\ejb3-persistence.jar;%LOGGER HOME%\ \lib\hibernate3.jar;%LOGGERHOME%\lib\hibernate-annotations.jar;%LOGGERHO ME%\ \lib\hibernate-entitymanager.jar;%LOGGERHOME%\lib\Core.jar;Services.jar; \ %LOGGERHOME%\lib\Utils.jar;%LOGGERHOME%\lib\log4j-1.2.14.jar;%LOGGERHOME %\lib\xstream-1.2.2.jar I know that the jar file specified (test_logger.jar) has the class file LoggerRoot and have verified the package name as well (com.test.logger), and when I run the service, the class path looks correct, but I am getting a not found sort of error. . . can anyone point me it the correct direction? Here are the results from my procrun: 2008-02-29 08:54:49 info Starting service... 2008-02-29 08:54:49 http://385 javajni.c debug Jvm Option[0] -Djava.class.path=3DC:\Test\build\modules\logger\lib\logger.jar;...... 2008-02-29 08:54:50 http://385 javajni.c debug Jvm Option[1] vfprintf 2008-02-29 08:54:50 http://385 javajni.c debug Jvm Option[2] -Xms512m 2008-02-29 08:54:50 http://385 javajni.c debug Jvm Option[3] -Xmx512m 2008-02-29 08:54:50 http://443 javajni.c error FindClass com.test.logger.LoggerRoot failed 2008-02-29 08:54:50 http://997 prunsrv.c error Failed loading main com.test.logger.LoggerRoot class C:\Test\build\modules\logger\lib\logger.jar;. . . . .=20 I feel it is a path issue, but I just can not see what I am missing. . . . . . . . Please help! Thanks, Shannon ------_=_NextPart_001_01C87AF0.8AF1E5F1--