tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 35707] New: - Reactivate path attribute for Context
Date Tue, 12 Jul 2005 16:50:01 GMT
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=35707>.
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=35707

           Summary: Reactivate path attribute for Context
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ftregon@kleegroup.com


In Tomcat 4, when dropping an xml file in the webapps/ directory (or 
$CATALINA_HOME/conf/[enginename]/[hostname]/ in 5.5), the context path for the 
deployed application was taken from the "path" attribute of the "Context" 
element contained in the file.

In Tomcat 5.5, it is no longer the case as the context path is infered from the 
file name (cf. http://jakarta.apache.org/tomcat/tomcat-5.5-
doc/config/context.html)

I think it was a great feature allowing to switch webapps version quickly:
* I have a directory where I have multiple context xml files referencing 
different version of a single webapp: mywebapp-1.0.xml mywebapp-2.0.xml (they 
use the same context path, but *not* the same docBase)
* When I need to test a given version I just copy the associated xml file to 
the tomcat $CATALINA_HOME/webapps directory and the correct webapp version is 
used.

In Tomcat 5.5 the process is more difficult as I have to rename the file.

Another advantage is that I could name webapps related to each other with the 
same prefix (with no relation at all with the context paths).

Could it be possible to re-allow the "path" attribute to override the name 
infered from the file name?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message