You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/02/09 23:31:42 UTC
DO NOT REPLY [Bug 26806] New: -
tomcat.exe --WorkingPath does not set current directory
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=26806>.
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=26806
tomcat.exe --WorkingPath does not set current directory
Summary: tomcat.exe --WorkingPath does not set current directory
Product: Tomcat 5
Version: 5.0.18
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Native:Integration
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: herold@cotagesoft.com
When using tomcat.exe to install tomcat as a service (on Window XP, if it
matters), the --WorkingPath option appears to have no effect.
I used to do this in tomcat 4, using the (different) version of tomcat.exe
included therein, and it worked. I have some context xml files that have
relative references to entity includes.
When the service is installed with the tomcat5 version of tomcat.exe, the
current working directory is set to <windows>/system32.
The full command line I use is:
tomcat.exe //IS//Tomcat \
--Java
c:\install\3rdparty\java1.4.2-win\bin\server\jvm.dll --JavaOptions -Dcotageso
ft.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/l
ib/tools.jar;c:/install/3rdparty/jakarta-tomcat-5.0.18/bin/bootstrap.jar#-Dca
talina.base=c:/install/3rdparty/jakarta-tomcat-5.0.18#-Dcatalina.home=c:/cota
gesoft/3rdparty/jakarta-tomcat-5.0.18#-Djava.io.tmpdir=c:/install/3rdparty/ja
karta-tomcat-5.0.18/tmp --ImagePath c:/install/3rdparty/jakarta-tomcat-5.0.18
/bin/bootstrap.jar --StartupClass
org.apache.catalina.startup.Bootstrap;main;sta
rt --ShutdownClass org.apache.catalina.startup.Bootstrap;main;stop --
StdOutputFi
le c:\install\logs\stdout.log --StdErrorFile c:\install\logs\stderr.log --
WorkingPath c:/install
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org