There have been a number of posts on this subject but I have not seen a solution

http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49043
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46561
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=46420
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=26432
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=25059

Here's the issue:  I'm loading a .dll with  System.load("myAbsolutePath/myDll.dll");   
It looks to load it fine ( no error thrown when wrapping the above in a try/catch 
block ), but when I make the call to a method in the .dll, I get unsatisifed link 
error.   The .dll is in the bin.  I have tried System.loadLibrary(dll) with the .dll 
in the java.library.path.  No good.  I have tried the call to loadLibrary in a static 
method and a non static method.  No good.  I have moved the .dll to the location of 
the MBean.  No good.  I looked in the .dll & matched up the name of the method I think 
i'm calling to the ascii name in the .dll.  No good.  UGH!

I'm using jboss version 3.0.7_jakarta-tomcat-4.1.24.   I downloaded a later version ( 
3.2 and 4.0 beta ) which gave me some other deployment dependencies that only obscures 
the issue.

If anyone has successfully called a JNI .dll from an mbean, please post!

Thanks!




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

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


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to