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

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

Kusal Kithul-Godage created WW-5286:
---------------------------------------

             Summary: 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


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)