Again, looks like this exchange was uninentionally taken off the list,
so I'm forwarding it back to the list now.

Milt Epstein
Research Programmer
Software/Systems Development Group
Computing and Communications Services Office (CCSO)
University of Illinois at Urbana-Champaign (UIUC)
[EMAIL PROTECTED]

---------- Forwarded message ----------
Date: Fri, 30 Jul 1999 22:29:56 -0700
From: Ted Neward <[EMAIL PROTECTED]>
To: Milt Epstein <[EMAIL PROTECTED]>
Subject: Re: related to jni

Eminently possible--when I re-read Chris' message with that thought in mind,
I understand where the miscommunication is.

What I meant to say (and correct what I thought Chris was saying) is that
the *native* part of the native class (the .so or .dll) must be found along
the system PATH or LD_LIBRARY_PATH; because JNI changed some of the rules
regarding native code in Java 1.2, I'm not sure what the implications of
using native code in a servlet is.

Ted Neward
Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here
http://www.javageeks.com/~tneward
 "I don't even speak for myself; my wife won't let me." --Me

-----Original Message-----
From: Milt Epstein <[EMAIL PROTECTED]>
To: Ted Neward <[EMAIL PROTECTED]>
Date: Wednesday, July 28, 1999 11:14 AM
Subject: Re: related to jni


>On Fri, 30 Jul 1999, Ted Neward wrote:
>
>> Actually, that's not true, according to "Essential JNI", by Rob Gordon.
Pp
>> 16-17 read:
>>
>> "In order for System.loadLibrary to find your native library, the
>> directory in which teh Shared Object Library file resides must
>> appear in the LD_LIBRARY_PATH environment variable.
>[ ... ]
>
>in response to Chris Pratt's message below.
>
>
>> Hopefully this yields some insight; comments/flames/questions welcome.
>
>Is it possible you guys are talking about two different things?  That
>is, Chris is talking about the Java classes that use the JNI library,
>and you are talking about the JNI library itself?
>
>Of course, then the question is, which one, if either, is relevant to
>the original poster's problem.  There's not really enough information
>provided to say.
>
>
>> -----Original Message-----
>> From: Chris Pratt <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Tuesday, July 27, 1999 9:28 AM
>> Subject: Re: related to jni
>>
>> >Because most servlet engines use custom classloaders, to implement the
>> >automatic upgrading of servlets, you must ensure that your JNI classes
are
>> >found on the standard CLASSPATH, and NOT by the servlet engines custom
>> >classloader (usually the servlets directory is out).
>> >    (*Chris*)
>> >
>> >----- Original Message -----
>> >From: JESS ZACHARIAS <[EMAIL PROTECTED]>
>> >To: <[EMAIL PROTECTED]>
>> >Sent: Thursday, July 29, 1999 12:44 AM
>> >Subject: related to jni
>> >
>> >> hi!
>> >>
>> >> i'am encountering a problem while using native methods from my
>> >> servlets.  the servlet engine used is Apache_Jserv 1.0. the
>> >> webserver is installed on linux.the shared library path is
>> >> /usr/lib. when a request is made to the native method the error
>> >> got is unsatisfied link error. the file exists and also the
>> >> permissions are set right.
>> >>
>> >> can you suggest me, what could be possibly wrong?
>> >>
>> >> thank you.
>> >
>>
>
>Milt Epstein
>Research Programmer
>Software/Systems Development Group
>Computing and Communications Services Office (CCSO)
>University of Illinois at Urbana-Champaign (UIUC)
>[EMAIL PROTECTED]

___________________________________________________________________________
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