----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Add to the list of things I have tried:

5. set wrapper.env.copyall=true in jserv.properties

I was pointed to this by an FAQ-O Matic entry. (namely:
http://java.apache.org/faq/fom-serve/cache/216.html)

This, also,  was to no avail.
Kevin

Kevin L McWhirter 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!!!
> ----------------------------------------------------------------
>
> 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.
>
> At this point I am wondering if it has something to do with the new
> "sandbox" code.  My next step will be to start the JVM with strace and
> parse through the output looking for hints.  I will probably do that
> sometime this weekend.
>
> But,  does anybody else have any ideas?
>
> BTW,  I am using RedHat 6.1, the IBM JDK 1.1.8 and the servlet works fine
> with servletrunner!  Loads the JNI library just fine everytime!
>
> Thanks,
> Kevin
>
> Jerome,  please email me if you get this figured out. I will do the same
> should I get there first (of course I will CC a copy to this list as well).
>
> Jerome Martin 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!!!
> > ----------------------------------------------------------------
> >
> > Hi,
> >
> > My configuration is : Suse Linux version 6.1
> >                      Apache  version 1.3.6
> >                      JServ version 1.0
> >
> > My problem is :
> > When I try to call a native method named "ucpB0" from my servlet, i have
> > this message in log files :
> >
> >        Jserv log file :
> >        ajp11: Servlet Error: java.lang.UnsatisfiedLinkError: ucpB0:
> > ucpB0
> >        an error returned handling request via protocol "ajpv11"
> >
> >        Apache log file :
> >        java.lang.UnsatisfiedLinkError: ucpB0
> >        at org.apache.jserv.JServConnection.run(JServConnection.java:336)
> >        at java.lang.Thread.run(Thread.java)
> >
> > When I call the native method from a "normal" (not a servlet) class, it
> > works fine...
> > So, I think it's a PATH problem but I don't know what i can do..
> > I try this
> >        wrapper.env=LD_LIBRARY_PATH=/usr/lib
> > in the jserv.properties file  because the dynamic library where ucpB0 is
> > is in /usr/lib.
> > It doesn't work.
> >
> > Please help me if you know a solution
> > Thank you
> >
> > Jerome
> >
> > --
> > --------------------------------------------------------------
> > 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]



--
--------------------------------------------------------------
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]

Reply via email to