On Thu, 29 Jul 1999, Alfonso Urdaneta wrote:

> JESS ZACHARIAS wrote:
> >
> > hi!
> >
> > i'am encountering a problem while using native methods from my
> > servlets.  the servlet engine used is Apache_Jserv 1.0. the
> > webserver is installed on linux.the shared library path is
> > /usr/lib. when a request is made to the native method the error
> > got is unsatisfied link error. the file exists and also the
> > permissions are set right.
>
> The native library is either not in the classpath, or fails to
> implement the appropiate functions.
>
> Try from a standalone app and see if that works - it will elimiate
> the servlet unkonws.
>
> Note too that the system classpath and the servlet engine classpath
> are not the same.

Note that the path of concern for JNI native libraries is the library
path, not the classpath.  How exactly you set this will vary upon what
setup you're using, i.e. servlet engine and platform, command line
vs. GUI, etc.  For example, I'm on AIX (which uses LIBPATH instead of
the more common LD_LIBRARY_PATH), and I have startup scripts for the
servlet engines I use, and I set LIBPATH in those scripts.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

___________________________________________________________________________
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