1 Reply Latest reply on Nov 8, 2006 7:27 AM by Stefano Lallero

    Embedded dll's in RA

    Stefano Lallero Newbie

      Hi,

      I'm using JNI to have my resource adapter calling a dll. If I stick the dll + three other dependencies (also dlls) in the JBOSS_HOME/bin it is all working BUT if I package the aforementioned dlls into the rar, notwithstanding the messages (for each dll present in the rar) in the console like this:


      2006-11-08 11:53:16,234 INFO [org.jboss.resource.deployment.RARDeployer] Loading native library: mylibrary.dll


      I eventually got

       java.lang.UnsatisfiedLinkError: no MyFunction in java.library.path
      


      Consider that I also tried to explicitly load the library with System.loadLibrary, but the result doesn't change.

      Any idea?