[
https://issues.apache.org/jira/browse/DAEMON-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg closed DAEMON-43.
---------------------------------
Resolution: Fixed
Setting resolution
> [daemon] stdout not working when installed as windows service
> -------------------------------------------------------------
>
> Key: DAEMON-43
> URL: https://issues.apache.org/jira/browse/DAEMON-43
> Project: Commons Daemon
> Issue Type: Bug
> Affects Versions: 1.0 Alpha
> Environment: Operating System: All
> Platform: Other
> Reporter: Robert Herold
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.