----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Is this covered in the FAQ? I DID look for it and could not find anything
about it.
I am struggling with the concept. When I look at the process for the JVM
instance in the /proc filesystem (under linux), I can see the LD_LIBRARY_PATH
is set correctly. Why would ld.so NOT load it -- why should dlopen() fail?
Assuming that 'java.library.path' is a property, getInitParameter returns
null. Where is this property supposed to be set? I do not see it anywhere in
$JAVA_HOME/lib/*.properties or apache/conf/jserv/*.
And I don't see how it matters since everything works fine with servletrunner.
This fact seems to point to a problem with the Apache-Jserv environment
(probably configuration).
Thanks in advance for clarifying these things for me. If it is covered in the
FAQ, if you could be so kind as to give me a link to where I would appreciate
it.
Thanks again,
Kevin
jon * wrote:
> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files. Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> on 11/19/99 10:20 AM, Kevin L McWhirter <[EMAIL PROTECTED]> wrote:
>
> > I have been experiencing the same thing (and the reason I joined this
> > mailing list :). I tried the following:
> > 1. set wrapper.env=LD_LIBRARY_PATH=/path/to/lib/dir
> > 2. copy the library to "_g" (i.e., libMyLib_g.so)
> > 3. Start JVM manually with wrapper script the expliciltly sets
> > LD_LIBRARY_PATH
> > 4. Put the path in /etc/ld.so.conf and run ldconfig -v
> >
> > All of these approaches failed.
>
> In your JVM, what is your java.library.path set to when you output it from
> your servlet? ie: don't write a main() and execute it. write a servlet that
> outputs this value. then, put your library in that path and you will be set.
>
> -jon
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]