Hi,
With Karaf 3.0.3, you have to update
etc/org.apache.karaf.decanter.collector.jmx-local.cfg like this:
url=service:jmx:rmi:///jndi/rmi://localhost:1099/karaf-root
username=karaf
password=karaf
The url has to be absolute instead of "local" keyword as Karaf 3.0.3
secure any connection to the MBean server (even local).
Regards
JB
On 08/27/2015 01:43 PM, hsinchen wrote:
Hi,
I have installed the Decanter related features in a clean Karaf 3.0.3 and
JDK 1.7.
feature:repo-add
mvn:org.apache.karaf.decanter/apache-karaf-decanter/1.0.0/xml/features
feature:install decanter-collector-log
feature:install decanter-collector-jmx
feature:install decanter-appender-elasticsearch
feature:install elasticsearch
feature:install kibana
I don't modify any of cfg in etc folder and see an exception in karaf log.
--log--
2015-08-27 19:39:00,544 | ERROR | scheduler-simple | JmxCollector
| 95 - org.apache.karaf.decanter.collector.jmx - 1.0.0 | SecurityException:
java.lang.SecurityException: Insufficient roles/credentials for operation
----
I unmark the username and password in
org.apache.karaf.decanter.collector.jmx-local.cfg to use karaf/karaf. The
exception is the same.
Anything I need to do.
By User Guide...
Karaf dashboard uses the data harvested by the default JMX collector, and
the log collector. Especially, it provides details about the threads,
memory, garbage collection, etc.
----
Does it means that Kibana would get the data from JMX collector and log
collector directly without appender.
Thanks.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-Decanter-tp4042096.html
Sent from the Karaf - User mailing list archive at Nabble.com.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com