You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Created JIRA)" <ji...@apache.org> on 2012/01/12 18:15:39 UTC

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

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

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

Posted by Dan Tran <da...@gmail.com>.
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
>
>

[jira] [Updated] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1149:
----------------------------------------

    Fix Version/s:     (was: 2.2.7)
                   2.3.0
                   2.2.8
    
> 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.8, 2.3.0, 3.1.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

       

[jira] [Updated] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

Posted by "Andreas Pieber (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Pieber updated KARAF-1149:
----------------------------------

    Fix Version/s: 3.0.1
    
> 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.8, 2.3.0, 3.0.1, 3.1.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

       

[jira] [Updated] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1149:
----------------------------------------

    Fix Version/s:     (was: 2.2.8)
                   2.2.9
    
> 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.9, 2.3.0, 3.0.1, 3.1.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

       

[jira] [Updated] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1149:
----------------------------------------

    Fix Version/s:     (was: 2.2.9)
                       (was: 3.0.1)
                   2.2.10
    
> 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.10, 2.3.0, 3.1.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

       

[jira] [Commented] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

Posted by "Dan Tran (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185283#comment-13185283 ] 

Dan Tran commented on KARAF-1149:
---------------------------------



dan:  do you mean external firewall or the internal linux iptables?

JB:

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



                
> 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

       

[jira] [Updated] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1149:
----------------------------------------

    Fix Version/s:     (was: 3.0.0)
                   3.1.0
    
> 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.1.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

       

[jira] [Updated] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1149:
----------------------------------------

    Fix Version/s:     (was: 2.3.0)
                       (was: 3.1.0)
                   3.0.0
                   2.3.1
    
> 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.10, 2.3.1, 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
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (KARAF-1149) Karaf MBeanServer is not usable behind firewall

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-1149:
----------------------------------------

    Fix Version/s:     (was: 2.2.6)
                   2.2.7
    
> 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.7, 3.1.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