java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269) at java.security.AccessController.checkPermission(AccessController.java:401) at java.lang.SecurityManager.checkPermission(SecurityManager.java:524) at java.lang.Thread.getContextClassLoader(Thread.java:1182) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.(ServletRegistration.java:37) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.registerServlet(ProxyServlet.java:136) at org.eclipse.equinox.http.servlet.internal.HttpServiceImpl.registerServlet(HttpServiceImpl.java:59) at test.http.servlet.bundleb.ServiceBImpl.sampleAPI(ServiceBImpl.java:50) at test.http.servlet.bundlea.Activator.start(Activator.java:17) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:783) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:77 4) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:755) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:370) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:284) at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:276) at jp.co.ntt.osgi.bundle.console.FrameworkConsoleActivator.commandStart(FrameworkConsoleActivator.java :1776) at jp.co.ntt.osgi.bundle.console.FrameworkConsoleActivator.execCommand(FrameworkConsoleActivator.java: 565) at jp.co.ntt.osgi.bundle.console.FrameworkConsoleActivator.run(FrameworkConsoleActivator.java:485) at java.lang.Thread.run(Thread.java:534)