[jboss-jira] [JBoss JIRA] (WFLY-4842) A resource packaged in a RAR file fails to call a native library packaged in the same RAR.
Syed Mahdi (JIRA)
issues at jboss.org
Mon Oct 26 19:55:00 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122159#comment-13122159 ]
Syed Mahdi commented on WFLY-4842:
----------------------------------
Hello David,
does this seem like a similar issue:
http://stackoverflow.com/questions/33250140/wildfly-class-loading-issue-with-jca-resourceadapter
The only difference is that the Jira issue related to the library inside the RAR while my issue is an external EAR where an embedded EJB Jar refrences the jar inside the RAR.
It seems different but i am thinking if the root cause is the same for both.
Thanks
Syed
> 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: 8.2.0.Final, 9.0.0.CR2
> 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.4.11#64026)
More information about the jboss-jira
mailing list