karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Achim Nierbeck <bcanh...@googlemail.com>
Subject Re: Karaf Decanter
Date Thu, 27 Aug 2015 11:49:57 GMT
Or use karaf 3.0.4 where this is already fixed per default :-)

regards, Achim


2015-08-27 13:48 GMT+02:00 Jean-Baptiste Onofré <jb@nanthrax.net>:

> 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é
> jbonofre@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Mime
View raw message