You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Richard Hierlmeier <rh...@googlemail.com> on 2018/09/28 07:03:49 UTC
JMX system properties in karaf-wrapper.conf
When i generate with the wrapper:install command karaf-wrapper.conf it
contains the following lines:
...
wrapper.java.additional.5=-Dcom.sun.management.jmxremote
...
# Uncomment to enable jmx
#wrapper.java.additional.n=-Dcom.sun.management.jmxremote.port=1616
#wrapper.java.additional.n=-Dcom.sun.management.jmxremote.authenticate=false
#wrapper.java.additional.n=-Dcom.sun.management.jmxremote.ssl=false
JMX communication is working even if the last three system properties are
not set.
Under what circumstances does it make sense to uncomment these lines?
Richard
Re: JMX system properties in karaf-wrapper.conf
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi,
Karaf doesn't use the standard property to configure the MBean server:
it's a core Karaf service.
You can tune the JMX in etc.org.apache.karaf.management.cfg. For
authentication, it uses the Karaf JAAS realm.
Regards
JB
On 28/09/2018 09:03, Richard Hierlmeier wrote:
>
> When i generate with the wrapper:install command karaf-wrapper.conf it
> contains the following lines:
>
> ...
> wrapper.java.additional.5=-Dcom.sun.management.jmxremote
> ...
> # Uncomment to enable jmx
> #wrapper.java.additional.n=-Dcom.sun.management.jmxremote.port=1616
> #wrapper.java.additional.n=-Dcom.sun.management.jmxremote.authenticate=false
> #wrapper.java.additional.n=-Dcom.sun.management.jmxremote.ssl=false
>
> JMX communication is working even if the last three system properties
> are not set.
>
> Under what circumstances does it make sense to uncomment these lines?
>
> Richard
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com