1 Reply Latest reply on May 21, 2017 12:54 PM by Maurice Betzel

    Wildfly Arquillian RAR LMDBJava Native lib issues

    Maurice Betzel Newbie

      Dear community,

       

      i am trying to run a home brew resource adapter for lmdbjava from a EAR with Wildfly 10 testing on Arquillian. Running the project GitHub - Maurice-Betzel/lmdbjava-resource-adapter: A JCA 1.7 standard resource provider for lmdbjava  on windows gives no probs, but CentOS does:

       

      12:09:41,729 INFO  [org.jboss.weld.deployer] (MSC service thread 1-3) WFLYWELD0003: Processing weld deployment rar-0.0.1-SNAPSHOT.rar

      12:09:41,767 INFO  [org.jboss.weld.deployer] (MSC service thread 1-5) WFLYWELD0003: Processing weld deployment test.war

      12:09:41,889 INFO  [org.jboss.weld.Version] (MSC service thread 1-5) WELD-000900: 2.3.5 (Final) Java HotSpot(TM) 64-Bit Server VM warning:

      You have loaded library /home/mbetzel/IdeaProjects/lmdbjava-jca-resource-adapter/wildfly/target/wildfly-10.1.0.Final/standalone/tmp/vfs/deployment/deploymentd62b1e730c729145/lmdbjava-0.0.6-SNAPSHOT.jar-e5a8e9508f619e57/contents/org/lmdbjava/lmdbjava-native-windows-x86_64.dll which might have disabled stack guard.

      The VM will try to fix the stack guard now. It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.

      #

      # A fatal error has been detected by the Java Runtime Environment:

      #

      #  SIGSEGV (0xb) at pc=0x00007f97436de50d, pid=14234, tid=0x00007f971aea1700

      #

      # JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)

      # Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops) # Problematic frame:

      # C  [ld-linux-x86-64.so.2+0x650d]  _dl_map_object_from_fd+0x82d

      #

      # Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again

      #

      # An error report file with more information is saved as:

      # /home/mbetzel/IdeaProjects/lmdbjava-jca-resource-adapter/wildfly/hs_err_pid14234.log

      #

      # If you would like to submit a bug report, please visit:

      http://bugreport.java.com/bugreport/crash.jsp

      # The crash happened outside the Java Virtual Machine in native code.

      # See problematic frame for where to report the bug.

       

      Wildfly wants to load the native x86_64-SunOS/libjffi-1.2.so on Linux causing a segmentation fault. How do i get it to only load the Linux binary?

       

      Update:

      On Linux, in wildfly/target/standalone/tmp/vfs/deployment,all binaries get unpacked. On Windows there is only the jffi-1.2.dll and the lmdbjava-native-windows-x86_64.dll available.

       

      A more detailed stacktrace:

       

      14:58:22,681 TRACE [org.jboss.as.connector] (MSC service thread 1-3) Processing library: jffi-1.2.dll

      14:58:22,679 TRACE [org.jboss.modules] (MSC service thread 1-1) Attempting to define class org.jboss.security.jacc.JBossPolicyConfigurationFactory in Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class javax.security.jacc.PolicyConfigurationFactory from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding local class javax.security.jacc.PolicyConfigurationFactory from Module "javax.security.jacc.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Found previously loaded class javax.security.jacc.PolicyConfigurationFactory from Module "javax.security.jacc.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Defined class org.jboss.security.jacc.JBossPolicyConfigurationFactory in Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class javax.security.jacc.PolicyConfiguration from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding local class javax.security.jacc.PolicyConfiguration from Module "javax.security.jacc.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Loading class javax.security.jacc.PolicyConfiguration locally from Module "javax.security.jacc.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Attempting to define class javax.security.jacc.PolicyConfiguration in Module "javax.security.jacc.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Defined class javax.security.jacc.PolicyConfiguration in Module "javax.security.jacc.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class org.jboss.security.jacc.SecurityActions from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding local class org.jboss.security.jacc.SecurityActions from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,688 TRACE [org.jboss.modules] (MSC service thread 1-1) Loading class org.jboss.security.jacc.SecurityActions locally from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,689 TRACE [org.jboss.modules] (MSC service thread 1-1) Attempting to define class org.jboss.security.jacc.SecurityActions in Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,689 TRACE [org.jboss.modules] (MSC service thread 1-1) Defined class org.jboss.security.jacc.SecurityActions in Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,689 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class org.jboss.security.jacc.SecurityActions$1 from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,689 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding local class org.jboss.security.jacc.SecurityActions$1 from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,689 TRACE [org.jboss.modules] (MSC service thread 1-1) Loading class org.jboss.security.jacc.SecurityActions$1 locally from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,687 TRACE [org.jboss.modules] (MSC service thread 1-2) Finding class javax.enterprise.inject.spi.Bean from Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,690 TRACE [org.jboss.modules] (MSC service thread 1-2) Finding local class javax.enterprise.inject.spi.Bean from Module "javax.enterprise.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,691 TRACE [org.jboss.modules] (MSC service thread 1-2) Found previously loaded interface javax.enterprise.inject.spi.Bean from Module "javax.enterprise.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,691 TRACE [org.jboss.modules] (MSC service thread 1-2) Finding class javax.enterprise.inject.spi.Producer from Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,691 TRACE [org.jboss.modules] (MSC service thread 1-2) Finding local class javax.enterprise.inject.spi.Producer from Module "javax.enterprise.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,691 TRACE [org.jboss.modules] (MSC service thread 1-2) Found previously loaded interface javax.enterprise.inject.spi.Producer from Module "javax.enterprise.api:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,692 TRACE [org.jboss.modules] (MSC service thread 1-2) Finding class org.jboss.as.weld.injection.WeldManagedReferenceFactory from Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,692 TRACE [org.jboss.modules] (MSC service thread 1-2) Finding local class org.jboss.as.weld.injection.WeldManagedReferenceFactory from Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,692 TRACE [org.jboss.modules] (MSC service thread 1-2) Loading class org.jboss.as.weld.injection.WeldManagedReferenceFactory locally from Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,692 TRACE [org.jboss.modules] (MSC service thread 1-2) Attempting to define class org.jboss.as.weld.injection.WeldManagedReferenceFactory in Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,692 TRACE [org.jboss.modules] (MSC service thread 1-2) Defined class org.jboss.as.weld.injection.WeldManagedReferenceFactory in Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,692 TRACE [org.jboss.modules] (MSC service thread 1-2) Finding class org.jboss.as.weld.deployment.processors.WeldComponentIntegrationProcessor$2 from Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,693 TRACE [org.jboss.modules] (MSC service thread 1-2) Finding local class org.jboss.as.weld.deployment.processors.WeldComponentIntegrationProcessor$2 from Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,693 TRACE [org.jboss.modules] (MSC service thread 1-2) Loading class org.jboss.as.weld.deployment.processors.WeldComponentIntegrationProcessor$2 locally from Module "org.jboss.as.weld:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,690 TRACE [org.jboss.modules] (MSC service thread 1-1) Attempting to define class org.jboss.security.jacc.SecurityActions$1 in Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,693 TRACE [org.jboss.modules] (MSC service thread 1-1) Defined class org.jboss.security.jacc.SecurityActions$1 in Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      Java HotSpot(TM) 64-Bit Server VM warning: 14:58:22,694 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class org.jboss.security.jacc.SecurityActions$4 from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,694 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding local class org.jboss.security.jacc.SecurityActions$4 from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,695 TRACE [org.jboss.modules] (MSC service thread 1-1) Loading class org.jboss.security.jacc.SecurityActions$4 locally from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,695 TRACE [org.jboss.modules] (MSC service thread 1-1) Attempting to define class org.jboss.security.jacc.SecurityActions$4 in Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,695 TRACE [org.jboss.modules] (MSC service thread 1-1) Defined class org.jboss.security.jacc.SecurityActions$4 in Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,695 TRACE [org.jboss.modules] (MSC service thread 1-1) Attempting to find resource org/jboss/security/jacc/jacc-policy-config-states.xml in Module "org.jboss.as.security:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,696 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding class org.jboss.security.util.state.xml.StateMachineParser from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,696 TRACE [org.jboss.modules] (MSC service thread 1-1) Finding local class org.jboss.security.util.state.xml.StateMachineParser from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,696 TRACE [org.jboss.modules] (MSC service thread 1-1) Loading class org.jboss.security.util.state.xml.StateMachineParser locally from Module "org.picketbox:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,695 TRACE [org.jboss.modules] (MSC service thread 1-4) Finding class org.wildfly.clustering.ejb.BeanManagerFactoryBuilderFactory from Module "org.jboss.as.ejb3:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      14:58:22,696 TRACE [org.jboss.modules] (MSC service thread 1-4) Finding local class org.wildfly.clustering.ejb.BeanManagerFactoryBuilderFactory from Module "org.wildfly.clustering.ejb.spi:main" from local module loader @44a3ec6b (finder: local module finder @71623278 (roots: /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules,/home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/modules/system/layers/base))

      You have loaded library /home/mbetzel/Development/lmdbjava-resource-adapter-master/wildfly/target/wildfly-10.1.0.Final/standalone/tmp/vfs/deployment/deploymentd0f44d6083e488a9/jffi-1.2.15-native.jar-c964e24ad2b29eb7/contents/jni/x86_64-Windows/jffi-1.2.dll which might have disabled stack guard. The VM will try to fix the stack guard now.

      It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'.

       

      The org.jboss.as.connector.deployers.ra.processors.RaNativeProcessor calls:

       

      List<VirtualFile> libs = deploymentRoot.getChildrenRecursively(new LibraryFilter());

       

      resulting in:

       

      libs = {ArrayList@11410}  size = 16

      0 = {VirtualFile@11411} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/x86_64-Windows/jffi-1.2.dll""

      1 = {VirtualFile@11430} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/arm-Linux/libjffi-1.2.so""

      2 = {VirtualFile@11431} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/ppc-AIX/libjffi-1.2.a""

      3 = {VirtualFile@11432} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/x86_64-FreeBSD/libjffi-1.2.so""

      4 = {VirtualFile@11433} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/i386-SunOS/libjffi-1.2.so""

      5 = {VirtualFile@11434} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/x86_64-SunOS/libjffi-1.2.so""

      6 = {VirtualFile@11435} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/i386-Linux/libjffi-1.2.so""

      7 = {VirtualFile@11436} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/aarch64-Linux/libjffi-1.2.so""

      8 = {VirtualFile@11437} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/x86_64-Linux/libjffi-1.2.so""

      9 = {VirtualFile@11438} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/i386-Windows/jffi-1.2.dll""

      10 = {VirtualFile@11439} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/sparcv9-SunOS/libjffi-1.2.so""

      11 = {VirtualFile@11440} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/ppc64-Linux/libjffi-1.2.so""

      12 = {VirtualFile@11441} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/x86_64-OpenBSD/libjffi-1.2.so""

      13 = {VirtualFile@11442} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/jffi-1.2.15-native.jar/jni/ppc64le-Linux/libjffi-1.2.so""

      14 = {VirtualFile@11443} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/lmdbjava-0.0.6-SNAPSHOT.jar/org/lmdbjava/lmdbjava-native-linux-x86_64.so""

      15 = {VirtualFile@11444} ""/content/cfde33fc-3ef5-4375-be72-0e9bd52a6032.ear/rar-0.0.1-SNAPSHOT.rar/lmdbjava-0.0.6-SNAPSHOT.jar/org/lmdbjava/lmdbjava-native-windows-x86_64.dll""

       

      It seems that file number 5 ( libjffi-1.2.so ) crashes the VM without running into the catch with the call System.load(f.getAbsolutePath()), with the file to be loaded being in place.

       

      How can i exclude the alien Platform binaries?