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/03/25 22:22:40 UTC
DO NOT REPLY [Bug 27958] New: -
WAR files not autodeployed when changed
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27958>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27958
WAR files not autodeployed when changed
Summary: WAR files not autodeployed when changed
Product: Tomcat 5
Version: 5.0.19
Platform: All
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: George.Lindholm@ubc.ca
An applications WAR file is not redeployed automatically when the
war file is updated.
The problem is that HostConfig.checkContextLastModified() is seeing the
wrong value for what it thinks is the name of the WAR file. Instead of
seeing "myubc.war" it sees "ROOT" so the
if (files[i].endsWith(".war")) {
test at line 843 always fails since files[0]="ROOT"
Here is the server.xml entries for the Context:
<Engine name="myUBC" defaultHost="scandia">
<Host name="scandia" appBase="webapps"
unpackWARs="true" autoDeploy="true" workDir="work">
<Context path="" docBase="/local/src/myUBC2/myubc.war" reloadable="false">
George
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org