qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Finkelstein, Alexei" <afinkelst...@Informatica.com>
Subject Qpid cluster setup problem
Date Tue, 11 Dec 2007 13:25:40 GMT
Hello,

I'm trying to run a qpid cluster for HA

 

I run 

  org.apache.qpid.server.cluster.Main -p 1155 -m 8999

in one window and 

  org.apache.qpid.server.cluster.Main -p 1156 -m 8998 -j localhost:1155

in another, my log level is "info", well the second one throws an
exception

 

2007-12-11 11:48:42,399 INFO  [AnonymousIoService-1]
cluster.MinaBrokerProxy$MinaBinding (MinaBrokerProxy.java:237) -
MinaBrokerProxy[/10.40.0.131:1155]: opened

2007-12-11 11:48:42,399 ERROR [AnonymousIoService-2]
cluster.MinaBrokerProxy$MinaBinding (MinaBrokerProxy.java:247) -
MinaBrokerProxy[/10.40.0.131:1155]: received
java.lang.NullPointerException

java.lang.NullPointerException

        at
org.apache.qpid.client.handler.ConnectionStartMethodHandler.methodReceiv
ed(ConnectionStartMethodHandler.java:86)

        at
org.apache.qpid.client.state.AMQStateManager.methodReceived(AMQStateMana
ger.java:183)

        at
org.apache.qpid.server.cluster.ClientAdapter.handle(ClientAdapter.java:5
5)

        at
org.apache.qpid.server.cluster.MinaBrokerProxy.handleMethod(MinaBrokerPr
oxy.java:188)

        at
org.apache.qpid.server.cluster.MinaBrokerProxy.handleFrame(MinaBrokerPro
xy.java:206)

        at
org.apache.qpid.server.cluster.MinaBrokerProxy.access$400(MinaBrokerProx
y.java:51)

        at
org.apache.qpid.server.cluster.MinaBrokerProxy$MinaBinding.messageReceiv
ed(MinaBrokerProxy.java:259)

        at
org.apache.mina.common.support.AbstractIoFilterChain$2.messageReceived(A
bstractIoFilterChain.java:189)

        at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRece
ived(AbstractIoFilterChain.java:502)

        at
org.apache.mina.common.support.AbstractIoFilterChain.access$1000(Abstrac
tIoFilterChain.java:52)

        at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.message
Received(AbstractIoFilterChain.java:777)

        at
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(S
impleProtocolDecoderOutput.java:60)

        at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Protoco
lCodecFilter.java:185)

        at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRece
ived(AbstractIoFilterChain.java:502)

        at
org.apache.mina.common.support.AbstractIoFilterChain.access$1000(Abstrac
tIoFilterChain.java:52)

        at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.message
Received(AbstractIoFilterChain.java:777)

        at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilt
er.java:243)

        at
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run
(ExecutorFilter.java:305)

        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)

        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)

        at java.lang.Thread.run(Thread.java:595)

2007-12-11 11:48:42,431 WARN  [AnonymousIoService-2] util.SessionLog
(SessionLog.java:102) - [/10.40.0.131:1155] Unexpected exception from
exceptionCaught handler.

java.lang.NullPointerException

        at
org.apache.qpid.server.cluster.BrokerGroup.isLeader(BrokerGroup.java:248
)

        at
org.apache.qpid.server.cluster.BrokerGroup.isLeader(BrokerGroup.java:257
)

        at
org.apache.qpid.server.cluster.DefaultGroupManager.isLeader(DefaultGroup
Manager.java:323)

        at
org.apache.qpid.server.cluster.DefaultGroupManager.failed(DefaultGroupMa
nager.java:365)

        at org.apache.qpid.server.cluster.Broker.failed(Broker.java:77)

        at
org.apache.qpid.server.cluster.MinaBrokerProxy$MinaBinding.exceptionCaug
ht(MinaBrokerProxy.java:252)

        at
org.apache.mina.common.support.AbstractIoFilterChain$2.exceptionCaught(A
bstractIoFilterChain.java:181)

        at
org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCa
ught(AbstractIoFilterChain.java:551)

        at
org.apache.mina.common.support.AbstractIoFilterChain.access$900(Abstract
IoFilterChain.java:52)

        at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.excepti
onCaught(AbstractIoFilterChain.java:771)

        at
org.apache.mina.common.IoFilterAdapter.exceptionCaught(IoFilterAdapter.j
ava:78)

        at
org.apache.mina.common.support.AbstractIoFilterChain.callNextExceptionCa
ught(AbstractIoFilterChain.java:551)

        at
org.apache.mina.common.support.AbstractIoFilterChain.access$900(Abstract
IoFilterChain.java:52)

        at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.excepti
onCaught(AbstractIoFilterChain.java:771)

        at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilt
er.java:253)

        at
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run
(ExecutorFilter.java:305)

        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)

        at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)

        at java.lang.Thread.run(Thread.java:595)

 

first one logs :

 

2007-12-11 15:23:24,964 INFO  [main] cluster.DefaultGroupManager
(DefaultGroupManager.java:48) - 10.40.0.131:1155

2007-12-11 15:23:25,058 INFO  [main] cluster.Main (Main.java:93) -
Qpid.AMQP listening on non-SSL port 1155

2007-12-11 15:23:25,058 INFO  [main] cluster.BrokerGroup
(BrokerGroup.java:332) - Changed state from UNINITIALISED to JOINED

2007-12-11 15:23:25,058 INFO  [main] cluster.DefaultGroupManager
(DefaultGroupManager.java:151) - Established cluster

2007-12-11 15:23:36,151 INFO  [SocketAcceptorIoProcessor-0.0]
protocol.AMQPFastProtocolHandler (AMQPFastProtocolHandler.java:85) -
Protocol session created for:/10.40.0.131:3015

2007-12-11 15:23:36,151 INFO  [SocketAcceptorIoProcessor-0.0]
protocol.AMQPFastProtocolHandler (AMQPFastProtocolHandler.java:130) -
Session opened for:/10.40.0.131:3015

2007-12-11 15:23:36,276 INFO  [pool-2-thread-4]
protocol.AMQPFastProtocolHandler (AMQPFastProtocolHandler.java:135) -
Protocol Session closed for:/10.40.0.131:3015

 

Is there something I'm doing wrong?

Thank you


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message