Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 43941 invoked from network); 16 May 2008 20:45:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 20:45:27 -0000 Received: (qmail 90220 invoked by uid 500); 16 May 2008 20:45:28 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 90200 invoked by uid 500); 16 May 2008 20:45:28 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 90189 invoked by uid 99); 16 May 2008 20:45:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 13:45:28 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 20:44:39 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Jx6nO-0002xa-Kc for users@activemq.apache.org; Fri, 16 May 2008 13:44:54 -0700 Message-ID: <17283901.post@talk.nabble.com> Date: Fri, 16 May 2008 13:44:54 -0700 (PDT) From: ttmdev To: users@activemq.apache.org Subject: Re: setting Idle timeout in an embedded network connector In-Reply-To: <17283174.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: joe.fernandez@ttmsolutions.com References: <17283174.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I highly recommend moving to version 5.1 Joe Get a free ActiveMQ user guide at www.ttmsolutions.com sgopal wrote: > > Hi, > I have two applications eaching having their own embedded broker (active > mq 5.0) . > > Each of the embedded brokers add a network broker pointing to the other > one. > > I get errors like > [WARN] Async exception with no exception listener: > org.apache.activemq.transport.InactivityIOException: Channel was inactive > for too long: /10.1.1.161:3016 > org.apache.activemq.transport.InactivityIOException: Channel was inactive > for too long: /10.1.1.161:3016 > at > org.apache.activemq.transport.InactivityMonitor$4.run(InactivityMonitor.java:108) > [WARN] Async exception with no exception listener: > java.net.SocketException: Socket closed > java.net.SocketException: Socket closed > at java.net.SocketInputStream.socketRead0(Native Method) > at java.net.SocketInputStream.read(Unknown Source) > at > org.apache.activemq.transport.tcp.TcpBufferedInputStream.fill(TcpBufferedInputStream.java:50) > at > org.apache.activemq.transport.tcp.TcpBufferedInputStream.read(TcpBufferedInputStream.java:58) > at java.io.DataInputStream.readInt(Unknown Source) > at > org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268) > at > org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:192) > at > org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:184) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:172) > at java.lang.Thread.run(Unknown Source) > > > and I also see errors like > > [WARN] Transport failed, attempting to automatically reconnect due to: > java.io.EOFException > java.io.EOFException > at java.io.DataInputStream.readInt(Unknown Source) > at > org.apache.activemq.openwire.OpenWireFormat.unmarshal(OpenWireFormat.java:268) > at > org.apache.activemq.transport.tcp.TcpTransport.readCommand(TcpTransport.java:192) > at > org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:184) > at > org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:172) > at java.lang.Thread.run(Unknown Source) > [WARN] Unexpected extra broker info command received: BrokerInfo > {commandId = 18, responseRequired = false, brokerId = > ID:prsabrk01m-bdev.am.icap.com-17961-1210948416951-0:0, brokerURL = > tcp://10.1.1.151:3016, slaveBroker = false, masterBroker = false, > faultTolerantConfiguration = false, networkConnection = false, > duplexConnection = false, peerBrokerInfos = [], brokerName = > MQBroker1210948416605, connectionId = 0, brokerUploadUrl = null, > networkProperties = null} > > > > Is there any way to work around the problem to eliminate these errors, > > Appreciate any help, > > Thanks > Srinivasan > -- View this message in context: http://www.nabble.com/setting-Idle-timeout-in-an-embedded-network-connector-tp17283174s2354p17283901.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.