Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » B3 » Problems with DS on startup
Problems with DS on startup [message #600279] Sun, 28 February 2010 11:42
Filip Hrbek is currently offline Filip HrbekFriend
Messages: 233
Registered: July 2009
Senior Member
Hi all,

I have a strange problem with launching our headless b3 application. Btw., headless buckminster suffers from the same error which is not fatal but puts an ugly error message in the error log.

The error is:

!ENTRY org.eclipse.equinox.ds 4 0 2010-02-28 12:27:37.724
!MESSAGE
!STACK 0
org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Import-Package: org.eclipse.equinox.internal.util.event; version="1.0.0"
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getR esolverError(AbstractBundle.java:1312)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.getR esolutionFailureException(AbstractBundle.java:1296)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:319)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:369)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1069)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:554)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:461)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:246)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:442)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:227)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:337)


It happens only the first time after installation. Following starts are ok.

I googled out some discussions about this but to be frank, it did not help me.

Some more details:

- even though this error appears in the log, all bundles finally resolve/start successfully
- I can't find any broken constraints in the runtime, all required bundles/packages are available

If I edit the config.ini file and replace

"osgi.bundles=reference\:file\:org.eclipse.equinox.ds_1.2.0.v20100125.jar@1\:start,reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.200.v20100123-101 9.jar @1\:start"

with

"osgi.bundles=reference\:file\:org.eclipse.osgi.services_3.2.100.v20100108.jar@1\:start,reference\:file\:org.eclipse.equinox.util_1.0.100.v20090520-1800.jar@1\:start,reference\:file\:org.eclipse.equinox.ds_1.2.0.v20100125.jar@1\:start,reference\:file\: org.eclipse.equinox.simpleconfigurator_1.0.200.v20100123-101 9.jar @1\:start"

everything works fine from the very beginning (even after fresh installation).


Does anyone know how to fix this problem without a need to provide customized config.ini?

Thanks

Filip
Previous Topic:Aggregator with version range support
Next Topic:Helios release was successfully built with b3 aggregator
Goto Forum:
  


Current Time: Fri Dec 19 09:25:52 GMT 2014

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

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