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

Jason Dillon commented on KARAF-3147:
-------------------------------------

[~jbonofre] Just for clarity this is what I was talking about:

https://gist.github.com/jdillon/a04c7891402b0dbe016c

Its very rough, I just hacked it up and didn't bother updating tests etc.  This 
uses the default mbeanserver building logic, and wraps the server used for 
remote operation and applies RBAC aware guard.  Verified local connection with 
jvisualvm works as expected, and that remote connections are passing through 
the invocationhandler.

> Local JMX connect is not possible
> ---------------------------------
>
>                 Key: KARAF-3147
>                 URL: https://issues.apache.org/jira/browse/KARAF-3147
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 3.0.1
>         Environment: OS X, JDK 7
>            Reporter: Achim Nierbeck
>            Assignee: Jean-Baptiste Onofré
>            Priority: Critical
>             Fix For: 4.0.0, 2.4.2, 3.0.4
>
>
> With neither local process nor with remote jmx connection 
> {code}
> service:jmx:rmi://0.0.0.0:44444/jndi/rmi://0.0.0.0:1099/karaf-root
> {code}
> it's possible to connect to Karaf via JMX. 
> Neither JConsole nor VisualVM is usable. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to