Skip to content

Instantly share code, notes, and snippets.

@jpgreenwald
Created July 6, 2013 01:02
Show Gist options
  • Save jpgreenwald/5938123 to your computer and use it in GitHub Desktop.
Save jpgreenwald/5938123 to your computer and use it in GitHub Desktop.
When deploying the cassandra java driver to glassfish there is an Invocation Exception for snappy java missing.
When you see this:
at java.lang.Thread.run(Thread.java:724)
Caused by: java.lang.UnsatisfiedLinkError: no snappyjava in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1878)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1087)
at org.xerial.snappy.SnappyNativeLoader.loadLibrary(SnappyNativeLoader.java:52)
... 114 more]]
Copy snappy-java-1.0.5-M2.jar to glassfish4/glassfish/lib/ and restart the app server.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment