Apologies....
OK... you cant do it from a WAR, the tomcat WAR deployment seems to ignore contexts and always default to the name of the WAR file. Try it with just one context and you'll see the behaviour.

But you can do it from the standalone deployer... ie deploy the war file to any context you want.... it will require a little ant script.

Why didnt you just say so ;) ...  bed time for me.


----- Original Message ----- From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Friday, June 22, 2007 2:08 AM
Subject: RE: Multiple Contexts from single WAR


From: Johnny Kewl [mailto:[EMAIL PROTECTED]
Subject: Re: Multiple Contexts from single WAR

Chris, dont think you can... just so I understand it.... you thinking
http://localhost:8080/A
http://localhost:8080/B
http://localhost:8080/C
must all map to one web-app, say WebApp A.... that I dont
think is possible

No, that's not what he's asking for.  The original question was about
multiple webapps deployed from the same .war file.  Each would run
independently, once loaded.  Nothing to do with URL mappings, and
throwing httpd in front would only add complexity and have no effect on
the original issue.

- 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