当功能安装odl-dlux-core时,opendaylight硼崩溃

时间:2016-09-25 15:14:30

标签: karaf opendaylight

我在Windows 7 x64和Java8 101上使用了分发-karaf-0.5.0-Boron版本的opendayligth控制器。

当我跑步时

feature:install odl-dlux-core

我收到了这样的错误:

opendaylight-user@root>feature:install odl-dlux-core
Uncaught error from thread [opendaylight-cluster-data-akka.persistence.dispatche
rs.default-plugin-dispatcher-23] shutting down JVM since 'akka.jvm-exit-on-fatal
-error' is enabled for ActorSystem[opendaylight-cluster-data]
java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni6
4-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, E:\odl\distr
ibution-karaf-0.5.0-Boron\data\cache\bundle202\version0.0\bundle.jar-lib\0\META-
INF\native\windows64\leveldbjni.dll: Can't find dependent libraries, E:\odl\dist
ribution-karaf-0.5.0-Boron\data\tmp\leveldbjni-64-1-2257453289313732372.8: Can't
 find dependent libraries]
        at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:187)
        at org.fusesource.hawtjni.runtime.Library.load(Library.java:143)
        at org.fusesource.leveldbjni.JniDBFactory.<clinit>(JniDBFactory.java:48)
        at akka.persistence.journal.leveldb.LeveldbStore$class.leveldbFactory(Le
veldbStore.scala:44)
        at akka.persistence.journal.leveldb.LeveldbJournal.leveldbFactory(Leveld
bJournal.scala:22)
        at akka.persistence.journal.leveldb.LeveldbStore$class.preStart(LeveldbS
tore.scala:170)
        at akka.persistence.journal.leveldb.LeveldbJournal.preStart(LeveldbJourn
al.scala:22)
        at akka.actor.Actor$class.aroundPreStart(Actor.scala:489)
        at akka.persistence.journal.leveldb.LeveldbJournal.aroundPreStart(Leveld
bJournal.scala:22)
        at akka.actor.ActorCell.create(ActorCell.scala:590)
        at akka.actor.ActorCell.invokeAll$1(ActorCell.scala:461)
        at akka.actor.ActorCell.systemInvoke(ActorCell.scala:483)
        at akka.dispatch.Mailbox.processAllSystemMessages(Mailbox.scala:282)
        at akka.dispatch.Mailbox.run(Mailbox.scala:223)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
        at java.lang.Thread.run(Thread.java:745)

我在此链接后做了一些更改: Karaf exception is thrown while installing org.fusesource.leveldbjni

包括:

  • 添加felix.native.osname.alias.windows7 = windows 7,win32 to etc / system.properties
  • 在custom.properties中更改karaf.framework = felix
  • 我已经将leveldbjni自动下载到我当地的maven respo。

但我仍然遇到同样的问题,我错过了什么吗?

1 个答案:

答案 0 :(得分:1)

最后通过安装vc 2010 x64 redistribuition包重新安装 https://download.microsoft.com/download/3/2/2/3224B87F-CFA0-4E70-BDA3-3DE650EFEBA5/vcredist_x64.exe

步骤:

  1. 下载“[Dependency Walker] [1]”,将develdbjni.dll拖入依赖步行器。
  2. 您可以看到DW中缺少哪个dll。
  3. google包含丢失的dll的包。