cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shahriar Aghajani <>
Subject Re: Multiple or single cocoon instances
Date Thu, 03 Apr 2008 22:44:31 GMT
Hi All,

I'd like to know about this too.  How do people run a fleet of disparate 
Cocoon applications/websites on a single server?

I have a hand full of Cocoon sites that I'm running on the same server, 
under Tomcat, each as a separate virtual host.

Anyway to minimize the memory usage?  Can I move portions of the cocoon 
2.2 libraries under Tomcat, and if so, will tomcat share the objects 
across the contexts?

Thank you,

Kamal wrote:
> We have multiple "applications" in one cocoon. I guess it depends on 
> what you are doing, how much you can afford to spend on hardware and 
> how important is zero down time.
> If you have loads of money to spend on hardware (including 
> maintenance), and you are bundling Java classes with Cocoon, then go 
> with multiple instances of Cocoon. If you have one application server, 
> what I don't recommend, is a scenario with multiple instances of 
> Cocoon, all sitting in an a single application server. This is a 
> disaster IMHO. Cocoon is a beast it is difficult to manage this well. 
> Another thing I don't recommend is using mount tables. They seem like 
> a good idea, but they are not as they are managed within Cocoon it is 
> harder to change. In fact, if you are using an application server, you 
> should try to get as much of the application off the application server.
> I am actually curious as to how people run Cocoon. That is, do you use 
> an application server (JBoss, SJSAS) or do people get by with Jetty.
> Jeroen Reijn wrote:
>> Hi Jose,
>> well I guess that depends a bit on what your environment is.
>> We at Hippo have used mulitple project -> 1 cocoon in the past, but 
>> switched to using 1 cocoon instance per project.
>> The problem with multiple project in 1 cocoon is that if one project 
>> causes your server to fail it will drag down all the others.
>> Also with updates it can be more easy to update only one application 
>> instead of shutting down all project because 1 project needs a new 
>> dependency.
>> I guess it's more a personal taste, but a good topic IMO to see how 
>> people handle their cocoon environments.
>> Regards,
>> Jeroen
>> -----Original Message-----
>> From: José Miguel Vieira []
>> Sent: Mon 3/31/2008 11:37 AM
>> To:
>> Subject: Multiple or single cocoon instances
>> Hello,
>> At the moment we have several cocoon projects, about 20 or so, 
>> running inside the same cocoon, version 2.1.10.
>> Is this the best way to do it, or would it be better to have one 
>> cocoon instance per project?
>> Thanks,
>> Miguel
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message