Return-Path: X-Original-To: apmail-river-commits-archive@www.apache.org Delivered-To: apmail-river-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D6B531BA for ; Wed, 4 May 2011 18:42:44 +0000 (UTC) Received: (qmail 94368 invoked by uid 500); 4 May 2011 18:42:44 -0000 Delivered-To: apmail-river-commits-archive@river.apache.org Received: (qmail 94342 invoked by uid 500); 4 May 2011 18:42:44 -0000 Mailing-List: contact commits-help@river.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@river.apache.org Delivered-To: mailing list commits@river.apache.org Received: (qmail 94335 invoked by uid 99); 4 May 2011 18:42:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2011 18:42:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2011 18:42:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 193FAC1824 for ; Wed, 4 May 2011 18:42:03 +0000 (UTC) Date: Wed, 4 May 2011 18:42:03 +0000 (UTC) From: "Chris Dolan (JIRA)" To: commits@river.apache.org Message-ID: <2008369005.22473.1304534523100.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1842984765.22466.1304534283115.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (RIVER-397) Mux.start() can block indefinitely MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/RIVER-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Dolan updated RIVER-397: ------------------------------ Attachment: MuxStartTimeout.java Test case that fails with current River and passes with the proposed timeout solution applied. > Mux.start() can block indefinitely > ---------------------------------- > > Key: RIVER-397 > URL: https://issues.apache.org/jira/browse/RIVER-397 > Project: River > Issue Type: Bug > Components: net_jini_jeri > Affects Versions: jtsk_2.1 > Reporter: Chris Dolan > Attachments: MuxStartTimeout.java, RIVER-397.patch > > > Email thread starting here: http://mail-archives.apache.org/mod_mbox/river-dev/201104.mbox/%3C77F1E32F67C8D5479858C0C7E93EB465068B06CF@WAL-MAIL.global.avidww.com%3E > In short, I encountered a case where a JERI client got permanently stuck in Mux.start(). Attached is a patch to add a timeout to that method. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira