Hi, Has anyone used Websphere Application Server used JNI with servlets before? I'm using trying this in WAS 3.5, on AIX. After doing the following: - place *.so files in a directory /mylib - add -Djava.library.path=/mylib to the Command Line Arguments property of my ApplicationServer, using the Administrative Console the servlet managed to load the libraries. However, when the native method is called, java.lang.UnsatisfiedLinkError is encountered. There's nothing wrong with the libraries or he code accessing it because when I test it from command line (not through the AppServer), & having set LIBPATH accordingly, it worked. I've to point out that after I added the command line argument to my ApplicationServer, the ApplicationServer encountered some initialisation errors during start up. Other servlets not using JNI could still function as normal, though. Any help would be appreciated. Thanks! Su Jen ___________________________________________________________________________ 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
