Hi Jerome. If you save everything that is specific to the context in that context, they operate as separate. Regards,
Serge Fonville On Fri, Oct 24, 2008 at 12:02 PM, Jerome Lepage - AKEROZ < [EMAIL PROTECTED]> wrote: > > Hi, Thanks for quick answers > > My app is a Cms > The sources, wars, deploy method is the same. > Only a "Environement String" (pointing to a specific config dir) is > différent with Context. > > I don't want to they share anything at all, because is not same customers > for each context. > So for security reason, i don't want to share (even i loose memory and > space). > > My customers don't have access to tomcat at all (except the app off > course). > I will deploy, upgrade, remove, etc.. so if easyer it's better, but i don't > really care about that. > > I have already separate context for previous version of my app. > But i'm (was) not sure for sharing "rules" of tomcat in Singleton or > Hibernate case. > (Because the goal of a singleton by definition is to have unique instance) > I was affraid in test, who i have see my Log4J logs in wrong directory > (maybe it's because is in "common/lib" dir) > > So if i understand well, if the library(s) is not in "common/lib" but in > "WEB-INF/lib" they don't share context ? > > Thanks again for your time and answers.. > > Jerome Lepage > AKEROZ > > > ----- Original Message ----- > From: "Serge Fonville" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <users@tomcat.apache.org> > Sent: Friday, October 24, 2008 11:37 AM > Subject: Re: Question about Tomcat context > > > First a few questions; > What does the app do > Do the deployed applications differ > What is the reason you want them separate > Do they share anything, reaml,db,files,.... > Do you need to be able to update them easily (all in one go) > How do you intend to deploy them, war, copy, remote > Is it an option to upgrade to Tomcat 6.0 > > That said: > > By simply copying the same files to different contexts you have the same > application available multiple times under different URLs. > > Regards, > > Serge Fonville > > On Fri, Oct 24, 2008 at 11:25 AM, Jerome Lepage - AKEROZ < > [EMAIL PROTECTED]> wrote: > > > > > Hi @ll, > > > > I have developped a web application on Tomcat (5.0.28). > > My webapp use Hibernate 3 and i have a Singleton pattern too. > > > > I want have my webapp deployed N time in same Tomcat Server. > > But i don't want to share context, hibernate and Singleton from one > webapp > > to other. > > (Like database access is not the same) > > > > I have see in tomcat doc, the "share context" parameters but i don't have > > tried at this time. > > (Or maybe in différent tomcat "vhost") > > > > My question is, is it possible or not, and if yes how (almost a direction > > or a clue will be perfect). > > > > Thanks by advance for your time. > > > > Jerome Lepage > > AKEROZ >