Hi
 i think you should put the class containing native methods such that it is
loaded by primordial class loader
ie in system classpath
----- Original Message -----
From: ajaikumar peddapanga <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 18, 2000 4:51 AM
Subject: Re: How to use Jni with Servlets..


> Hi
> Thanx for your reply. Actually i have already done that and placed my
shared
> dll in the Library path ...but while i am trying to execute the servlet
that
> calls a native method it throws an "Unsatisfied Link error",If there is
any
> work around please let me know .I will greately appreciate that .
> Thankyou verymuch again
> ajai
>
>
> >From: Durgesh Mankekar <[EMAIL PROTECTED]>
> >Reply-To: "A mailing list for discussion about Sun Microsystem's Java
> >        Servlet API Technology." <[EMAIL PROTECTED]>
> >To: [EMAIL PROTECTED]
> >Subject: Re: How to use Jni with Servlets..
> >Date: Mon, 17 Jul 2000 11:24:50 -0700
> >
> >Yes, there is a directory where JRun searches for
> >shared libs. By default, it is JRun\examples\jni (in
> >version 2.3.3). You can change the setting from the
> >JRun Admin tool.
> >
> >
> >Start Admin, Click the General Tab and then Java tab.
> >There is an enty for Library Path. Change this setting
> >to point to the directory where you have your DLLs.
> >
> >Hope this helps
> >
> >Durgesh
> >
> >--- ajaikumar peddapanga <[EMAIL PROTECTED]>
> >wrote:
> > > Hello all ..
> > > I need to use JNI ,to access C++ code from my
> > > servlet.I am using a JRUn
> > > servlet Engine.I could get JNI running from a normal
> > > class ,But its not
> > > working from the servlets. Can some one tell me how
> > > to integrate JNI with
> > > Servlets ,Is there a directory that the Jrun
> > > searches for loading the shared
> > > libraries(dlls) .
> > > This is very urgent .please reply me .
> > > Thanks in advance
> > > Ajai
> > >
> >________________________________________________________________________
> > > Get Your Private, Free E-mail from MSN Hotmail at
> > > http://www.hotmail.com
> > >
> > >
>
>___________________________________________________________________________
> > > 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
> >
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Get Yahoo! Mail - Free email you can access from anywhere!
> >http://mail.yahoo.com/
> >
>
>___________________________________________________________________________
> >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
>
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
>
>
___________________________________________________________________________
> 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