RE: Question about Tomcat context

2008-10-24 Thread Caldarale, Charles R
> From: Peter Crowther [mailto:[EMAIL PROTECTED] > Subject: RE: Question about Tomcat context > > > From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED] > > JAVA_OPTS="-XX:MaxPermSize=512m -Xms24m -Xmx512m" For server environments, you usually want to set Xms to

RE: Question about Tomcat context

2008-10-24 Thread Peter Crowther
> From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED] > But when i launch tomcat with this env vars : > JAVA_OPTS="-XX:MaxPermSize=512m -Xms24m -Xmx512m" Well, yes :-). That should give you enough perm space. > Tomcat looks like not really care about the memory i grant to JVM. > It's seems th

Re: Question about Tomcat context

2008-10-24 Thread Jerome Lepage - AKEROZ
Hi, Thanks to you too for your answers. > Have you tried just deploying it N times, making sure all the jars are in > WEB-INF/lib? > Each webapp should get its own classloader, and hence will have its own copies > of Hibernate and your singleton. I *think* they'll have different contexts, > to

Re: Question about Tomcat context

2008-10-24 Thread Serge Fonville
gt; Jerome Lepage > AKEROZ > > > - Original Message - > From: "Serge Fonville" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Friday, October 24, 2008 11:37 AM > Subject: Re: Question about Tomcat context > > > First a few questi

Re: Question about Tomcat context

2008-10-24 Thread Jerome Lepage - AKEROZ
rge Fonville" <[EMAIL PROTECTED]> To: "Tomcat Users List" 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 s

RE: Question about Tomcat context

2008-10-24 Thread Peter Crowther
> From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED] > 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 Sing

Re: Question about Tomcat context

2008-10-24 Thread Serge Fonville
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 u

Question about Tomcat context

2008-10-24 Thread Jerome Lepage - AKEROZ
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 i