You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by Dan Tran <da...@gmail.com> on 2012/01/12 18:41:11 UTC

Re: [jira] [Created] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

do you mean external firewall or the internal linux iptables?


On Thu, Jan 12, 2012 at 9:15 AM, Jean-Baptiste Onofré (Created) (JIRA)
<ji...@apache.org> wrote:
> Karaf MBeanServer is not usable behind firewall
> -----------------------------------------------
>
>                 Key: KARAF-1149
>                 URL: https://issues.apache.org/jira/browse/KARAF-1149
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 2.2.6, 3.0.0
>
>
> If network administrator opens the network ports to use Karaf MBean server (for instance, by default, 1099 for the RMI Registry and 44444 for the RMI 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 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
>
>

Re: [jira] [Created] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Both,

I saw the issue today with a customer, with a hardware firewall:

- Karaf is installed on host A
- jconsole is on my laptop

Between A and my laptop, we have a firewall (Cisco IoS) on which I 
opened the required port.

But the JVM bind a random port for the jconsole/JMX communication 
(specific to Sun JVM). A simple workaround is to create a JMX agent.

Regards
JB

On 01/12/2012 06:41 PM, Dan Tran wrote:
> do you mean external firewall or the internal linux iptables?
>
>
> On Thu, Jan 12, 2012 at 9:15 AM, Jean-Baptiste Onofré (Created) (JIRA)
> <ji...@apache.org>  wrote:
>> Karaf MBeanServer is not usable behind firewall
>> -----------------------------------------------
>>
>>                  Key: KARAF-1149
>>                  URL: https://issues.apache.org/jira/browse/KARAF-1149
>>              Project: Karaf
>>           Issue Type: Bug
>>             Reporter: Jean-Baptiste Onofré
>>             Assignee: Jean-Baptiste Onofré
>>              Fix For: 2.2.6, 3.0.0
>>
>>
>> If network administrator opens the network ports to use Karaf MBean server (for instance, by default, 1099 for the RMI Registry and 44444 for the RMI 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 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
>>
>>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com