Return-Path: X-Original-To: apmail-aries-dev-archive@www.apache.org Delivered-To: apmail-aries-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B31599DA for ; Mon, 17 Oct 2011 10:43:34 +0000 (UTC) Received: (qmail 42983 invoked by uid 500); 17 Oct 2011 10:43:34 -0000 Delivered-To: apmail-aries-dev-archive@aries.apache.org Received: (qmail 42926 invoked by uid 500); 17 Oct 2011 10:43:34 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 42918 invoked by uid 99); 17 Oct 2011 10:43:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2011 10:43:34 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,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; Mon, 17 Oct 2011 10:43:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id A093130CA50 for ; Mon, 17 Oct 2011 10:43:10 +0000 (UTC) Date: Mon, 17 Oct 2011 10:43:10 +0000 (UTC) From: "Felix Mayerhuber (Commented) (JIRA)" To: dev@aries.apache.org Message-ID: <1714826755.7.1318848190659.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <9374767.125251295703823222.JavaMail.jira@thor> Subject: [jira] [Commented] (ARIES-554) aries JNDI bundle breaks remote JMX clients via RMI 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/ARIES-554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13128782#comment-13128782 ] Felix Mayerhuber commented on ARIES-554: ---------------------------------------- Hi, thanks for the detailed explanation. Then my next question is, when is the next release planned? :-) > aries JNDI bundle breaks remote JMX clients via RMI > --------------------------------------------------- > > Key: ARIES-554 > URL: https://issues.apache.org/jira/browse/ARIES-554 > Project: Aries > Issue Type: Bug > Components: JNDI > Affects Versions: 0.2, 0.3 > Reporter: Stephan Siano > Assignee: Alasdair Nottingham > Attachments: Utils.java.patch > > > If the aries JNDI bundles are present in the environment, connections to remote JMX agents fail. I could recreate the issue with a bundle containing only the line > JMXConnectorFactory.connect(new JMXServiceURL("service:jmx:rmi:///jndi/rmi://localhost:1717/jmxrmi")); > in the start() method of the bundle activator (and nothing else). > The bundle will start both on equinox and felix as long as the aries jndi bundles (I tried version 0.2 and 0.3-SNAPSHOT) are not running and any java application that allows remote JMX at that port is running (check with jconsole if you are unsure). It will not start as soon as the jndi bundle is started. As far as I got in debugging this, the JMXConnectionFactory is trying to do a JNDI lookup for the RMI connection and is delegated to the Aries JNDI coding, that is trying to determine a bundle context for the call. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira