You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Raúl Kripalani (JIRA)" <ji...@apache.org> on 2015/02/04 20:16:35 UTC
[jira] [Commented] (KARAF-3147) Local JMX connect is not possible
[ https://issues.apache.org/jira/browse/KARAF-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14305770#comment-14305770 ]
Raúl Kripalani commented on KARAF-3147:
---------------------------------------
I also faced this issue and I debugged it. The problem is that the Subject is null at line 428 of {{KarafMBeanServerGuard#currentUserHasRole}} (Karaf 2.4.0):
{code}
Subject subject = Subject.getSubject(acc);
{code}
With a remote JMX connection or through Jolokia, the Subject is not null.
Regards,
Raúl.
> 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
>
> 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)