[jboss-jira] [JBoss JIRA] (WFLY-171) AS7 messaging resources throws NPE when hornetq-server is a backup

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Tue Jul 23 14:48:27 EDT 2013


    [ https://issues.jboss.org/browse/WFLY-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12792171#comment-12792171 ] 

RH Bugzilla Integration commented on WFLY-171:
----------------------------------------------

mark yarborough <myarboro at redhat.com> changed the Status of [bug 918131|https://bugzilla.redhat.com/show_bug.cgi?id=918131] from VERIFIED to CLOSED
                
> AS7 messaging resources throws NPE when hornetq-server is a backup
> ------------------------------------------------------------------
>
>                 Key: WFLY-171
>                 URL: https://issues.jboss.org/browse/WFLY-171
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>            Reporter: Jeff Mesnil
>            Assignee: Jeff Mesnil
>             Fix For: 8.0.0.Alpha1
>
>
> steps to reproduce:
> Configure AS7's hornetq-server to be a backup ready for failover.
> Run AS7 standalone-full configuration with hornetq-server configured to be a backup:
> {noformat}
> <hornetq-server>
>    <backup>true</backup>
>    ...
> {noformat}
> The AS7 will start, its hornetq-server too *but* it will not be active:
> {noformat}
> 18:24:56,527 INFO  [org.hornetq.core.server] (HQ119001: Activation for server HornetQServerImpl::serverUUID=349065dd-87f2-11e2-911d-f19bf97ea7a7) HQ002211: HornetQ Backup Server version 2.3.0.CR1 (buzzzzz!, 122) [349065dd-87f2-11e2-911d-f19bf97ea7a7] started, waiting live to fail before it gets active
> {noformat}
> The hornetq server will not become active until a live node fails. When this occurs, the server will become active, accept connection, create core and JMS resources etc.
> The issue is that any runtime operation on a hornetq-server's children will fail.
> The runtime operations rely on HornetQ's management resource (eg TopicControl, QueueControl) and these objects are not available until HornetQ server is active.
> For AS7 integration that means that we must somehow prevent any runtime changes to any hornetq-server's children resources for a passive server. There are no corresponding runtime resources in HornetQ for them.
> Additionnaly, hornetq-server does not expose the "active" runtime attribute to know whether the server is active.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list