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

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26808

stdout not working when installed as windows service

           Summary: stdout not working when installed as windows service
           Product: Tomcat 5
           Version: 5.0.18
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Native:Integration
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When starting a tomcat service installed with tomcat.exe, the stdout/stderr 
log files are not getting written.  The files are created, but their size 
remains at zero.

Tomcat *is* producing output - when I run it from a console window, it spews 
all kinds of stuff.

Here is the command line I use to install it as a service:

tomcat.exe //IS//Tomcat \
  --Java c:\install\3rdparty\java1.4.2-win\bin\server\jvm.dll \
  --JavaOptions -Dcotagesoft.home=c:/install#-
Djava.endorsed.dirs=c:/install/3rdparty/jakarta-tomcat-5.0.18/common/endorsed#-
Djava.class.path=c:/install/3rdparty/java1.4.2-
win/lib/tools.jar;c:/install/3rdparty/jakarta-tomcat-5.0.18/bin/bootstrap.jar#-
Dcatalina.base=c:/install/3rdparty/jakarta-tomcat-5.0.18#-
Dcatalina.home=c:/cotagesoft/3rdparty/jakarta-tomcat-5.0.18#-
Djava.io.tmpdir=c:/install/3rdparty/jakarta-tomcat-5.0.18/tmp \
  --ImagePath c:/install/3rdparty/jakarta-tomcat-5.0.18/bin/bootstrap.jar \
  --StartupClass org.apache.catalina.startup.Bootstrap;main;start \
  --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop \
  --StdOutputFile c:\install\logs\stdout.log \
  --StdErrorFile c:\install\logs\stderr.log \
  --WorkingPath c:/install

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

Reply via email to