You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Massimo Lusetti <ml...@gmail.com> on 2012/04/26 12:20:28 UTC

Multiple Tapestry5 app on a single server

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?

Cheers
-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Multiple Tapestry5 app on a single server

Posted by trsvax <tr...@gmail.com>.
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 to email errors.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Multiple-Tapestry5-app-on-a-single-server-tp5667202p5667434.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Multiple Tapestry5 app on a single server

Posted by derkoe <ta...@gmail.com>.
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/Multiple-Tapestry5-app-on-a-single-server-tp5667202p5668400.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Multiple Tapestry5 app on a single server

Posted by trsvax <tr...@gmail.com>.
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-a-single-server-tp5667202p5667445.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Multiple Tapestry5 app on a single server

Posted by Massimo Lusetti <ml...@gmail.com>.
On Thu, Apr 26, 2012 at 12:28 PM, derkoe
<ta...@gmail.com> 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
> drivers (so that Tomcat can manage the db pool).

So do you manage ram and server settings for each tomcat instance, right?

BTW thanks for the tip...

-- 
Massimo
http://meridio.blogspot.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Multiple Tapestry5 app on a single server

Posted by derkoe <ta...@gmail.com>.
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 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
drivers (so that Tomcat can manage the db pool).

Chris

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Multiple-Tapestry5-app-on-a-single-server-tp5667202p5667217.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org