Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 34662 invoked from network); 24 Aug 2010 18:05:05 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Aug 2010 18:05:04 -0000 Received: (qmail 57320 invoked by uid 500); 24 Aug 2010 18:05:04 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 57281 invoked by uid 500); 24 Aug 2010 18:05:04 -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 57273 invoked by uid 99); 24 Aug 2010 18:05:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Aug 2010 18:05:03 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,NORMAL_HTTP_TO_IP,SPF_HELO_PASS,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT 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; Tue, 24 Aug 2010 18:04:59 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OnxrS-0004A5-W2 for users@activemq.apache.org; Tue, 24 Aug 2010 11:04:38 -0700 Message-ID: <29524801.post@talk.nabble.com> Date: Tue, 24 Aug 2010 11:04:38 -0700 (PDT) From: mjustin To: users@activemq.apache.org Subject: EOFException in ActiveMQ 5.4.0 stomp+nio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: michael.justin@gmx.net Hello, with the default configuration activemq-stomp.xml which uses stomp+nio on Port 61613, unit tests using BytesMessages of my Stomp client run into this error: 2010-08-24 19:48:28,652 | INFO | Listening for connections at: stomp://mj-PC:61612?transport.closeAsync=3Dfalse | org.apache.activemq.transport.TransportServerThreadSupport | main 2010-08-24 19:48:28,653 | INFO | Connector stomp Started | org.apache.activemq.broker.TransportConnector | main 2010-08-24 19:48:28,691 | INFO | Listening for connections at: stomp+nio://mj-PC:61613?transport.closeAsync=3Dfalse | org.apache.activemq.transport.TransportServerThreadSupport | main 2010-08-24 19:48:28,692 | INFO | Connector stomp+nio Started | org.apache.activemq.broker.TransportConnector | main 2010-08-24 19:48:28,700 | INFO | ActiveMQ JMS Message Broker (localhost, ID:mj-PC-50664-1282672108345-0:0) started | org.apache.activemq.broker.BrokerService | main 2010-08-24 19:48:28,890 | INFO | Logging to org.slf4j.impl.JCLLoggerAdapter(org.eclipse.jetty.util.log) via org.eclipse.jetty.util.log.Slf4jLog | org.eclipse.jetty.util.log | main 2010-08-24 19:48:28,890 | INFO | jetty-7.0.1.v20091125 | org.eclipse.jetty.util.log | main 2010-08-24 19:48:29,752 | INFO | ActiveMQ WebConsole initialized. | org.apache.activemq.web.WebConsoleStarter | main 2010-08-24 19:48:30,359 | INFO | Initializing Spring FrameworkServlet 'dispatcher' | /admin | main 2010-08-24 19:48:31,139 | INFO | ActiveMQ Console at http://0.0.0.0:8161/admin | org.eclipse.jetty.util.log | main 2010-08-24 19:48:32,248 | INFO | Initializing Spring root WebApplicationContext | /camel | main 2010-08-24 19:48:35,478 | INFO | Connector vm://localhost Started | org.apache.activemq.broker.TransportConnector | main 2010-08-24 19:48:37,800 | INFO | Camel Console at http://0.0.0.0:8161/came= l | org.eclipse.jetty.util.log | main 2010-08-24 19:48:37,896 | INFO | ActiveMQ Web Demos at http://0.0.0.0:8161/demo | org.eclipse.jetty.util.log | main 2010-08-24 19:48:37,992 | INFO | RESTful file access application at http://0.0.0.0:8161/fileserver | org.eclipse.jetty.util.log | main 2010-08-24 19:48:37,998 | INFO | Started SelectChannelConnector@0.0.0.0:8161 | org.eclipse.jetty.util.log | main 2010-08-24 19:48:42,891 | INFO | Transport failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ NIO Worker java.io.EOFException =09at org.apache.activemq.transport.stomp.StompNIOTransport.serviceRead(StompNIOT= ransport.java:106) =09at org.apache.activemq.transport.stomp.StompNIOTransport.access$000(StompNIOTr= ansport.java:51) =09at org.apache.activemq.transport.stomp.StompNIOTransport$1.onSelect(StompNIOTr= ansport.java:80) =09at org.apache.activemq.transport.nio.SelectorSelection.onSelect(SelectorSelect= ion.java:94) =09at org.apache.activemq.transport.nio.SelectorWorker$1.run(SelectorWorker.java:= 119) =09at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.j= ava:885) =09at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:= 907) =09at java.lang.Thread.run(Thread.java:619) The client receives only the first message in the queue. I reported a related problem as fixed in a trunk version, https://issues.apache.org/activemq/browse/AMQ-2822 - but it looks like I missed a later change which is now in the release version. Regards, ----- Michael Justin SCJP, SCJA betasoft - Software for Delphi=E2=84=A2 and for the Java=E2=84=A2 platform http://www.mikejustin.com - http://www.betabeans.de --=20 View this message in context: http://old.nabble.com/EOFException-in-ActiveM= Q-5.4.0-stomp%2Bnio-tp29524801p29524801.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.