[jboss-jira] [JBoss JIRA] (WFLY-5453) NPE during backup activation in collocated HA topology

Miroslav Novak (JIRA) issues at jboss.org
Tue Oct 6 11:33:01 EDT 2015


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

Miroslav Novak commented on WFLY-5453:
--------------------------------------

Yes, after adding <slave/> there is no NPE during backup activation but I see problem conflicting(same) server-id for invm acceptor of starting backup:
{code}
17:28:18,289 INFO  [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ221007: Server is now live
17:28:18,291 ERROR [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ224000: Failure in initialisation: java.lang.IllegalArgumentException: AMQ119062: Acceptor with id 0 already registered
	at org.apache.activemq.artemis.core.remoting.impl.invm.InVMRegistry.registerAcceptor(InVMRegistry.java:32)
	at org.apache.activemq.artemis.core.remoting.impl.invm.InVMAcceptor.start(InVMAcceptor.java:110)
	at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.startAcceptors(RemotingServiceImpl.java:286)
	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.completeActivation(ActiveMQServerImpl.java:1593)
	at org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:260)
	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_51]

17:28:18,295 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) java.lang.IllegalArgumentException: AMQ119062: Acceptor with id 0 already registered
17:28:18,295 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) 	at org.apache.activemq.artemis.core.remoting.impl.invm.InVMRegistry.registerAcceptor(InVMRegistry.java:32)
17:28:18,295 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) 	at org.apache.activemq.artemis.core.remoting.impl.invm.InVMAcceptor.start(InVMAcceptor.java:110)
17:28:18,296 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) 	at org.apache.activemq.artemis.core.remoting.server.impl.RemotingServiceImpl.startAcceptors(RemotingServiceImpl.java:286)
17:28:18,296 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) 	at org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.completeActivation(ActiveMQServerImpl.java:1593)
17:28:18,296 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) 	at org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:260)
17:28:18,296 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) 	at java.lang.Thread.run(Thread.java:745)
{code}

Live and collocated backup has same server-id for in-vm acceptor. Is it possible to change server-id of in-vm acceptor of collocated backup to value different from live in automatic way?

> NPE during backup activation in collocated HA topology
> ------------------------------------------------------
>
>                 Key: WFLY-5453
>                 URL: https://issues.jboss.org/browse/WFLY-5453
>             Project: WildFly
>          Issue Type: Bug
>          Components: JMS
>    Affects Versions: 10.0.0.CR2
>            Reporter: Miroslav Novak
>            Assignee: Clebert Suconic
>            Priority: Blocker
>         Attachments: standalone-full-ha-1.xml, standalone-full-ha-2.xml
>
>
> If there are 2 EAP 7.0.0.DR11(Artemis 1.1.0) in collocated HA topology with replicated journal then backup does not activate after one server is killed. There is NPE in log of 2nd EAP server:
> {code}
> 10:13:12,231 ERROR [org.apache.activemq.artemis.core.server] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) AMQ224000: Failure in initialisation: java.lang.NullPointerException
> 	at org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:235)
> 	at java.lang.Thread.run(Thread.java:745)
> 10:13:12,235 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) java.lang.NullPointerException
> 10:13:12,235 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) 	at org.apache.activemq.artemis.core.server.impl.SharedNothingBackupActivation.run(SharedNothingBackupActivation.java:235)
> 10:13:12,236 ERROR [stderr] (AMQ119000: Activation for server ActiveMQServerImpl::serverUUID=null) 	at java.lang.Thread.run(Thread.java:745)
> {code}
> Attaching configuration of both of the servers.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list