> -----Original Message-----
> From: Santosh Kulkarni [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 11, 2002 12:25 AM
> To: [EMAIL PROTECTED]
> 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.

My 2 cents.
You can run a daemon thread which shall check the values in your database
after a specified time gap say 2 mins, and if the database value has been
changed, then the corresponding value in the context can be refreshed.

> TIA
> Santosh
Vikram.
> 
> __________________________________________________
> 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