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


ODL Helieum-SR1 0.2.1 Can not install feature: odl-mdsal-clustering

asked 2014-12-03 01:28:45 -0800

djxu gravatar image

updated 2014-12-03 17:33:07 -0800

I want to install feature "odl-mdsal-clustering" in ODL Helieum-SR1 via command "feature:install odl-mdsal-clustering" in karaf console, and following exception prompts:

opendaylight-user@root>feature:install odl-mdsal-clustering

Refreshing bundles io.netty.codec (149)

opendaylight-user@root>Uncaught error from thread [opendaylight-cluster-data-akka.persistence.dispatchers.default-plugin-dispatcher-19] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enable d for ActorSystem[opendaylight-cluster-data] java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni32-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, E:\Helinm-0.2.1\distribution-karaf-0.2.1-Helium-SR1\ data\cache\org.eclipse.osgi\bundles\196\1.cp\META-INF\native\windows32\leveldbjni.dll: Can't find dependent libraries, E:\Helinm-0.2.1\distribution-karaf-0.2.1-Helium-SR1\data\tmp\leveldbjni-32-1-694 0416866699744654.8: Can't find dependent libraries] at org.fusesource.hawtjni.runtime.Library.doLoad( at org.fusesource.hawtjni.runtime.Library.load( Uncaught error from thread [ at org.fusesource.leveldbjni.JniDBFactory.<clinit>( at akka.persistence.journal.leveldb.LeveldbStore$class.leveldbFactory(LeveldbStore.scala:36) at akka.persistence.journal.leveldb.LeveldbJournal.leveldbFactory(LeveldbJournal.scala:20) at akka.persistence.journal.leveldb.LeveldbStore$class.preStart(LeveldbStore.scala:112) at akka.persistence.journal.leveldb.LeveldbJournal.preStart(LeveldbJournal.scala:20) at$class.aroundPreStart(Actor.scala:470) at akka.persistence.journal.leveldb.LeveldbJournal.aroundPreStart(LeveldbJournal.scala:20) at at$1(ActorCell.scala:456) at at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:263) at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at Uncaught error from thread [opendaylight-cluster-data-akka.persistence.dispatchers.default-plugin-dispatcher-21opendaylight-cluster-data-akka.persistence.dispatchers.default-plugin-dispatcher-22] shut ting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[opendaylight-cluster-data] ] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[opendaylight-cluster-data] java.lang.NoClassDefFoundError: Could not initialize class org.fusesource.leveldbjni.JniDBFactory*</clinit>

Does anyone also meets this issue? please give your solution to this issue. thanks a lot.

My envoronement is : OS: WIN7 ODL: ODL Helieum-SR1 0.2.1

edit retag flag offensive close merge delete


What version of Java are you using?

dfarrell07 ( 2014-12-03 07:58:10 -0800 )edit

The java version is jdk1.7.0_67

djxu ( 2014-12-14 16:53:40 -0800 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2014-12-03 16:15:05 -0800

Colin Dixon gravatar image

One thing to note is that the clustering feature really needs to be enabled before any other features are enabled. Can you try restarting with a clean karaf distribution (delete the data directory) and then installing the clustering feature first?

edit flag offensive delete publish link more


I have restarted system with a clean karaf and firstly install odl-mdsal-clustering feature. it does not work also.

djxu ( 2014-12-14 16:54:51 -0800 )edit

answered 2014-12-03 17:31:28 -0800

djxu gravatar image

Thanks Colin Dixon and dfarrell07's comments. The java version is jdk1.7.0_67.

Besides, I have restarted system with a clean karaf and install firstly odl-mdsal-clustering feature, the issue still exist. anymore suggestion to this issue?

edit flag offensive delete publish link more

answered 2015-05-04 12:10:44 -0800

signmgr gravatar image

updated 2015-05-04 12:17:43 -0800

I'm experiencing the same issue. I'm using karaf-based Helium 0.2.3 SR3 OpenDayLight runinng Windows 7 with Java 1.8.0_45. After that problem occurred, OpenDayLight JVM is shut down in a few seconds each time after successful start. If I delete "data" directory, I succeed to start OpenDayLight, but still can't install odl-mdsal-clustering feature via karaf shell.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-12-03 01:28:45 -0800

Seen: 862 times

Last updated: May 04 '15