: File replication (Tomcat cluster ?)
Simon Pabst said:
Or you just set up a script/cronjob to do an rsync or scp/rcp between the
two local directories.
Don't think Tomcat itself has anything which makes that possible (correct
me if i'm wrong), maybe Tomcat 5 will.
This is the method I would
Nicolas LANTERNIER wrote:
For the deployment, there's no problem,
But my application allow users to upload files in Tomcat, so I need a
synchronisation between my 2 tomcat
Then your best bet is either use NFS orother shared filesystem (which
IMO somewhat defeats the purpose of clustering Tomcat
Nicolas LANTERNIER wrote:
I have two Tomcat Servers working in session cluster and I need to replicate
the content of the Webapp directory.
Is it possible ? and how to configure it ?
This is not something that Tomcat will handle. You will need to setup
your own replication of the document root.
Normally there's no need for replicating your webapp,
just put it somewhere outside the tomcat directories and point the
application contexts in both tomcats to that directory (with absolute
pathnames)
At 17:13 16.07.2003 +0200, you wrote:
Hello,
I have two Tomcat Servers working in session
for High Load environment ?
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoye : mercredi 16 juillet 2003 18:22
A : Tomcat Users List
Objet : Re: File replication (Tomcat cluster ?)
Normally there's no need for replicating your webapp,
just put
Simon Pabst said:
Or you just set up a script/cronjob to do an rsync or scp/rcp between the
two local directories.
Don't think Tomcat itself has anything which makes that possible (correct
me if i'm wrong), maybe Tomcat 5 will.
This is the method I would suggest using. Besides this, you