[jboss-jira] [JBoss JIRA] (WFLY-4426) do not revertReloadRequired unless reload was required
Jeff Mesnil (JIRA)
issues at jboss.org
Fri Mar 13 10:35:26 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Mesnil updated WFLY-4426:
------------------------------
Priority: Minor (was: Major)
> do not revertReloadRequired unless reload was required
> ------------------------------------------------------
>
> Key: WFLY-4426
> URL: https://issues.jboss.org/browse/WFLY-4426
> Project: WildFly
> Issue Type: Bug
> Components: JMS
> Affects Versions: 9.0.0.Alpha1
> Reporter: Jeff Mesnil
> Assignee: Jeff Mesnil
> Priority: Minor
> Fix For: 9.0.0.Beta1
>
>
> HornetQReloadRequiredHandlers will call context.reloadRequired() if there performRuntime method is called and a HornetQ server service is installed.
> In turn, it calls context.revertReloadRequired() in their rollbackRuntime if a HornetQ server service is installed.
> However it is possible that at boot time, there is not HornetQ server installed when the performRuntime is installed (so context.reloadRequired is not called).
> Then if an operation fails at boot time and the HornetQReloadRequiredHandlers op is rolled back, there will then be an installed HornetQ server and context.revertReloadRequired() will be called.
> This generated a NPE before WFCORE-591 but it is also a programming error to call context.revertReloadRequired() in a OSH if context.reloadRequired() has not been called beforehands
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list