> From: Leo Donahue - OETX [mailto:leodona...@mail.maricopa.gov] 
> Subject: RE: parallel deployment question

> I guess I thought it would get the path name from the name of the .war file.

Read the doc:
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Naming

> deploying demo##001.war on Tomcat 6.0.x doesn't even deploy it.

A single hash mark in a .war file name is replaced by a slash for the context 
path.  The action of a double hash is undefined in Tomcat 6, as far as I can 
tell.

> I did find this article that talks about web module names being all lowercase 
> ASCII characters.

That's a guideline, not part of the spec.  Lots of people use mixed-case 
context paths, which usually annoys end users, since the case in the request 
must match context path.

> So where in the Tomcat source code can I look at how this ## is being 
> implemented?

Start at org/apache/catalina/util/ContextName.java.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to