SwiftMQ HA Errors

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

SwiftMQ HA Errors

Bertrand
Hello,

I'm using SwiftMQ HA 6.1.0 and I have some problems to run it.
I configure SwiftMQ with the HAWizard, I deploy SwiftMQ distribution on both computer (with the readme.txt)
I run the first router, then the second. There is no firewall between computers.
When the active router is down, the standby router wake-up and I have some errors :

============================================
[...]
+++ High Availability State: STANDBY/STANDBY
... resume: Authentication Swiftlet
... resume: Store Swiftlet (HA)
... resume: Queue Manager Swiftlet (HA)
... resume: Topic Manager Swiftlet
... resume: Management Swiftlet
... resume: XA Resource Manager Swiftlet
... resume: Routing Swiftlet (Unlimited Connections)
... resume: JNDI Swiftlet
... resume: JMS Swiftlet (XAASF)
com.swiftmq.swiftlet.SwiftletException: Address already in use
        at com.swiftmq.impl.jms.standard.JMSSwiftlet.b(Unknown Source)
        at com.swiftmq.impl.jms.standard.JMSSwiftlet.b(Unknown Source)
        at com.swiftmq.impl.jms.standard.JMSSwiftlet.startup(Unknown Source)
        at com.swiftmq.impl.jms.xaasf.XAJMSSwiftlet.startup(Unknown Source)
        at com.swiftmq.swiftlet.Swiftlet.resume(Unknown Source)
        at com.swiftmq.swiftlet.HASwiftletManager.resumeKernelSwiftlet(Unknown Source)
        at com.swiftmq.swiftlet.HASwiftletManager.stateChangedAction(Unknown Source)
        at com.swiftmq.swiftlet.HASwiftletManager.access$700(Unknown Source)
        at com.swiftmq.swiftlet.HASwiftletManager$HAAdapter.stateStandalone(Unknown Source)
        at com.swiftmq.impl.hacontroller.standard.state.StateRegistry.a(Unknown Source)
        at com.swiftmq.impl.hacontroller.standard.state.StateRegistry.setCurrentState(Unknown Source)
        at com.swiftmq.impl.hacontroller.standard.state.StateRegistry.channelDeactivated(Unknown Source)
        at com.swiftmq.impl.hacontroller.standard.connection.ChannelOutboundDispatcher.visit(Unknown Source)
        at com.swiftmq.impl.hacontroller.standard.connection.po.POConnectionRemove.accept(Unknown Source)
        at com.swiftmq.tools.pipeline.PipelineQueue.process(Unknown Source)
        at com.swiftmq.tools.queue.SingleProcessorQueue.dequeue(Unknown Source)
        at com.swiftmq.tools.pipeline.PipelineQueue$QueueProcessor.run(Unknown Source)
        at com.swiftmq.impl.threadpool.standard.PoolThread.run(Unknown Source)
... resume: Deploy Swiftlet
... resume: JMS Application Container Swiftlet
... resume: Scheduler Swiftlet
... resume: Monitor Swiftlet
+++ High Availability State: STANDALONE/STANDALONE

============================================

When I stop routers and I start one of them :

Booting SwiftMQ 6.1.0 Production ...
... startup: Trace Swiftlet
... startup: Log Swiftlet
... startup: Threadpool Swiftlet
... startup: Timer Swiftlet
... startup: Network Swiftlet
... startup: High Availability Controller Swiftlet
+++ Waiting for Negotiation (timeout: 120000 ms) ...
SwiftMQ 6.1.0 Production is ready.
+++ High Availability State: UNKNOWN/UNKNOWN
... startup: Authentication Swiftlet
... startup: Store Swiftlet (HA)
... startup: Queue Manager Swiftlet (HA)
... startup: Topic Manager Swiftlet
... startup: Management Swiftlet
... startup: XA Resource Manager Swiftlet
... startup: Routing Swiftlet (Unlimited Connections)
... startup: JNDI Swiftlet
... startup: JMS Swiftlet (XAASF)
com.swiftmq.swiftlet.SwiftletException: Address already in use
        at com.swiftmq.impl.jms.standard.JMSSwiftlet.b(Unknown Source)
        at com.swiftmq.impl.jms.standard.JMSSwiftlet.b(Unknown Source)
        at com.swiftmq.impl.jms.standard.JMSSwiftlet.startup(Unknown Source)
        at com.swiftmq.impl.jms.xaasf.XAJMSSwiftlet.startup(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startUpSwiftlet(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startKernelSwiftlet(Unknown Source)
        at com.swiftmq.swiftlet.HASwiftletManager.stateChangedAction(Unknown Source)
        at com.swiftmq.swiftlet.HASwiftletManager.access$700(Unknown Source)
        at com.swiftmq.swiftlet.HASwiftletManager$HAAdapter.stateStandalone(Unknown Source)
        at com.swiftmq.impl.hacontroller.standard.state.StateRegistry.a(Unknown Source)
        at com.swiftmq.impl.hacontroller.standard.state.StateRegistry.setCurrentState(Unknown Source)
        at com.swiftmq.impl.hacontroller.standard.state.StateRegistry.performTimeAction(Unknown Source)
        at com.swiftmq.impl.timer.standard.d.run(Unknown Source)
        at com.swiftmq.impl.threadpool.standard.PoolThread.run(Unknown Source)
... startup: Deploy Swiftlet
... startup: JMS Application Container Swiftlet
... startup: Scheduler Swiftlet
... startup: Monitor Swiftlet
+++ High Availability State: STANDALONE/STANDALONE

============================================

When the two routers are up, I try to connect with cli (with the readme.txt configuration) :

+++ High Availability State: STANDALONE/STANDALONE
+++ High Availability State: INITIALIZE/STANDALONE
+++ High Availability State: NEGOTIATE/STANDALONE
+++ High Availability State: ACTIVE-SYNC-PREPARE/ACTIVE-SYNC-PREPARE
+++ High Availability State: ACTIVE-SYNC/ACTIVE-SYNC
+++ High Availability State: ACTIVE/ACTIVE
Replication connection already active, rejected!
Replication connection already active, rejected!
Replication connection already active, rejected!
Replication connection already active, rejected!
Replication connection already active, rejected!
Replication connection already active, rejected!
Replication connection already active, rejected!

============================================

Is my configuration bad ?
Did I forgot something?

Regards,
Reply | Threaded
Open this post in threaded view
|

Re: SwiftMQ HA Errors

IIT Software
Administrator
The port of the replication channel and the JMS listener port is the same.