Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Cannot transient start the bundle (error starting the bundle if org.eclipse.equinox.frameworkadmin.equinox started in transient mode with the default-start level)
Cannot transient start the bundle [message #1779795] Fri, 12 January 2018 17:21 Go to next message
Shyam Ramamoorthy is currently offline Shyam RamamoorthyFriend
Messages: 1
Registered: January 2018
Junior Member
For the bundle "org.eclipse.equinox.frameworkadmin.equinox") in TRANSIENT mode, I am seeing the below error.

org.osgi.framework.BundleException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.equinox.frameworkadmin.equinox_1.0.200.v20100505 [168]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:315) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:299) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at com.server.Activator.start(Activator.java:67) ~[na:na]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_72]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1130) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) [org.eclipse.osgi_3.7.0.v20110613.jar:na]
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException: The bundle's start level is not met. Cannot transient start the bundle: org.eclipse.equinox.frameworkadmin.equinox_1.0.200.v20100505 [168]
... 18 common frames omitted

I checked the the below code. Even if I start the bundle in default-level 4, the above exception is seen. Do I need to increase the start level for this bundle or any other work around would be appreciated?
org.eclipse.osgi.framework.internal.core.BundleHost
if (getInternalStartLevel() > framework.startLevelManager.getStartLevel()) {
if ((options & LAZY_TRIGGER) == 0 && (options & START_TRANSIENT) != 0) {
// throw exception if this is a transient start
String msg = NLS.bind(Msg.BUNDLE_TRANSIENT_START_ERROR, this);
// Use a StatusException to indicate to the lazy starter that this should result in a warning
throw new BundleException(msg, BundleException.INVALID_OPERATION, new BundleStatusException(msg, StatusException.CODE_WARNING, this));
}
return;
}

Re: Cannot transient start the bundle [message #1779921 is a reply to message #1779795] Mon, 15 January 2018 19:23 Go to previous message
Thomas Watson is currently offline Thomas WatsonFriend
Messages: 481
Registered: July 2009
Senior Member
The issue is coming from com.server.Activator class. This bundle appears to have a lower start-level and it is starting (transiently) a set of bundles which have a higher start-level than itself.
Previous Topic:p2 - dropins deprecated? What are the plans for the future.
Next Topic:(Servlet bridge) cannot use equinox on tomcat 9
Goto Forum:
  


Current Time: Mon Jun 18 08:02:38 GMT 2018

Powered by FUDForum. Page generated in 0.01862 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top