]
RH Bugzilla Integration commented on AS7-6699:
----------------------------------------------
Paul Gier <pgier(a)redhat.com> changed the Status of [bug
AS7 messaging resources throws NPE when hornetq-server is a backup
------------------------------------------------------------------
Key: AS7-6699
URL:
https://issues.jboss.org/browse/AS7-6699
Project: Application Server 7
Issue Type: Bug
Components: JMS
Affects Versions: 7.1.3.Final (EAP)
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: