Bug 33267 - Startup and shutdown working path not set
Summary: Startup and shutdown working path not set
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Native:Integration (show other bugs)
Version: 5.5.7
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-27 10:36 UTC by Dominik Drzewiecki
Modified: 2005-07-28 08:02 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Drzewiecki 2005-01-27 10:36:03 UTC
After installation, "working path" parameters are not set. You can find "Working
Path" fields left blank on startup and shutdown tabs of Apache Tomcat Properties
window. This might lead to bugs like this one:
http://issues.apache.org/bugzilla/show_bug.cgi?id=32694
Comment 1 Remy Maucherat 2005-01-27 11:17:33 UTC
Well, no, it does not. If you find a way to set the working path, let us know
and provide a path.
Comment 2 Dominik Drzewiecki 2005-01-27 12:30:52 UTC
I don't quite get it why some other parameters like "log path" *do* get set to
the absolute path (inherited from the installation path), while the others do
not. I suppose that the "working path" should point to the very same path the
"catalina.home" does, which is an installation directory.
Comment 3 Dominik Drzewiecki 2005-01-27 12:46:45 UTC
line 162 of tomcat.nsi should have the following appended:
--StartPath "$INSTDIR" --StopPath "$INSTDIR"

Tt should read:
nsExec::ExecToLog '"$INSTDIR\bin\tomcat5.exe" //IS//Tomcat5 --DisplayName
"Apache Tomcat" --Description "Apache Tomcat @VERSION@ Server -
http://jakarta.apache.org/tomcat/" --LogPath "$INSTDIR\logs" --Install
"$INSTDIR\bin\tomcat5.exe" --Jvm "$2" --StartPath "$INSTDIR" --StopPath "$INSTDIR"'

Comment 4 Yoav Shapira 2005-07-28 16:02:03 UTC
Patch applied.  Thank you for the contribution.