DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41932>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41932

           Summary: Tomcat does not run as a service, but it does from the
                    command line
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Other
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


Using Linux and Windows 2000, running from the command line (windows: 
catalina.bat), we are able to launch Tomcat and the servlet it loads runs 
fine.  

However, when using tomcat5.exe, it exits shortly after starting.  It installs 
as a service fine.  I tried running it from the Service Control Manager and 
also from the command line and the jakarta logs show the same thing.

There are no errors or Exceptions reported.  But why does it exit?  Why does 
it work fine when run from the command line using catalina.bat?   I assume if 
there was an error in my options, it would tell me.  

Below is the log:
[2007-03-21 16:33:00] [1098 prunsrv.c] [debug] Inside ServiceMain...
[2007-03-21 16:33:00] [info] Starting service...
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[0] -
Dcdx.configDir=C:\seratel\cdx-clients\lsa\config
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[1] -
Djava.util.logging.config.file=C:\seratel\cdx-
clients\lsa\config\logging.properties
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[2] -
Dapplication.name=cdx-lsa
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[3] -Xmx500m
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[4] -Dprocess.id=
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[5] -Dtpm.url=
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[6] -
Dprocess.id.file=C:\seratel\cdx-clients\lsa\logs\.pid
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[7] -
Dtpm.template.dir=C:\seratel\cdx-clients\lsa\tpmtemplates
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[8] -XX:+UseParallelGC
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[9] -
Xbootclasspath/a:C:\Program Files\Java\jdk1.5.0_11\jre\lib\rt.jar
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[10] -
Xbootclasspath/a:C:\seratel\cdx-clients\lsa\shared\lib\tamboot.jar
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[11] -
Xbootclasspath/a:C:\seratel\cdx-clients\lsa\shared\lib\xercesImpl.jar
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[12] -
Xbootclasspath/a:C:\seratel\cdx-clients\lsa\shared\lib\xml-apis.jar
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[13] -
Xbootclasspath/a:C:\seratel\cdx-clients\lsa\shared\lib\agentxapi.jar
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[14] -
Xbootclasspath/a:C:\seratel\cdx-clients\lsa\shared\lib\snmp.jar
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[15] -
Dcatalina.base=C:\seratel\cdx-clients\lsa
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[16] -
Dcatalina.home=C:\seratel\cdx-clients\lsa
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[17] -
Djava.endorsed.dirs=C:\seratel\cdx-clients\lsa\common\endorsed
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[18] -
Djava.io.tmpdir=C:\seratel\cdx-clients\lsa\temp
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[19] -
Djava.class.path=C:\seratel\cdx-clients\lsa\bin\bootstrap.jar
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[20] vfprintf
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[21] -Xms128m
[2007-03-21 16:33:01] [400  javajni.c] [debug] Jvm Option[22] -Xmx256m
[2007-03-21 16:33:01] [486  javajni.c] [debug] argv[0] = start
[2007-03-21 16:33:02] [968  prunsrv.c] [debug] Java started 
org/apache/catalina/startup/Bootstrap
[2007-03-21 16:33:02] [info] Service started in 2140 ms.
[2007-03-21 16:33:02] [1192 prunsrv.c] [debug] Waiting worker to finish...
[2007-03-21 16:33:06] [523  javajni.c] [debug] Java Worker thread finished
[2007-03-21 16:33:06] [1197 prunsrv.c] [debug] Worker finished.
[2007-03-21 16:33:06] [info] Debug service finished.
[2007-03-21 16:33:06] [info] Procrun finished.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to