Hi Supun; The issue here is - the same bundle which exposes the XKMS service out is the one which exports the org.wso2.xkms2 - which is consumed by the security management bundle.
I guess ideally org.wso2.xkms2 should be exported by an orbit bundle. So - with the current setup we have to keep the org.wso2.carbon.xkms-2.0.0 bundle - but we can try with an workaround to hide the XKMS service from the UI? Also - we can create a patch to fix this in the correct way. What do you suggest ? Thanks & regards. -Prabath Supun Kamburugamuwa wrote: > $subject > > What are the modules I should remove to get rid of the above services? > I think bundles with the name sts and xkms in it. But I get the > following error when starting after removing the xkms bundle. > > Supun.. > > org.osgi.framework.BundleException: The bundle could not be resolved. > Reason: Missing Constraint: Import-Package: org.wso2.xkms2; version="0.0 > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297) > at > org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272) > at > org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.startBundles(ConfigApplier.java:307) > at > org.eclipse.equinox.internal.simpleconfigurator.ConfigApplier.install(ConfigApplier.java:108) > at > org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:129) > at > org.eclipse.equinox.internal.simpleconfigurator.SimpleConfiguratorImpl.applyConfiguration(SimpleConfiguratorImpl.java:143) > at > org.eclipse.equinox.internal.simpleconfigurator.Activator.start(Activator.java:48) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:782) > at java.security.AccessController.doPrivileged(Native Method) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:773) > at > org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:754) > at > org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:352) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:370) > at > org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1068) > at > org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:557) > at > org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:464) > at > org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:248) > at > org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:445) > at > org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:220) > at > org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:330) > > ------------------------------------------------------------------------ > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev