Return-Path: Delivered-To: apmail-camel-dev-archive@www.apache.org Received: (qmail 88921 invoked from network); 11 Aug 2010 22:36:09 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Aug 2010 22:36:09 -0000 Received: (qmail 84518 invoked by uid 500); 11 Aug 2010 22:36:09 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 84474 invoked by uid 500); 11 Aug 2010 22:36:08 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 84466 invoked by uid 500); 11 Aug 2010 22:36:08 -0000 Delivered-To: apmail-activemq-camel-dev@activemq.apache.org Received: (qmail 84463 invoked by uid 99); 11 Aug 2010 22:36:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 22:36:08 +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; Wed, 11 Aug 2010 22:36:07 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7BMZlMN017800 for ; Wed, 11 Aug 2010 22:35:47 GMT Message-ID: <29747984.5471281566147345.JavaMail.jira@thor> Date: Wed, 11 Aug 2010 18:35:47 -0400 (EDT) From: "Paul Mietz Egli (JIRA)" To: camel-dev@activemq.apache.org Subject: [jira] Updated: (CAMEL-3047) JettyHttpComponent.doStop() shuts down all servers in the VM, not just those associated with the component In-Reply-To: <28592053.5461281566028018.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: ae95407df07c98740808b2ef9da0087c [ https://issues.apache.org/activemq/browse/CAMEL-3047?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Paul Mietz Egli updated CAMEL-3047: ----------------------------------- Attachment: CAMEL-3047.patch patch against trunk 984599 > JettyHttpComponent.doStop() shuts down all servers in the VM, not just those associated with the component > ---------------------------------------------------------------------------------------------------------- > > Key: CAMEL-3047 > URL: https://issues.apache.org/activemq/browse/CAMEL-3047 > Project: Apache Camel > Issue Type: Bug > Components: camel-jetty > Affects Versions: 2.4.0 > Environment: Java 1.6.0_20, Karaf 1.6.0, OSX 10.6.4 > Reporter: Paul Mietz Egli > Fix For: 2.5.0 > > Attachments: CAMEL-3047.patch > > > We are running several bundles in Karaf with separate Camel contexts, each of which uses the camel-jetty component to expose services over HTTP. Each bundle has an assigned port and may listen on multiple URIs. We noticed that when we updated or shut down one of these bundles, all of the Jetty servers in the other bundles would stop listening on their respective ports. > The problem is that the map of ConnectorRef objects in JettyHttpComponent is static, and therefore shared across the entire VM. Changing this from static to an instance variable fixed the issue for us. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.