Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


BundleException during start-up of Stable Beryllium Branch

asked 2016-04-06 06:45:11 -0800

Manoj Macwan gravatar image

Hi Team,

I am trying to run OpenDayLight controller on Windows and followed all instructions mentioned in Wiki page. This include setting up settings.xml file and setting up all environment variables as mentioned.

I have checked out stable/beryllium branch from Git and built the project with "mvn clean install -Dcheckstyle.skip=true -DskipTests -Dmaven.javadoc.skip=true" command.

There were no build errors. When I tried to execute "karaf.bat" file, I am not getting OpenDayLight OSGI prompt. There are no errors in karaf.log file and last entry in that file is - Apr 06, 2016 6:24:07 PM org.apache.karaf.main.Main$KarafLockCallback lockAquired INFO: Lock acquired. Setting startlevel to 100

I am able to see errors in data/cache log file where I am seeing org.osgi.framework.BundleException exception.

!SESSION 2016-04-06 19:10:05.936 ----------------------------------------------- eclipse.buildId=unknown java.version=1.8.0_45 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US !ENTRY org.eclipse.osgi 4 0 2016-04-06 19:10:05.952 !MESSAGE error loading hook: org.eclipse.virgo.kernel.equinox.extensions.hooks.ExtensionsHookConfigurator !STACK 0 java.lang.ClassNotFoundException: org.eclipse.virgo.kernel.equinox.extensions.hooks.ExtensionsHookConfigurator at at java.lang.ClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at java.lang.Class.forName0(Native Method) at java.lang.Class.forName( at org.eclipse.osgi.baseadaptor.HookRegistry.loadConfigurators( at org.eclipse.osgi.baseadaptor.HookRegistry.initialize( at org.eclipse.osgi.baseadaptor.BaseAdaptor.<init>( at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalInit( at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.init( at org.eclipse.osgi.launch.Equinox.init( at org.apache.karaf.main.Main.launch( at org.apache.karaf.main.Main.main( !ENTRY org.apache.xbean.bundleutils 4 0 2016-04-06 19:10:06.470 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: The bundle "org.apache.xbean.bundleutils_3.18.0 [4]" could not be resolved. Reason: Missing Constraint: Import-Package: org.slf4j; version="[1.5.0,2.0.0)" at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError( at org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException( at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker( at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume( at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle( at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles( at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles( at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL( at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel( at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent( at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager ...

edit retag flag offensive close merge delete


I have same issue (mentioned above) for "master" branch as well. The exception org.osgi.framework.BundleException is for - org.apache.karaf.deployer.ka - org.apache.karaf.web.core - org.apache.karaf.web.command and all other package & controller prompt doesn't come up after this.

Manoj Macwan ( 2016-04-11 05:05:13 -0800 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2016-04-06 13:39:19 -0800

Robert Varga gravatar image

This does look weird, slf4j-api should normally be installed. Does the Beryllium SR1 release (as available in downloads) exhibit the same behavior?

edit flag offensive delete publish link more


Thanks Robert for your reply. I have downloaded "Beryllium-SR1" zip file and this doesn't exhibit the same behaviour. It opens "opendaylight-user" prompt correctly and by installing DLUX, I am able to see GUI. The problem is building ODL by CLI and specifically for Beryllium version.

Manoj Macwan ( 2016-04-11 00:06:25 -0800 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-04-06 06:45:11 -0800

Seen: 296 times

Last updated: Apr 06 '16