You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jadeler <ja...@yahoo.ca> on 2005/09/20 20:55:52 UTC

Refreshing the application properties

Is there a way to refresh the application properties
without redeploying or restarting a web app?  I havent
found a way to do this.  

Jade

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Refreshing the application properties

Posted by ichy <ic...@gmail.com>.
hi, Jade.
 commons-configuration may fit to your needs.
have you checked that out?

 2005/9/21, Jadeler <ja...@yahoo.ca>: 
> 
> Is there a way to refresh the application properties
> without redeploying or restarting a web app? I havent
> found a way to do this.
> 
> Jade
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

Re: Refreshing the application properties

Posted by Laurie Harper <la...@holoweb.net>.
At least w/ Tomcat (versions I've used, anyway, don't know about 5.5) it 
will serialize the sessions to disk then reload them. No idea about 
Oracle App Server.

L.

Jadeler wrote:
> When a server does redeploy the application, doesnt it
> kick current users sessions?  I've read of hot
> deployments before and cant remember if that will
> maintain the current session for the user. Do you know
> how to do this in Oracle App server?
> 
>  
> 
> --- Laurie Harper <la...@holoweb.net> wrote:
> 
> 
>>Jadeler wrote:
>>
>>>Is there a way to refresh the application
>>
>>properties
>>
>>>without redeploying or restarting a web app?  I
>>
>>havent
>>
>>>found a way to do this.  
>>
>>If you're using Tomcat, you can configure the
>>context to be reloadable, 
>>which will cause Tomcat to re-deploy to webapp when
>>anything on the 
>>classpath changes (including resource bundle
>>property files). Other 
>>servlet containers probably have something similar.
>>
>>L.
>>
>>[1]
>>
> 
> http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
> 
>>
>>
> ---------------------------------------------------------------------
> 
>>To unsubscribe, e-mail:
>>user-unsubscribe@struts.apache.org
>>For additional commands, e-mail:
>>user-help@struts.apache.org
>>
>>
> 
> 
> 
> 
> 	
> 
> 	
> 		
> __________________________________________________________ 
> Find your next car at http://autos.yahoo.ca


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Refreshing the application properties

Posted by Jadeler <ja...@yahoo.ca>.
When a server does redeploy the application, doesnt it
kick current users sessions?  I've read of hot
deployments before and cant remember if that will
maintain the current session for the user. Do you know
how to do this in Oracle App server?

 

--- Laurie Harper <la...@holoweb.net> wrote:

> Jadeler wrote:
> > Is there a way to refresh the application
> properties
> > without redeploying or restarting a web app?  I
> havent
> > found a way to do this.  
> 
> If you're using Tomcat, you can configure the
> context to be reloadable, 
> which will cause Tomcat to re-deploy to webapp when
> anything on the 
> classpath changes (including resource bundle
> property files). Other 
> servlet containers probably have something similar.
> 
> L.
> 
> [1]
>
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@struts.apache.org
> For additional commands, e-mail:
> user-help@struts.apache.org
> 
> 



	

	
		
__________________________________________________________ 
Find your next car at http://autos.yahoo.ca

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Refreshing the application properties

Posted by Laurie Harper <la...@holoweb.net>.
Jadeler wrote:
> Is there a way to refresh the application properties
> without redeploying or restarting a web app?  I havent
> found a way to do this.  

If you're using Tomcat, you can configure the context to be reloadable, 
which will cause Tomcat to re-deploy to webapp when anything on the 
classpath changes (including resource bundle property files). Other 
servlet containers probably have something similar.

L.

[1] http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org