-
Bug
-
Resolution: Fixed
-
Major
-
None
If temporary catalogue required by akuma/jna to work is owned by a different user, jenkins startup will fail.
See https://groups.google.com/forum/#!topic/jenkinsci-users/SnRGmOrgJN4
# service jenkins start Starting Jenkins Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at Main._main(Main.java:91) at Main.main(Main.java:61) Caused by: java.lang.Error: Failed to create temporary file for jnidispatch library: java.io.IOException: Permission denied at com.sun.jna.Native.loadNativeLibraryFromJar(Native.java: 735) at com.sun.jna.Native.loadNativeLibrary(Native.java:674) at com.sun.jna.Native.<clinit>(Native.java:115) at com.sun.akuma.CLibrary.<clinit>(CLibrary.java:54) at com.sun.akuma.JavaVMArguments.resolvePID(JavaVMArguments.java:103) at com.sun.akuma.JavaVMArguments.ofLinux(JavaVMArguments.java: 91)
- is related to
-
JENKINS-24521 Update jna from 3.3.0-jenkins to 4.1.0 (or newer)
- Resolved