Return-Path: Delivered-To: apmail-geronimo-activemq-users-archive@www.apache.org Received: (qmail 34678 invoked from network); 30 Nov 2006 20:09:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Nov 2006 20:09:23 -0000 Received: (qmail 80322 invoked by uid 500); 30 Nov 2006 20:09:31 -0000 Delivered-To: apmail-geronimo-activemq-users-archive@geronimo.apache.org Received: (qmail 80311 invoked by uid 500); 30 Nov 2006 20:09:31 -0000 Mailing-List: contact activemq-users-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-users@geronimo.apache.org Delivered-To: mailing list activemq-users@geronimo.apache.org Received: (qmail 80301 invoked by uid 99); 30 Nov 2006 20:09:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 12:09:31 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Nov 2006 12:09:17 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GpsDI-0006KF-WC for activemq-users@geronimo.apache.org; Thu, 30 Nov 2006 12:08:57 -0800 Message-ID: <7626906.post@talk.nabble.com> Date: Thu, 30 Nov 2006 12:08:56 -0800 (PST) From: jmiess To: activemq-users@geronimo.apache.org Subject: JMS (AMQ) to JMS (JBoss) bridge reconnection problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jmiess@gmx.de X-Virus-Checked: Checked by ClamAV on apache.org Hi community I need some help conserning JMS to JMS bridge When I'm sending a message fom an embedded ActiveMQ to the JBoss JMS everthing works fine. But as soon as I restart the JBoss the AMQ JMS fails to send messages to the JBoss JMS again. AMQ complains that the Client "is not connected" Pleas, can anybody hep me out? Thank you very much. I'm using ActiveMQ 4.0.2 as embedded broker that's my Spirng configuration ... ... jnp://localhost:1099 org.jnp.interfaces.NamingContextFactory As long as the JBoss is started when I start the embedded ActiveMQ everythin works just fine. But when I restart the JBoss he resulting erro log is as follows. 2006-11-30 21:04:19,359 ERROR [ActiveMQ Session Task] network.jms.DestinationBridge:(115) - failed to forward message: ActiveMQTextMessage {commandId = 13, responseRequired = true, messageId = ID:hjmiess-1187-1164916980140-4:2:2:1:1, originalDestination = null, originalTransactionId = null, producerId = ID:hjmiess-1187-1164916980140-4:2:2:1, destination = queue://CltToSrv, transactionId = null, expiration = 0, timestamp = 1164917059343, arrival = 0, correlationId = null, replyTo = null, persistent = true, type = null, priority = 4, groupID = null, groupSequence = 0, targetConsumerId = null, compressed = false, userID = null, content = org.apache.activeio.packet.ByteSequence@136102e, marshalledProperties = null, dataStructure = null, redeliveryCounter = 0, size = 600, properties = null, readOnlyProperties = true, readOnlyBody = true, text = Message for local testQueue***(0)***} org.jboss.mq.SpyJMSException: Cannot send a message to the JMS server; - nested throwable: (java.io.IOException: Client is not connected) at org.jboss.mq.SpyJMSException.getAsJMSException(SpyJMSException.java:66) at org.jboss.mq.SpyJMSException.rethrowAsJMSException(SpyJMSException.java:51) at org.jboss.mq.Connection.sendToServer(Connection.java:969) at org.jboss.mq.SpySession.sendMessage(SpySession.java:975) at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:265) at org.jboss.mq.SpyMessageProducer.send(SpyMessageProducer.java:204) at org.jboss.mq.SpyQueueSender.send(SpyQueueSender.java:59) at org.apache.activemq.network.jms.QueueBridge.sendMessage(QueueBridge.java:84) at org.apache.activemq.network.jms.DestinationBridge.onMessage(DestinationBridge.java:112) at org.apache.activemq.ActiveMQMessageConsumer.dispatch(ActiveMQMessageConsumer.java:795) at org.apache.activemq.ActiveMQSessionExecutor.dispatch(ActiveMQSessionExecutor.java:96) at org.apache.activemq.ActiveMQSessionExecutor.iterate(ActiveMQSessionExecutor.java:149) at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:110) at org.apache.activemq.thread.PooledTaskRunner.access$100(PooledTaskRunner.java:25) at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:43) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at java.lang.Thread.run(Unknown Source) Caused by: java.io.IOException: Client is not connected at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:238) at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:206) at org.jboss.mq.il.uil2.UILServerIL.addMessage(UILServerIL.java:267) at org.jboss.mq.Connection.sendToServer(Connection.java:965) ... 15 more Thans you verry much for your help -- View this message in context: http://www.nabble.com/JMS-%28AMQ%29-to-JMS-%28JBoss%29-bridge-reconnection-problem-tf2733999.html#a7626906 Sent from the ActiveMQ - User mailing list archive at Nabble.com.