If you really need this you can do in very different ways.
A file can be generated by one instance saying I (TC1) refreshed.
All tomcats are checking from time to time (you specifiy) if there's this
new file.
When there's each tomcat must write its line (I TCi refreshed). The last one
deletes the file.

When say a file, it can be a table on database.
Or you can send an email from each tomcat refreshing to all you want to be
warned. Each tomcat would be checking on its mail box.

Or even easier you have a servlet responsible for refreshing the object in
each tomcat which receives the request for refreshing its object. Each
toncat would then call the corresponding servlet through redirect for
warning them.

you can do by SMS too lol


----- Original Message -----
From: Santosh Kulkarni <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 11, 2002 9:25 AM
Subject: Multiple instances of Tomcat


> Hi,
> I have multiple instances of Tomcat4.0.3, say, TC1,
> TC2, TC3 running on different m/c's and all these are
> talking to the same database. I have some application
> objects stored in each instance. My requirement: When
> I refresh an app object say app1 in TC1, I want to
> refresh this object in TC2 and TC3 too. These app
> objects store same data from the DB, but are specific
> to that tomcat instance. How do I achieve this ?
> Any pointers to this are highly appreciated.
> TIA
> Santosh
>
> __________________________________________________
> Yahoo! - We Remember
> 9-11: A tribute to the more than 3,000 lives lost
> http://dir.remember.yahoo.com/tribute
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


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

Reply via email to