[ 
http://jira.magnolia-cms.com/browse/BLOSSOM-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tobias Mattsson closed BLOSSOM-7.
---------------------------------

    Fix Version/s: 1.1.1
       Resolution: Fixed

The contextLoader variable is now set to null when the ApplicationContext is 
closed. 

> ContextLoader is not released correctly on module reload.
> ---------------------------------------------------------
>
>                 Key: BLOSSOM-7
>                 URL: http://jira.magnolia-cms.com/browse/BLOSSOM-7
>             Project: Magnolia Blossom Module
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Danilo Ghirardelli
>            Assignee: Tobias Mattsson
>             Fix For: 1.1.1
>
>
> In class BlossomModuleSupport, when calling method 
> closeRootWebApplicationContext(), the spring application context is closed 
> correctly, but the "contextLoader" in the class is not set to null.
> When a blossom module reloads itself (which may happen on any change on 
> /modules/<module>/config node), the spring application context can be closed, 
> but a reference to the contextLoader is left anyway. When the start of the 
> module is called, it finds an instance of contextLoader (even if the context 
> is closed) and throws exception, so it's impossible to reload context until 
> server restart. Is this wanted for some reason or it is a bug?
> If it is wanted you should update the example on the wiki page to avoid 
> spring re-initialization when the lifecicle of the module is a simple reload 
> and not a system start/shutdown (which I think it would be a good practice 
> anyway).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to