Ask Your Question
0

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

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

djxu gravatar image

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

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(Library.java:182) at org.fusesource.hawtjni.runtime.Library.load(Library.java:140) Uncaught error from thread [ at org.fusesource.leveldbjni.JniDBFactory.<clinit>(JniDBFactory.java:48) 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 akka.actor.Actor$class.aroundPreStart(Actor.scala:470) at akka.persistence.journal.leveldb.LeveldbJournal.aroundPreStart(LeveldbJournal.scala:20) at akka.actor.ActorCell.create(ActorCell.scala:580) at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:456) at akka.actor.ActorCell.systemInvoke(ActorCell.scala:478) at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:263) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) 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

Comments

What version of Java are you using?

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

The java version is jdk1.7.0_67

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

3 answers

Sort by ยป oldest newest most voted
0

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

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

Comments

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 -0700 )edit
0

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

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
0

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

signmgr gravatar image

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

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

Follow
1 follower

Stats

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

Seen: 748 times

Last updated: May 04 '15