I had this problem with JServ 0.9, so I don't know if it still applies
or how the configuration changes would translate to JServ 1.0, but...

Any servlets (or classes) that use native code have to be loaded from
the static classpath rather than the dynamic classpath.  Otherwise the
classloader has problems tracking down the .so files.  I also had to
have my native code libraries in the /usr/lib directory to make it work,
although I don't remember if I tried messing with the LD_LIBRARY_PATH
environment variable.

Again, I'm not sure how that works with the new servlet "zones" and
whatnot, but I would imagine that there is a comparable configuration
directive.

Hope this helps.


Dan

> 
> But sorry already tried that and it did not work.
> 

> > How about put your sharelib in the /usr/lib. That is what I did on Solaris
> > 2.6. Though I specified my custom lib directory in LD_LIBRARY_PATH, it did
> > not work until I put the share lib in /usr/lib.


> > >I am running JServ on HP-UX10.20
> > >
> > >The problem that I am having is that i have a Servlet that uses
> > >a java zip file that uses Native Code in a shared library.
> > >
> > >Is there some setting that I can set in order to avoid
> > >"[03/06/1999 14:23:44:475] (ERROR) ajp11: Servlet Error:
> > >java.lang.UnsatisfiedLinkError: no ejni30 in shared library path: no
> > >ejni30 in shared library path"
> > >
> > >I have read something about ServletEnvironment, but am not sure where
> > >this should be set.

-- 
_________________________________________________________
Dan Cornell                           Phone: 210.805.8607
Atension,Inc.                           Fax: 210.805.8517
112 E. Pecan, Suite 750         <http://www.atension.com>
San Antonio, TX  78205                 <[EMAIL PROTECTED]>
_________________________________________________________


-- --------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to