AKKA system shuts down JVM

310 views
Skip to first unread message

Rodrigo Calloni

unread,
Feb 22, 2017, 4:34:12 AM2/22/17
to Akka User List

Hello


We have an AKKA system in place and we are getting the error "no leveldbjni-1.8 in java.library.path", but we have the library leveldbjni-all-1.8.jar in the path. The application was working just find and suddenly it stopped working,


Here is the full error:


21-Feb-2017 10:42:38.184 SEVERE [PoolpartyConnector-ActorSystem-akka.actor.default-dispatcher-3] akka.event.slf4j.Slf4jLogger$$anonfun$receive$1$$anonfun$applyOrElse$1.apply$mcV$sp Uncaught error from thread [PoolpartyConnector-ActorSystem-akka.persistence.dispatchers.default-plugin-dispatcher-9] shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled

java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path, C:\Program Files (x86)\apache-tomcat-8.0.20\temp\leveldbjni-64-1-337508664695535987.8: Can't find dependent libraries]

    at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)


Can you please let us know if you came across this issue and how you were able to fix it?


Thanks in advance

Rodrigo

Patrik Nordwall

unread,
Feb 25, 2017, 4:39:35 AM2/25/17
to Akka User List
Well, as the error message says you must make sure that the native libs are in the directory specified by java.library.path (google to see how to do that). But I'm not sure, because we run tests without specifying such path.

It could also be that the directory name contains spaces. Recipe for trouble.

/Patrik
--
>>>>>>>>>> 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 akka-user+...@googlegroups.com.
To post to this group, send email to akka...@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Luiz dos Santos

unread,
Mar 6, 2017, 5:36:44 PM3/6/17
to Akka User List
Hi Patrik,

   I work with Rodrigo, it is weird, the application was working before, and we do have the jar in the class path "leveldbjni-all-1.8.jar".

Thanks in advance
Luiz
Reply all
Reply to author
Forward
0 new messages