In returning a favour to Isa Hashim that answered a similar question I
have had posted two days ago and saved me a lot of headache, I pass along
his wisdom for JWS and perhaps it maybe something similar in your case
(JRUN):
1) You problem has nothing (in practise) to do with Green or any other
type of threads
2) Servlets are loaded by a special class loader that doesn't allow you
in JWS to make dll (or lib.so) calls in sake of security (some call it a
bug:-)
3) You must put the .class file of the servlet in a diretcory called
%SERVER_ROOT%/classes (if it is not there, make it!)
4) You must still access servlet in the usual way , e.g
<...>/servlet/MyServlet?query=null or whatever. Apparently if the class of
the servlet is not found, the servlet engine (JWS at least) looks into
this /classes directory and executes the servlet
5) If all that fails or is inapplicable make ABSOLUTELY sure that your
library in in the path and that the path is properly EXPORTed (you got me
confused by mentioning Solaris and .dll in the same message:-).
Hope I have been of help. Have fun,
Kostas
On Thu, 23 Dec 1999, Santosh Kumar wrote:
> Hi All,
>
> We r using NES 3.6 with JRUN 3.2 servlet engine and jdk 1.1.5 on Solaris
> 2.5.
>
> While trying to load a shared object (dll) through system.LoadLibrary( )
> call, we are
> getting the following error message at the browser
>
> "unsatisfiedLinkError, unable to load dll from shared library path".
>
> The error message at the server side log was something related to
> GREEN-THREADS ...
>
> PLEASE CAN U HELP US OUT !!!!
>
> Thanx in advance,
> Sonty
>
> ___________________________________________________________________________
> 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