[jboss-jira] [JBoss JIRA] (WFLY-4842) A resource packaged in a RAR file fails to call a native library packaged in the same RAR.

Alex Lashchuk (JIRA) issues at jboss.org
Mon Jun 29 13:26:03 EDT 2015


Alex Lashchuk created WFLY-4842:
-----------------------------------

             Summary: A resource packaged in a RAR file fails to call a native library packaged in the same RAR.
                 Key: WFLY-4842
                 URL: https://issues.jboss.org/browse/WFLY-4842
             Project: WildFly
          Issue Type: Bug
          Components: Class Loading
    Affects Versions: 9.0.0.CR2, 8.2.0.Final
         Environment: Windows 7, 64-bit
            Reporter: Alex Lashchuk
            Assignee: David Lloyd


JSR322, section 20.2.0.2, specifies that native libraries, packaged at an arbitrary location in a resource adapter's RAR file, will be made available to resource adapter's managed code. In fact, section 20.2.0.1 requires that the platform-specific libraries be packaged with the resource adapter module instead of being placed on java.library.path. However, attempting to access a native library included in a RAR from resource adapter code on WildFly results in an UnsatisfiedLinkError.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list