You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by anair <as...@yahoo.com> on 2013/03/22 01:07:25 UTC

Re: Start/Stop Karaf 2.2.9 via JMX

I tried to shutdown the container, but I got the following exception. Is
there some settings I need to modify to let JMX shutdown the container. I
used the shutdown command in "org.apache.karaf:type=system,name=root" to
shutdown Karaf 2.2.9.

Caused by: java.lang.SecurityException: Start/Stop of bundle not allowed
	at
com.ge.dsp.core.spi.impl.BundleLevelSecurity.checkAdminPermission(BundleLevelSecurity.java:87)
	at
com.ge.dsp.core.spi.impl.BundleLevelSecurity.checkPermission(BundleLevelSecurity.java:53)
	at org.apache.felix.framework.Felix.stop(Felix.java:871)
	at
org.apache.karaf.management.mbeans.system.internal.SystemMBeanImpl.shutdown(SystemMBeanImpl.java:37)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
	at
com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
	at
com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
	at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
	at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
	at javax.management.StandardMBean.invoke(StandardMBean.java:391)
	at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
	at
javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1454)
	at
javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:74)
	at
javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1295)
	at java.security.AccessController.doPrivileged(Native Method)
	at
javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1394)
	at
javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:818)



--
View this message in context: http://karaf.922171.n3.nabble.com/Start-Stop-Karaf-2-3-x-via-JMX-tp4028274p4028281.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Start/Stop Karaf 2.2.9 via JMX

Posted by anair <as...@yahoo.com>.
Never mind, thanks.



--
View this message in context: http://karaf.922171.n3.nabble.com/Start-Stop-Karaf-2-3-x-via-JMX-tp4028274p4028282.html
Sent from the Karaf - User mailing list archive at Nabble.com.