Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread derkoe
Massimo Lusetti wrote > > So do you manage ram and server settings for each tomcat instance, right? > Yes, we created scripts for setting up and managing Tomcats because we have lots of webapps and Tomcats. Chris -- View this message in context: http://tapestry.1045711.n5.nabble.com/Multipl

Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread trsvax
I only run one Tomcat instance for everything. Be sure and use the incremental garbage collector. Before I did that things would just freeze for a minute or two when you run with large amounts of ram. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Multiple-Tapestry5-app-on

Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread trsvax
I've done this various ways and they all seem to work fine. 1. Virtual Tomcat hosts 2. Virtual Apache hosts 3. Just dump everything in webapp Just depends on what you need. I agree about sharing jars. The only thing I share is database drivers and the ones needed to email because I config log4j

Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread Massimo Lusetti
On Thu, Apr 26, 2012 at 12:28 PM, derkoe wrote: > We use Tomcat with a single CATALINA_HOME and multiple CATALINA_BASE - > usually one per "logical application". A "logical application" consist of > one or more WARs. > > We usually do not put JARs in the common/lib - we do that just for database

Re: Multiple Tapestry5 app on a single server

2012-04-26 Thread derkoe
Massimo Lusetti wrote > > Hi all, > I'm in the need to prepare a server for hosting multiple (read from 6 to > 8) tapestry5 apps. > > Do anyone have any experience in this field? Which is your typical > settings in this scenario? > We use Tomcat with a single CATALINA_HOME and multiple CATALIN