Sorry for disturbing the list, we found the solution using load instead
loadLibrary.
Dmitry.
----- Original Message -----
From: Rogatkin, Dmitry M <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 14, 1999 4:07 PM
Subject: Loading native libraries from servlet
> Our servlet uses a few native libraries. We don't have an access to a Web
> Server where the servlet is running, so we can't modify any system
> parameters, like system path. When our servlet used JDK 1.1 we didn't have
> any problems, because we could specify full path to the DLL in the
parameter
> of LoadLibrary. Now we switched to JDK 1.2 where full path to DLL isn't
> accepted by LoadLibrary. Specification a load path as a parameter of VM,
> like -Djava.library.path=path_to_library is also foribiden, because it
> requires an access to servlet engine. Using
> System.setProperty("java.library.path", path_to_library) doesn't work,
> because VM read this parameter only once at start-up. Did somebody resolve
> this problem for servlets?
>
> Thank you in advance,
> Dmitry.
>
>
___________________________________________________________________________
> 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