RE: Reloading of application resources

2003-12-16 Thread Eric SCHULTZ
interactives 14 Commerce Place, 5th floor Nun's Island, QC H4E 1T5 t: 514 768-1000 f: 514 768-7680 -Original Message- From: Joe Germuska [mailto:[EMAIL PROTECTED] Sent: December 15, 2003 11:14 To: Struts Users Mailing List Subject: RE: Reloading of application resources At 11:42 AM +0200 12/15/03

Re: Reloading of application resources

2003-12-16 Thread beyaRecords - The home Urban music
To: Struts Users Mailing List Subject: RE: Reloading of application resources At 11:42 AM +0200 12/15/03, Nicklas Karlsson wrote: On Mon, 15 Dec 2003, Yves Sy wrote: Create a thread in your cache manager that polls for changes in the timestamp of the properties file, say, every 5000 ms

RE: Reloading of application resources

2003-12-16 Thread Nicklas Karlsson
On Tue, 16 Dec 2003, Eric SCHULTZ wrote: I need to do something similar with additional configuration properties for a particular action. I figure I need to write a plug-in that creates a thread that checks the properties file every x seconds and if changed reloads it into a context

RE: Reloading of application resources

2003-12-16 Thread Joe Germuska
I'd suggest that if you can achieve the same goals by writing a PlugIn implementation that you might achieve by extending the ActionServlet, you're probably better off writing the PlugIn. You could avoid creating a thread by implementing a freshness check at an access point. That is, rather

RE: Reloading of application resources

2003-12-16 Thread John . Pitchko
BDY.RTF Description: RTF file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Reloading of application resources

2003-12-16 Thread Pedro Salgado
I think someone mentioned an OJBMessageResources to retrieve MessageResources from a database, some days ago. I haven't tried yet (it's on my todo list) but maybe it has what you need. Here goes the link: http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsMessageResourcesFromDatab ase

RE: Reloading of application resources

2003-12-16 Thread Eric SCHULTZ
[mailto:[EMAIL PROTECTED] Sent: December 16, 2003 14:53 To: Struts Users Mailing List Subject: RE: Reloading of application resources I'd suggest that if you can achieve the same goals by writing a PlugIn implementation that you might achieve by extending the ActionServlet, you're probably better

RE: Reloading of application resources

2003-12-15 Thread Yves Sy
Create a thread in your cache manager that polls for changes in the timestamp of the properties file, say, every 5000 ms and reloads it when a new one is detected. Of course a clustered environment will complicate things a little bit but that's a another story :o) -Yves- -Original

RE: Reloading of application resources

2003-12-15 Thread Nicklas Karlsson
On Mon, 15 Dec 2003, Yves Sy wrote: Create a thread in your cache manager that polls for changes in the timestamp of the properties file, say, every 5000 ms and reloads it when a new one is detected. Yes, but the problem is not at the cache end, the issues are how to trigger the

RE: Reloading of application resources

2003-12-15 Thread Joe Germuska
At 11:42 AM +0200 12/15/03, Nicklas Karlsson wrote: On Mon, 15 Dec 2003, Yves Sy wrote: Create a thread in your cache manager that polls for changes in the timestamp of the properties file, say, every 5000 ms and reloads it when a new one is detected. Yes, but the problem is not at the