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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to