Return-Path: Delivered-To: apmail-geronimo-activemq-dev-archive@www.apache.org Received: (qmail 19914 invoked from network); 20 Mar 2006 07:58:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Mar 2006 07:58:30 -0000 Received: (qmail 53461 invoked by uid 500); 20 Mar 2006 07:58:25 -0000 Delivered-To: apmail-geronimo-activemq-dev-archive@geronimo.apache.org Received: (qmail 53433 invoked by uid 500); 20 Mar 2006 07:58:25 -0000 Mailing-List: contact activemq-dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: activemq-dev@geronimo.apache.org Delivered-To: mailing list activemq-dev@geronimo.apache.org Received: (qmail 53424 invoked by uid 99); 20 Mar 2006 07:58:25 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Mar 2006 23:58:25 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [64.14.253.135] (HELO goku.simulalabs.com) (64.14.253.135) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Mar 2006 23:58:23 -0800 Received: by goku.simulalabs.com (Postfix, from userid 501) id 56168EC03EA; Sun, 19 Mar 2006 23:57:57 -0800 (PST) Received: from localhost (goku [127.0.0.1]) by goku.simulalabs.com (Postfix) with ESMTP id 28042EC03E6 for ; Sun, 19 Mar 2006 23:57:57 -0800 (PST) Received: from goku.simulalabs.com ([127.0.0.1]) by localhost (goku.simulalabs.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07351-04 for ; Sun, 19 Mar 2006 23:57:57 -0800 (PST) Received: from stilton (jira.activemq.org [172.18.20.169]) by goku.simulalabs.com (Postfix) with ESMTP id 75F00EC03EA for ; Sun, 19 Mar 2006 23:56:14 -0800 (PST) Message-ID: <10148837.1142848706180.JavaMail.tomcat@stilton> Date: Mon, 20 Mar 2006 01:58:26 -0800 (PST) From: "james strachan (JIRA)" To: activemq-dev@geronimo.apache.org Subject: [jira] Assigned: (AMQ-643) maxInactivityDuration does not seem to work properly In-Reply-To: <22312842.1142639726203.JavaMail.tomcat@stilton> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at goku.simulalabs.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://jira.activemq.org/jira//browse/AMQ-643?page=all ] james strachan reassigned AMQ-643: ---------------------------------- Assign To: Hiram Chirino > maxInactivityDuration does not seem to work properly > ---------------------------------------------------- > > Key: AMQ-643 > URL: http://jira.activemq.org/jira//browse/AMQ-643 > Project: ActiveMQ > Type: Bug > Components: Connector > Versions: 4.0 RC1 > Environment: AMQ 4 03/17/2006 SNAPSHOT > Solaris 8, 10 > Reporter: Kevin Yaussy > Assignee: Hiram Chirino > Fix For: 4.0 RC1 > > > AMQ 4 03/17/2006 SNAPSHOT > Using maxInactivityDuration causes a connection to automatically break after the inactivity duration, even though nothing is wrong with either side of the connection. > Tracing it through, it looks like the KeepAliveInfo command does not require a response. This means that the KeepAlive sent never results in receive activity. So, if both processes are perfectly fine, just not sending any data, the connection breaks due to InactivityMonitor.readCheck. > I've changed KeepAliveInfo.java to return true for isResponseRequired. This seems to fix the problem, from a client perspective, anyway. > However, if this is used for broker-to-broker connections, and you force a problem with one of the brokers (like doing pstop on Solaris), major problems will happen: > 1) The broker that is left alone seems to break the connection. But, it continues to attempt to send messages to the failed broker. It was mentioned in the forum at one point you were going to have the broker unregister subscriptions so it would not attempt to send messages to the failed broker. Doesn't seem like this is in place. > 2) If you reawaken the pstopped broker, the two brokers never really recover properly. Connections continue to get broken, over and over again. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.activemq.org/jira//secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira