tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <mikol...@becomo.com>
Subject Multiple webapps using one war file
Date Fri, 24 Feb 2006 11:20:05 GMT
Hello,

I've got rather complex web application (struts, hibernate, etc) which 
runs on Tomcat. There is a need to deploy this webapp for various 
customers. The only difference between them is the database they connect 
to, well, almost the only one ;-)

Is there any way to reuse one war file and map it to several contexts? I 
could give application's parameters (like jndi connection uri ) within 
context.xml descriptor. Every deploy takes several MB of memory, and 
it's a waste to have hibernate and required jars five times in memory.

-- 
Mikolaj Rydzewski  <mikolajr@becomo.com>
Becomo S.A.
tel. (12) 2927104



Mime
View raw message