[ 
https://issues.apache.org/jira/browse/WW-5286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694889#comment-17694889
 ] 

Lukasz Lenart commented on WW-5286:
-----------------------------------

The reload() functionality is a brutal _destroy & create_ operation, that's why 
using it out of devMode can be hard.

> Allow XWork configuration reloading at any time
> -----------------------------------------------
>
>                 Key: WW-5286
>                 URL: https://issues.apache.org/jira/browse/WW-5286
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 6.1.1
>            Reporter: Kusal Kithul-Godage
>            Priority: Minor
>             Fix For: 6.2.0
>
>
> Currently, if a
> {{com.opensymphony.xwork2.config.ConfigurationManager#reload}}
> or
> {{com.opensymphony.xwork2.config.ConfigurationManager#reloadProviders}}
> are triggered, any Struts requests that are in the process of being served, 
> or commence serving during the reload, will malfunction.
> To make reloading the container configuration safe at any time, the reload 
> should wait until any commenced requests are finished serving, and should not 
> commence serving any new requests until the container reload is complete.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to