On Tue, 27 May 2014 09:26:41 -0500, Nate McCall wrote:

>> In the new setup /tmp was mounted as noexec. So it looks like JNA was
>> putting the native library here and then it was unable to execute it.
>>
>>
> If you wanted to keep /tmp noexec (not a bad idea depending on
> environment) you could also append the following to cassandra-env.sh:
> 
> JVM_OPTS="$JVM_OPTS -Djava.io.tmpdir=/some/other/dir"

Recent versions of JNA have a dedicated property "jna.tmpdir" for this, 
so that files that are supposed to go into /tmp (i.e. regular temp files) 
are unaffected. It has precedence over java.io.tmpdir.

-h

Reply via email to