tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Multiple Contexts - one classloader
Date Mon, 30 Apr 2012 19:41:05 GMT
> From: Shanti Suresh [mailto:shanti@umich.edu] 
> Subject: Multiple Contexts - one classloader

> I would like one application instance to serve the different contexts.

Please read the servlet spec; one application == one context.  You can play games with forwarding
if you want, or simply install just one webapp as ROOT (case sensitive) and remove the three
site* <Context> elements.

> I get three classloaders and multiple deployments:

As you should.  Each webapp is independent of the others, by definition.

Also, take out the path attributes in the three <Context> elements; that attribute is
not allowed here.

 - 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message