From issues-return-29863-apmail-karaf-issues-archive=karaf.apache.org@karaf.apache.org Thu Jun 9 09:18:23 2016 Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3254819F81 for ; Thu, 9 Jun 2016 09:18:23 +0000 (UTC) Received: (qmail 43772 invoked by uid 500); 9 Jun 2016 09:18:21 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 43615 invoked by uid 500); 9 Jun 2016 09:18:21 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 43131 invoked by uid 99); 9 Jun 2016 09:18:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jun 2016 09:18:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 36B732C1F69 for ; Thu, 9 Jun 2016 09:18:21 +0000 (UTC) Date: Thu, 9 Jun 2016 09:18:21 +0000 (UTC) From: =?utf-8?Q?Jean-Baptiste_Onofr=C3=A9_=28JIRA=29?= To: issues@karaf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Reopened] (KARAF-1149) Karaf MBeanServer is not usable behind firewall MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1149?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Jean-Baptiste Onofr=C3=A9 reopened KARAF-1149: ----------------------------------------- Assignee: Jean-Baptiste Onofr=C3=A9 (was: Guillaume Nodet) We have a similar issue with Docker. I think that we have to use something like: {code} -Dcom.sun.management.jmxremote.local.only=3Dfalse -Djava.rmi.server.hostname=3Dx.x.x.x {code} Right now, we use something like: {code} -Djava.rmi.server.hostname=3Dx.x.x.x -Dcom.sun.management.jmxremote.port=3D44444 -Dcom.sun.management.jmxremote.rmi.port=3D1099 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=3Dfalse=20 -Dcom.sun.management.jmxremote.ssl=3Dfalse {code} Let me check the code in the Karaf MBeanServer. > Karaf MBeanServer is not usable behind firewall > ----------------------------------------------- > > Key: KARAF-1149 > URL: https://issues.apache.org/jira/browse/KARAF-1149 > Project: Karaf > Issue Type: Bug > Components: karaf-management > Reporter: Jean-Baptiste Onofr=C3=A9 > Assignee: Jean-Baptiste Onofr=C3=A9 > > If network administrator opens the network ports to use Karaf MBean serve= r (for instance, by default, 1099 for the RMI Registry and 44444 for the RM= I server), the JVM open random port for JMX communication. > It could be helpful to provide a JMX agent or at least to document how to= use Karaf MBean server behind firewalls. -- This message was sent by Atlassian JIRA (v6.3.4#6332)