In Linux version=3.10.0-693.17.1.el7.x86_64 GSA will not start due to problem in Oshi

Description

2019-07-23 17:43:38,329 SEVERE [com.gigaspaces.start] - Error while booting system - ; Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.jini.rio.boot.RioServiceDescriptor.create(RioServiceDescriptor.java:312)
at com.gigaspaces.start.SystemBoot.main(SystemBoot.java:266)
Caused by: java.lang.UnsatisfiedLinkError: /home/wsuser/.cache/JNA/temp/jna7711744312990652967.tmp: /home/wsuser/.cache/JNA/temp/jna7711744312990652967.tmp: failed to map segment from shared object: Operation not permitted
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at com.sun.jna.Native.loadNativeDispatchLibraryFromClasspath(Native.java:1018)
at com.sun.jna.Native.loadNativeDispatchLibrary(Native.java:988)
at com.sun.jna.Native.<clinit>(Native.java:195)
at oshi.jna.platform.linux.Libc.<clinit>(Libc.java:38)
at oshi.software.os.linux.LinuxOperatingSystem.getProcessId(LinuxOperatingSystem.java:343)
at com.gigaspaces.internal.jmx.OshiJVMStatisticsProbe.probeStatistics(OshiJVMStatisticsProbe.java:60)
at com.gigaspaces.internal.jvm.JVMHelper.initJVMStatisticsProbe(JVMHelper.java:92)
at com.gigaspaces.internal.jvm.JVMHelper.<clinit>(JVMHelper.java:47)
at com.gigaspaces.grid.gsa.GSAImpl.getJVMDetails(GSAImpl.java:1242)
at com.gigaspaces.grid.gsa.GSAImpl.savePropertiesToFile(GSAImpl.java:349)
at com.gigaspaces.grid.gsa.GSAImpl.initialize(GSAImpl.java:240)
at org.jini.rio.jsb.ServiceBeanAdapter.doStart(ServiceBeanAdapter.java:369)
at org.jini.rio.jsb.ServiceBeanAdapter$1.run(ServiceBeanAdapter.java:299)
at org.jini.rio.jsb.ServiceBeanAdapter.start(ServiceBeanAdapter.java:312)
at com.gigaspaces.grid.gsa.GSAImpl.bootstrap(GSAImpl.java:204)
at com.gigaspaces.grid.gsa.GSAImpl.<init>(GSAImpl.java:149)

Workaround

Remove oshi library from optinal lib

Acceptance Test

None

Status

Assignee

Unassigned

Reporter

Ester Atzmon

Labels

None

Priority

Medium

SalesForce Case ID

12526

Fix versions

None

Commitment Version/s

None

Due date

None

Product

XAP

Edition

Premium

Platform

All
Configure