RE: RE: File replication (Tomcat cluster ?)

2003-07-17 Thread Nicolas LANTERNIER
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

-Message d'origine-
De : David Rees [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 16 juillet 2003 20:34
À : Tomcat Users List
Objet : Re: RE: 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 suggest using.  Besides this, you can change
your deployment procedures to deploy on all servers instead of just one.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: File replication (Tomcat cluster ?)

2003-07-17 Thread David Rees
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 unless your goals 
are to only spread out the workload) or to implement the file 
distribution in your application itself or rsync or some other mechanism 
as someone else suggested.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


File replication (Tomcat cluster ?)

2003-07-16 Thread Nicolas LANTERNIER
Hello,

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 ?

 ... Sorry for my poor english
___
 Nicou


Re: File replication (Tomcat cluster ?)

2003-07-16 Thread David Rees
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.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: File replication (Tomcat cluster ?)

2003-07-16 Thread Simon Pabst
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 cluster and I need to replicate
the content of the Webapp directory.
Is it possible ? and how to configure it ?

 ... Sorry for my poor english
___
 Nicou


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: RE: File replication (Tomcat cluster ?)

2003-07-16 Thread Simon Pabst
Oh, didn't realize you're on different servers,
too much thinking in our own setup, sry ;-)

Hmm NFS has its own file caches so you could do that,
besides Tomcat caches stuff in its own local work directory and Ram.

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.



Tomcat Users List [EMAIL PROTECTED] schrieb am 16.07.03 18:39:51:
 
 So I should share the same directory for the Tomcat Servers, with nfs ?
 
 Is It a Good Solution 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 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 cluster and I need to
 replicate
 the content of the Webapp directory.
 
 Is it possible ? and how to configure it ?
 
   ... Sorry for my poor english
 ___
   Nicou
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-- 
Simon Pabst

E-Mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: RE: File replication (Tomcat cluster ?)

2003-07-16 Thread David Rees
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 can change
your deployment procedures to deploy on all servers instead of just one.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]