How to Include java.library.path in EAP ?
Issue
- The
java.library.pathis supplied as a runtime property while starting jboss. The parameter does not seem to be properly received resulting in anUnsatisfiedLinkError. - Where would be the appropriate place to pass this parameter in?
- Is there a possibility to provide a JBoss module to load the native libraries without changing the application?
- Can we access native libraries deployed as a custom JBoss module in the deployed application?
- In the Jboss EAP 5.1.0 there is a definition of "# Setup JBoss Native library path" in the JBOSS_HOME/bin/run.sh. We put some C-libraries under this location such as "$JBOSS_HOME/../../jboss-ep-5.1/native" . But in Jboss EAP 6.3.3, there is no run.sh any more but only the standalone.sh. But in this file there is no any definition of '# Setup JBoss Native library path'. How to do in Jboss EAP 6.3.3? Where to put the C-libraries? How to make the Jboss instanz to find this location?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
- 7.x
- 8.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.