Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CA18D181 for ; Mon, 11 Mar 2013 16:30:28 +0000 (UTC) Received: (qmail 15140 invoked by uid 500); 11 Mar 2013 16:30:27 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 14972 invoked by uid 500); 11 Mar 2013 16:30:27 -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 Delivered-To: moderator for users@activemq.apache.org Received: (qmail 9745 invoked by uid 99); 11 Mar 2013 08:54:40 -0000 X-ASF-Spam-Status: No, hits=2.0 required=5.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.250.139 is neither permitted nor denied by domain of chainhou@gmail.com) Date: Mon, 11 Mar 2013 01:54:14 -0700 (PDT) From: chain ho To: users@activemq.apache.org Message-ID: <1362992054285-4664595.post@n4.nabble.com> Subject: ActiveMQ 5.4.3 will log EOFException when remoe ConnectionFactory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hi,my question like this: In my JEE Application Server, I create a destination and a QueueConnectionFactory. Then I use a servlet to send and receive message. after a while, I want to remore the resource like destination and connectionfactory. When I remove the connectionfactory ,the ActiveMQ consol= e will log like this: INFO | Transport failed: java.io.EOFException INFO | Transport failed: java.io.EOFException INFO | Transport failed: java.io.EOFException INFO | Transport failed: java.io.EOFException in log File, like this: 2013-03-11 16:21:02,954 | INFO | Transport failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:63174 2013-03-11 16:21:02,955 | INFO | Transport failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:63179 2013-03-11 16:21:02,955 | INFO | Transport failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:63176 My connectionfactory's min pool size is 8. And in Jconsole, only 1 is in used, 7 is free. so I will get 7 EOFException. When I set the min pool size is 2. Then I will get 1 EOFException. I have debug activemq source code. In TcpTransport.java line 523 " =20 socket.close(); " execute, the exception will throw. When I use ActiveMQ 4.1, this problem will not occure. In AcctiveMQ5.8, the log level is "WARN" and log like: 2013-03-07 14:31:08,913 | WARN | Transport Connection to: tcp://127.0.0.1:60745 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:60745@61616 2013-03-07 14:31:08,913 | WARN | Transport Connection to: tcp://127.0.0.1:60746 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:60746@61616 2013-03-07 14:31:08,913 | WARN | Transport Connection to: tcp://127.0.0.1:60747 failed: java.io.EOFException | org.apache.activemq.broker.TransportConnection.Transport | ActiveMQ Transport: tcp:///127.0.0.1:60747@61616 My activemq.xml is default config.=20 I had Google many times, but can't solve it. In this Message:http://activemq.2283324.n4.nabble.com/Continuous-Transport-Failures= -Moments-Before-STOMP-Connections-Close-td2952079.html , dejanb say just ignore it. So, what is the right solution to this problem? Anyone know what=E2=80=99s= going on here? Regards,=20 Chain HO -- View this message in context: http://activemq.2283324.n4.nabble.com/ActiveM= Q-5-4-3-will-log-EOFException-when-remoe-ConnectionFactory-tp4664595.html Sent from the ActiveMQ - User mailing list archive at Nabble.com.