You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Pierre-Alexandre <se...@yahoo.fr> on 2005/09/20 09:23:35 UTC

properties file reload

Hello,
 
I have made a transaction in tapestry to change the properties file of my application. ie I can change the traduction of my application in my application
 
I've got a problem to reload this properties file directly without restarting the tomcat. I've try this method : getEngine().getComponentMessagesSource().reset(); but it works only the fisrt time after the deployment.
 
Can anyone help me ?
 
Thanks 
 
Pierre-Alexandre
 

		
---------------------------------
 Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
 Téléchargez le ici !  

Re: properties file reload

Posted by Jonathan O'Connor <Jo...@xcom.de>.
Pierre,
In Tapestry 3, the code that reads the property files caches the result, so
it only has to read the file once. I don't remember if it is possible to
empty the cache (I suspect it is not).
Ciao,
Jonathan O'Connor
XCOM Dublin


                                                                           
             Pierre-Alexandre                                              
             <secam2004@yahoo.                                             
             fr>                                                        To 
                                       tapestry-user@jakarta.apache.org    
             20/09/2005 08:23                                           cc 
                                                                           
                                                                   Subject 
             Please respond to         properties file reload              
             "Tapestry users"                                              
             <tapestry-user@ja                                             
             karta.apache.org>                                             
                                                                           
                                                                           
                                                                           




Hello,

I have made a transaction in tapestry to change the properties file of my
application. ie I can change the traduction of my application in my
application

I've got a problem to reload this properties file directly without
restarting the tomcat. I've try this method :
getEngine().getComponentMessagesSource().reset(); but it works only the
fisrt time after the deployment.

Can anyone help me ?

Thanks

Pierre-Alexandre



---------------------------------
 Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
 Téléchargez le ici !



*** XCOM AG Legal Disclaimer ***

Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist allein
für den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten ist
das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten,
eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen und uns
eine Nachricht zukommen zu lassen.

This email may contain material that is confidential and for the sole use
of the intended recipient. Any review, distribution by others or forwarding
without express permission is strictly prohibited. If you are not the
intended recipient, please contact the sender and delete all copies.