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

2016-06-10 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15323968#comment-15323968
 ] 

Jean-Baptiste Onofré commented on KARAF-1149:
-

Just tested on Docker without problem. Here's the details.

First, I started Karaf in docker with ports 1099 and 4 published:

{code}
docker run -i -t -p 1099:1099 -p 4:4 --name karaf karaf
{code}

Then, I can use jconsole to connect to the MBean service using the following 
URL: {{service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root}}.

I also tried to publish all port randomly on docker using 
{{--publish-all=true}}:

{code}
docker run -i -t --publish-all=true --name karaf karaf
{code}

With {{docker ps}}, we can see the ports bound (in my case on 32768). Then I 
used the following URL: 
{{service:jmx:rmi:///jndi/rmi://localhost:32768/karaf-root}} without problem.

> 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é
>Assignee: Jean-Baptiste Onofré
>
> If network administrator opens the network ports to use Karaf MBean server 
> (for instance, by default, 1099 for the RMI Registry and 4 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 was sent by Atlassian JIRA
(v6.3.4#6332)


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

2016-06-09 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15322215#comment-15322215
 ] 

Jean-Baptiste Onofré commented on KARAF-1149:
-

Re-testing with Docker.

> 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é
>Assignee: Jean-Baptiste Onofré
> Fix For: 4.1.0, 3.0.7, 4.0.6
>
>
> If network administrator opens the network ports to use Karaf MBean server 
> (for instance, by default, 1099 for the RMI Registry and 4 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 was sent by Atlassian JIRA
(v6.3.4#6332)


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

2014-01-15 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13872017#comment-13872017
 ] 

Jean-Baptiste Onofré commented on KARAF-1149:
-

I will test and include it in Karaf with some documentation (postpone to next 
Karaf release).

 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.12, 2.4.0, 3.1.0, 2.3.5


 If network administrator opens the network ports to use Karaf MBean server 
 (for instance, by default, 1099 for the RMI Registry and 4 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 was sent by Atlassian JIRA
(v6.1.5#6160)


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

2014-01-15 Thread JIRA

[ 
https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13872016#comment-13872016
 ] 

Jean-Baptiste Onofré commented on KARAF-1149:
-

Here's an example of agent to go through firewall:

https://blogs.oracle.com/jmxetc/entry/connecting_through_firewall_using_jmx

 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.12, 2.4.0, 3.1.0, 2.3.5


 If network administrator opens the network ports to use Karaf MBean server 
 (for instance, by default, 1099 for the RMI Registry and 4 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 was sent by Atlassian JIRA
(v6.1.5#6160)


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

2012-01-12 Thread Dan Tran (Commented) (JIRA)

[ 
https://issues.apache.org/jira/browse/KARAF-1149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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 4 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