It appears that you are running on a Unix/Linux OS.  If that is the case,
you need to set your LD_LIBRARY_PATH environment variable so that it
includes the directory where libtestar.a is located.

Regards,

Richard

At 10:59 PM 11/21/2001 -0700, you wrote:
>Hi,
>
>I've been trying to run a Servlet (Aix4.3 with IBM WebSphere3.5) calling a
>JNI C function, but somehow I got an error msg:
>
>Root Error-1: /usr/WebSphere/AppServer/bin/libtestar.a: A file or
>directory in the path name does not exist.
>
>java.lang.UnsatisfiedLinkError: /usr/WebSphere/AppServer/bin/libtestar.a:
>A file or directory in the path name does not exist.
>  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
>  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java(Compiled Code)) ....
>
>Could anyone please tell me where exactly I should put my Servlet class,
>JNI class and library file:libtestar.a ??
>Thanks,
>
>Daniel Hsu
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to