karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bosschaert (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (KARAF-2506) MBeans attributes are "unavailable"
Date Mon, 21 Oct 2013 12:18:51 GMT

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

David Bosschaert edited comment on KARAF-2506 at 10/21/13 12:16 PM:
--------------------------------------------------------------------

This happens when you are connecting using jconsole attached to the Process ID.
The problem is that when you do this, there is no user associated, so there are no credentials.
Therefore no information is given to the client.

If you log in using remote JMX remote process credentials, which is also possible via jconsole
everything should work. 
In the 'New Connection' dialog, just select:
Remote Process:
{{service:jmx:rmi://localhost:44444/jndi/rmi://localhost:1099/karaf-root}}
and provider username/password, such as {{karaf/karaf}}


was (Author: bosschaert):
This happens when you are connecting using jconsole attached to the PID.
The problem is that when you do this, there is no use associated, so there are not credentials.
Therefore no information is given to the client.

If you log in using remote JMX remote process credentials, which is also possible via jconsole
everything should work. 
In the 'New Connection' dialog, just select:
Remote Process:
service:jmx:rmi://localhost:44444/jndi/rmi://localhost:1099/karaf-root
and provider username/password, such as karaf/karaf

> MBeans attributes are "unavailable"
> -----------------------------------
>
>                 Key: KARAF-2506
>                 URL: https://issues.apache.org/jira/browse/KARAF-2506
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-core
>    Affects Versions: 3.0.0
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>             Fix For: 3.0.0
>
>
> Running Karaf 3.0.0-SNAPSHOT (trunk), and connecting jconsole, all Karaf MBeans attributes
are displayed as "unavailable" in red.
> It's the case for:
> - bundles in org.apache.karaf:type=bundle
> - configs in org.apache.karaf:type=config
> - features and repositories in org.apache.karaf:type=feature
> - instances in org.apache.karaf:type=instances
> - kars in org.apache.karaf:type=kar
> - level in org.apache.karaf:type=log
> - exports and imports in org.apache.karaf:type=package
> - services in org.apache.karaf:type=service
> - all attributes in org.apache.karaf:type=system
> I'm checking if it's not some ACLs missing (as the JMX ACL check attributes using some
operations name like get/set/is).



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message