[jboss-user] [JCA/JBoss] - Embedded dll's in RA

dewaag do-not-reply at jboss.com
Wed Nov 8 06:07:37 EST 2006


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?



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984067#3984067

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984067



More information about the jboss-user mailing list