Umut Ceyhan wrote:
> Could you send me some examples about usage of wrapper.path and
> wrapper.env.copy ?
>
> Thanks lot...
>
> On Sat, 5 Jun 1999, Burt Alexander wrote:
>
> > Simon Dubey wrote:
> >
> > > Hello,
> > >
> > > 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.
> > >
> > > Regards Simon.
> > >
> > > -- --------------------------------------------------------------
> > > 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]
> >
> > There are 2 properties that are *supposed* to help. The first is
> > wrapper.path . Setting these explicitly might solve the problem, altho
> > it just shifted my UnsatisfiedLinkError from one place to another with
> > NT & DB2.
> >
> > Another one to tweak is the wrapper.env.copy property - set it to equal
> > PATH. This should have the same effect as setting a bunch of
> > wrapper.path variables provided your path is set up correctly on your
> > machine.
> >
> > Please check out bug mod_jserv 4460. I have this exact same problem &
> > am unable to overcome it. If you succeed, please let me know.
> >
> >
> > Burt.
> >
> >
> >
> > -- --------------------------------------------------------------
> > 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]
> >
>
> -- --------------------------------------------------------------
> 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]
In your jserv.properties file:
wrapper.env.copy=PATH
wrapper.env.copy=CLASSPATH
this copies your PATH & CLASSPATH environment variables so JServ has access
to your system path settings. You can copy any environment variables you
need your servlets (or JServ) to have access to.
wrapper.path=/usr/bin
wrapper.path=/usr/local/bin
wrapper.path=/your/bin/directory
You can use this property to set explicitly the paths that JServ &&/|| your
servlets need. If everything is in your system PATH, the lazy way is the
first way. Hope this helps. Didn't for me...:>)
Burt.
-- --------------------------------------------------------------
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]