Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 31931 invoked from network); 18 Sep 2010 16:44:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Sep 2010 16:44:45 -0000 Received: (qmail 16550 invoked by uid 500); 18 Sep 2010 16:44:45 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 16315 invoked by uid 500); 18 Sep 2010 16:44:45 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 16274 invoked by uid 99); 18 Sep 2010 16:44:44 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 16:44:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Sep 2010 16:44:27 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8IGi6NW001917 for ; Sat, 18 Sep 2010 16:44:06 GMT Message-ID: <17098761.19841284828246131.JavaMail.jira@thor> Date: Sat, 18 Sep 2010 12:44:06 -0400 (EDT) From: "Bruce Snyder (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-2775) Race condition in org.apache.activemq.util.osgi.Activator In-Reply-To: <27162793.13481276280212398.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruce Snyder updated AMQ-2775: ------------------------------ Fix Version/s: 5.5.0 (was: 5.4.1) > Race condition in org.apache.activemq.util.osgi.Activator > --------------------------------------------------------- > > Key: AMQ-2775 > URL: https://issues.apache.org/activemq/browse/AMQ-2775 > Project: ActiveMQ > Issue Type: Bug > Affects Versions: 5.3.2 > Reporter: Michael Pilquist > Fix For: 5.5.0 > > > There's a race condition between start and create methods of Activator. If a bundle that was started before activemq-core does something that causes a call to Activator.create, and Activator.start is still scanning bundles for contributed service files, an IOException results. > In practice, this occurred after upgrading from 5.3.0 to 5.3.2 because another bundle at the same start level as activemq-core programmatically instantiated a broker from a different thread. The activemq-core activator was still scanning the installed bundles and hadn't gotten to itself yet, so the result was a failure to instantiate the tcp handler. > Making start/create/stop synchronized would fix this issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.