You're using wrong configuration namespaces (akka. prefix missing) also you
should use 'leveldb.native = off' instead of 'leveldb-shared.store.native =
off'. This works for me:

akka.persistence.journal.plugin = "akka.persistence.journal.leveldb"
akka.persistence.journal.leveldb.native = off

Pavel.



2014-06-24 14:44 GMT+03:00 Suresh Kumar <[email protected]>:

> Hi All,
>
> We are getting the below error when running tests through SBT (version
> 0.13). I have tried the work around which are mentioned in the
> http://doc.akka.io/docs/akka/2.3.2/scala/persistence.html, but still
> getting the error UnsatisfiedLinkError during build (but the test works
> fines in eorkspace)
>
>
>
> java.lang.UnsatisfiedLinkError:
> org/fusesource/leveldbjni/internal/NativeOptions.init()V
>  at
> org.fusesource.leveldbjni.internal.NativeOptions.<clinit>(NativeOptions.java:54)
>  at java.lang.J9VMInternals.initializeImpl(Native Method)
>  at java.lang.J9VMInternals.initialize(J9VMInternals.java:237)
>  at
> org.fusesource.leveldbjni.JniDBFactory$OptionsResourceHolder.init(JniDBFactory.java:98)
>  at org.fusesource.leveldbjni.JniDBFactory.open(JniDBFactory.java:167)
>  at
> akka.persistence.journal.leveldb.LeveldbStore$class.preStart(LeveldbStore.scala:114)
>  at
> akka.persistence.journal.leveldb.LeveldbJournal.preStart(LeveldbJournal.scala:19)
>
>  Here is my configuration (native = off as per akka persistance
> documentation)
>
>   persistence {
>     journal.plugin = "akka.persistence.journal.leveldb"
>     journal.leveldb-shared.store.native = off
>
>   }
>   Here is my build.scala (fork := True as per akka persistance
> documentation)
>
>    lazy val analytics = MYProject(
>     eclipseName = "com.ibm.csi.npm.myproject",
>     settings = standardSettings ++ Seq(fork in Test := true)
>   ) dependsOn(
>       akkaContrib,
>       thirdpartyAkka % "compile->compile;test->test",
>       thirdpartyScalatest % "test->test")
> Please suggest.
>
> Thanks,
> Suresh
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to