-
1. Re: Still some examples fail
jmesnil Jun 15, 2009 4:45 AM (in response to gaohoward)"gaohoward" wrote:
Today I did a quick run-through,
clustered-standalone and embedded failed.
I fixed embedded (it was missing a invm acceptor in its conf).
I've excluded clustered-standalone from the run of all examples (it requires to tweak the configurations to run 3 servers)"gaohoward" wrote:
symmetric-cluster failed occasionally.
What kind of failure do you have? -
2. Re: Still some examples fail
gaohoward Jun 15, 2009 5:14 AM (in response to gaohoward)I think it's time out issue:
[java] JBMServer err:16:17:42,481 WARNING [org.jboss.messaging.core.cluster.impl.DiscoveryGroupImpl] There seem to be more than one broadcasters on the network broadcasting the same node id
[java] javax.jms.JMSException: Timed out waiting for response when sending packet 30
[java] at org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl$ChannelImpl.sendBlocking(RemotingConnectionImpl.java:1164)
[java] at org.jboss.messaging.core.client.impl.ConnectionManagerImpl.createSession(ConnectionManagerImpl.java:329)
[java] at org.jboss.messaging.core.client.impl.ClientSessionFactoryImpl.createSessionInternal(ClientSessionFactoryImpl.java:962)
[java] at org.jboss.messaging.core.client.impl.ClientSessionFactoryImpl.createSession(ClientSessionFactoryImpl.java:706)
[java] at org.jboss.messaging.jms.client.JBossConnection.authorize(JBossConnection.java:510)
[java] at org.jboss.messaging.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:522)
[java] at org.jboss.messaging.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:115)
[java] at org.jboss.messaging.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:110)
[java] at org.jboss.jms.example.SymmetricClusterExample.runExample(SymmetricClusterExample.java:99)
[java] at org.jboss.common.example.JBMExample.run(JBMExample.java:81)
[java] at org.jboss.jms.example.SymmetricClusterExample.main(SymmetricClusterExample.java:65)
[java] Caused by: MessagingException[errorCode=3 message=Timed out waiting for response when sending packet 30]
[java] ... 11 more
[java]
[java] #####################
[java] ### FAILURE! ###
[java] #####################
[java] Java Result: 1 -
3. Re: Still some examples fail
gaohoward Jun 15, 2009 5:20 AM (in response to gaohoward)Also sometimes I got another failure with symmetric:
[java] JBMServer err:17:15:15,641 WARNING [org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl] Connection failure has been detected Channel disconnected:2
[java] JBMServer err:17:15:15,963 SEVERE [org.jboss.messaging.core.server.impl.MessagingServerPacketHandler] Failed to reattach session
[java] JBMServer err:java.lang.IllegalStateException: More than one replicating connection!
[java] JBMServer err: at org.jboss.messaging.core.server.impl.MessagingServerImpl.freezeBackupConnection(MessagingServerImpl.java:843)
[java] JBMServer err: at org.jboss.messaging.core.server.impl.MessagingServerImpl.checkActivate(MessagingServerImpl.java:788)
[java] JBMServer err: at org.jboss.messaging.core.server.impl.MessagingServerImpl.reattachSession(MessagingServerImpl.java:480)
[java] JBMServer err: at org.jboss.messaging.core.server.impl.MessagingServerPacketHandler.handleReattachSession(MessagingServerPacketHandler.java:298)
[java] JBMServer err: at org.jboss.messaging.core.server.impl.MessagingServerPacketHandler.handlePacket(MessagingServerPacketHandler.java:128)
[java] JBMServer err: at org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl$ChannelImpl.handlePacket(RemotingConnectionImpl.java:1562)
[java] JBMServer err: at org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl$ChannelImpl.access$400(RemotingConnectionImpl.java:887)
[java] JBMServer err: at org.jboss.messaging.core.remoting.impl.RemotingConnectionImpl.bufferReceived(RemotingConnectionImpl.java:488)
[java] JBMServer err: at org.jboss.messaging.core.remoting.server.impl.RemotingServiceImpl$DelegatingBufferHandler.bufferReceived(RemotingServiceImpl.java:570)
[java] JBMServer err: at org.jboss.messaging.integration.transports.netty.MessagingChannelHandler.messageReceived(MessagingChannelHandler.java:75)
[java] JBMServer err: at org.jboss.netty.channel.SimpleChannelHandler.handleUpstream(SimpleChannelHandler.java:105)
[java] JBMServer err: at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:567)
[java] JBMServer err: at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:803)
[java] JBMServer err: at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:387)
[java] JBMServer err: at org.jboss.netty.handler.codec.frame.FrameDecoder.fireMessageReceived(FrameDecoder.java:284)
[java] JBMServer err: at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:261)
[java] JBMServer err: at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:184)
[java] JBMServer err: at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:87)
[java] JBMServer err: at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:567)
[java] JBMServer err: at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:562)
[java] JBMServer err: at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:344)
[java] JBMServer err: at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:331)
[java] JBMServer err: at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:303)
[java] JBMServer err: at org.jboss.netty.channel.socket.nio.NioWorker.processSelectedKeys(NioWorker.java:255)
[java] JBMServer err: at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:176)
[java] JBMServer err: at org.jboss.netty.util.internal.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:72)
[java] JBMServer err: at org.jboss.netty.util.internal.IoWorkerRunnable.run(IoWorkerRunnable.java:49)
[java] JBMServer err: at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651)
[java] JBMServer err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676)
[java] JBMServer err: at java.lang.Thread.run(Thread.java:595)
......