Re: Disabling JMX altogether

2016-04-27 Thread Jean-Baptiste Onofré
By the way, KarafTestSupport is part of karaf-test, allowing you to 
easily reuse the methods defined there.


Regards
JB

On 04/27/2016 07:09 PM, Benson Margulies wrote:

I'm using pax-exam to test a karaf assembly that contains the
management feature. Is there some way to disable all the JMX without
uninstalling the feature, or do I need to just randomize the ports?



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Re: Disabling JMX altogether

2016-04-27 Thread Jean-Baptiste Onofré

The easiest way is to not install the management feature.

Else, you can take a look on the KarafTestSupport where we use 
getAvailablePort() method.


Regards
JB

On 04/27/2016 07:09 PM, Benson Margulies wrote:

I'm using pax-exam to test a karaf assembly that contains the
management feature. Is there some way to disable all the JMX without
uninstalling the feature, or do I need to just randomize the ports?



--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com


Disabling JMX altogether

2016-04-27 Thread Benson Margulies
I'm using pax-exam to test a karaf assembly that contains the
management feature. Is there some way to disable all the JMX without
uninstalling the feature, or do I need to just randomize the ports?