go to the JRUN admin and check what is the default library path. Put ur lib
there.

----- Original Message -----
From: Phil Lewis <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 03, 1999 8:15 AM
Subject: JNI calls from servlet using JSDK2.1


> I have some code using JNI that works as an app, and I am trying it as a
> servlet. I get the following error:
>
> Error: 500
> Internal Servlet Error:
>
> java.lang.NoClassDefFoundError: SearchBean
>         at java.lang.Class.newInstance0(Native Method)
>         at java.lang.Class.newInstance(Class.java:241)
>         at
com.sun.web.core.ServletWrapper.loadServlet(ServletWrapper.java:90)
>         at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:109)
>         at
com.sun.web.core.InvokerServlet.service(InvokerServlet.java:169)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
>         at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:140)
>         at com.sun.web.core.Context.handleRequest(Context.java:375)
>         at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:135)
>
> I have tried puttin the DLL in several places, but I can't seen to hit on
> the correct location.
>
> Any suggestions would be much appreciated.
>
> Phil Lewis
> Senior Designer
> Knowledge Management Software plc
>
>
___________________________________________________________________________
> 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

Reply via email to