Hi,
Are you sure this is right?
We did it this way: We put the classes which use the DLLs into a directory
_outside_ the /servlets/ directory, and set the servlet engine's CLASSPATH
to include this directory. We set the system (DOS) PATH to include the
locations of the DLLs.
Regards,
Mark
> -----Original Message-----
> From: Anamitra [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, 15 October 1999 4:31
> To: [EMAIL PROTECTED]
> Subject: Re: dll call from servlet
>
> What u need to do is set the LD_LIBRARY_PATH env variable. In win32
> systems
> u can do something like this in ur autoexec.bat file. In unix systems u
> can
> do that in the .profile file.
> what i do in autoexec is ----
> set LD_LIBRARY_PATH=c:\testcorba;c:\remedydlls etc
> hope it helps
> Anamitra
>
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Daniel Stroe
> Sent: Thursday, October 14, 1999 4:52 AM
> To: [EMAIL PROTECTED]
> Subject: dll call from servlet
>
>
> In which way I can use a function from a dll file called from a servlet.
> The problem is the I can't load the library with System.loadLibrary()
> call. I got an exception UnsatisfiedLinkError. When I use the same code
> into in a application class is all Ok.
>
> I mention that I use Jdk 1.1.6.
>
> Many thanks in advance,
> Daniel.
>
> __________________________________________________________________________
> _
> 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
___________________________________________________________________________
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