Hi Elsadek,

The setup you are describing probably doesn't make sense, or else we're not 
understanding what you are trying to do.

1) I doesn't make sense to try to load-balance the same application with two 
tomcats on one hardware server. One tomcat is quite capable of heavily loading 
the server, if you configure it property (enough RAM, enough threads, maybe 
look at the NIO connector). Both for load balancing and failover scenarios you 
really need 2 servers.

2) Regarding your actual question: two magnolia public instances *cannot* share 
the same JCR repository. Two JCR repositories certainly cannot share the same 
database schema or filesystem folders. Each JCR repository needs its own 
filesystem space and its own tables in the database. So two tomcats can use the 
same WAR file, yes, but they need to deploy it each to their own respective 
appBase (="webapps") directories.

Regards from Vienna,

Richard

> -----Ursprüngliche Nachricht-----
> Von: [email protected] [mailto:user-list-owner@magnolia-
> cms.com] Im Auftrag von elsadek (via Magnolia Forums)
> Gesendet: Samstag, 22. Februar 2014 09:59
> An: Magnolia User List
> Betreff: [magnolia-user] Re: Two Tomcat instances point to a single war
> artifact ?
> 
> Actually I'm running the CE on one single machine and my goal is load-balance
> Tomcat for the public instance, I'm not sure having the "full stack 
> replication"
> on one machine would be wise.
> 
> --
> Context is everything: http://forum.magnolia-
> cms.com/forum/thread.html?threadId=c1bc6060-ec67-4221-a4c1-
> 1a43ed3ec718
> 
> 
> ----------------------------------------------------------------
> For list details, see http://www.magnolia-cms.com/community/mailing-
> lists.html
> Alternatively, use our forums: http://forum.magnolia-cms.com/
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to