You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2023/02/28 13:29:00 UTC

[jira] [Commented] (WW-5286) Allow XWork configuration reloading at any time

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

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

I would say the reload functionality is intended to be used in {{devMode}} only.

> 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
>
> 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)