If the DLL is being used by different native methods defined in the .war and
in the .jar, then you may be in trouble. I suspect you will need to get all
of the native methods that use the DLL into one place (e.g. one jar).
We are still using 4.0.2. I don't know if 4.0.3 will affect this.
We are
Here's what we're doing. Basically you need to touch the class
to force it to be loaded in the thread that initializes the MBean.
The AHelpers.loadGCOSLibraries method is called from the MBean.
Then we touch one class from each jar file that references native
methods. Once the jar file is bound
I was on the right track in what I wrote above. I finally found the
following reference in the JNI spec
(http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/design.html):
anonymous wrote :"The programmer may use a single library to store all the
native methods
| needed by any number of
If this is the wrong forum, please redirect this.
I have been debugging a problem with JBoss and JNI native code.
I have sample code that runs outside of JBoss, but when run in JBoss
it throws an UnsatisfiedLinkError referencing the method name on the
first call to a native method. I have verifie