We built a MBean that's using jni calls that works perfectly outside of JBOSS, but when we try to deploy it we have the following error :
java.lang.UnsatisfiedLinkError: create
at quickfix.SessionSettings.create(Native Method)
$LD_LIBRARY_PATH is setup to dynamics libraries path, quicfix.jar is in $JBOSS_HOME/server/default/lib
We can check that the classLoader finds the dynamic library, but the first call to a jni method launch the error !
Does someone knows how to setup the environnement to use jni libraiiries within Jboss one Linux ?
Context : JBOSS 3.x or 4.x - Linux 2.6.7
Thanks.