We don't use a deployment script.
Not sure if we could, it's all secured and isolated.

Without the timestamp and the environment in the war name somebody could
deploy a war to the wrong environment or an old war.

Sounds to me like if it is easy enough to use the filename that you
could use the path attribute in META-INF/context.xml just as easy.

Shawn 

-----Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 03, 2007 2:29 PM
To: Tomcat Users List
Subject: RE: War with timestamp not using META-INF/context.xml path

> From: Garner, Shawn [mailto:[EMAIL PROTECTED] 
> Subject: RE: War with timestamp not using META-INF/context.xml path
> 
> So there is no way to have the war tell the container what context to
> use other than the filename?

Correct, unless you manually place the <Context> element in server.xml,
which is strongly discouraged.  Why not have your deployment script
strip the time stamp off before actual deployment?

 - 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 start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to