I've been doing some experiments with resource adapters and I'm running into a problem accessing a native library. The structure of my RAR file is:
+ MyConnector/
|--- ra.jar
|--- hello.dll
'--+ META-INF/
|--- MANIFEST.MF
|--- ra.xml
'--- sun-ra.xml
The code inside of ra.jar make some native calls to code that is inside hello.dll, but I get an UnsatisfiedLinkError exception. I'm running this on the latest GlassFish v2. When I configure the native library classpath in the admin console to a location that contains the DLL file, it works correctly. However, I would like to access the DLL file inside of the RAR. Do I need to add a classpath to META-INF/MANIFEST.MF for this to work? Any help would be appreciated.
Thanks,
Dalen
[Message sent by forum member 'dalenkruse' (dalenkruse)]
http://forums.java.net/jive/thread.jspa?messageID=326566