Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 42765 invoked from network); 20 Apr 2010 15:04:16 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Apr 2010 15:04:16 -0000 Received: (qmail 50163 invoked by uid 500); 20 Apr 2010 15:04:16 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 49762 invoked by uid 500); 20 Apr 2010 15:04:16 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 49718 invoked by uid 99); 20 Apr 2010 15:04:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 15:04:16 +0000 X-ASF-Spam-Status: No, hits=-1317.4 required=10.0 tests=ALL_TRUSTED,AWL 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; Tue, 20 Apr 2010 15:04:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3KF3sG1013708 for ; Tue, 20 Apr 2010 15:03:54 GMT Message-ID: <20997573.89981271775834615.JavaMail.jira@thor> Date: Tue, 20 Apr 2010 11:03:54 -0400 (EDT) From: "David Valeri (JIRA)" To: issues@cxf.apache.org Subject: [jira] Resolved: (CXF-2771) Jetty-HTTP Transport Jetty JMX support causes MBean name collisions In-Reply-To: <3137562.20311271709350280.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-2771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Valeri resolved CXF-2771. ------------------------------- Resolution: Fixed > Jetty-HTTP Transport Jetty JMX support causes MBean name collisions > ------------------------------------------------------------------- > > Key: CXF-2771 > URL: https://issues.apache.org/jira/browse/CXF-2771 > Project: CXF > Issue Type: Improvement > Components: Transports > Affects Versions: 2.2.7 > Reporter: David Valeri > Assignee: David Valeri > Fix For: 2.3, 2.2.8 > > > When enabling Jetty JMX support by including the Jetty Management classes in the classpath, CXF creates an MBeanContainer for each Jetty Server it manages. However, Jetty dynamically creates MBean names for Jetty managed components. Each MBeanContainer is designed to deal with maintaining unique names, but two instances of MBeanContainer in the same JVM using the same MBeanServer will create duplicate names. > This improvement moves the responsibility for maintaining the MBeanContainer to the JettyHttpServerEngineFactory such that all JettyHttpServerEngine instance can reference the same MBeanContainer instance. This change removes all duplicate name warnings except for one. The remaining duplicate name message is related to Jetty internal logging mechanisms and is outside of the control of CXF using the current loosely coupled (reflection) approach to working with the MBeanContainer. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.