Hi,
I have found any topics for this problem, but all of them have no solution for
it. Therefore a new topic.
JBoss 4.0.1 and Java 1.4.2_02
I have put a native library (xxx.dll) in the rar file (as the connector
specification defines). During startup the RARDeployer (SubDeployerSupport)
loads the library.
But when the adaptor (which is loaded by an UnifiedClassLoader3) invokes the
native method (e.g: Jni_ft_showdir), an UnsatisfiedLinkError is thrown.
java.lang.UnsatisfiedLinkError: Jni_ft_showdir .....where Jni_ft_showdir is
the name of the native method
Maybe a ClassLoader Problem. But what is the solution?
When I move the native library in a directory of the PATH and the adaptor calls
System.loadLibrary then it works.
BUT when I redeploy the adapter, the System.loadLibrary("xxx") throws an
UnsatisfiedLinkError (Native Library xxx.dll already loaded in another
classloader).
When I ignore the error, and invoke the method, an
UnsatisfiedLinkError: Jni_ft_showdir
is thrown.
Have anybody an idea?
Thank you for your assistance
Ramses
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871356#3871356
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871356
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user