The build that I use does not have IIRCC variable in jrun shell script under
$JRUN_HOME/bin.
But I did find a typo for the $SHLIB_PATH variable ( changed $SH_LIB_PATH to
$SHLIB_PATH ... line# 147).
I restarted the JRun default server, but it did me no good.
As I see the shell script, LD_LIBRARY_PATH part of it is not accessed for
HP-UX.
Am i still missing something ???Please find the corrected excerpt from my
jrun shell script for reference below.
thanks !!
--niraj
# Configure shared library path for JNI work
if [ `uname -s` = "HP-UX" ]; then
SHLIB_PATH=`$JRUN_DIR/bin/getprop java.jnipath $LPROP
$GPROP`
SHLIB_PATH=`echo $SHLIB_PATH | sed -e 's/;/:/g'`
export SHLIB_PATH
else
LD_LIBRARY_PATH=`$JRUN_DIR/bin/getprop java.jnipath $LPROP
$GPROP`
LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | sed -e 's/;/:/g'`
export LD_LIBRARY_PATH
fi
> -----Original Message-----
> From: EXT Scott Stirling [mailto:[EMAIL PROTECTED]]
> Sent: 22. August 2000 18:20
> To: '[EMAIL PROTECTED]'
> Subject: RE: Can't load .sl file using JRun 3.0
>
>
> There's a typo in the jrun shell script in the $JRUN_HOME/bin
> directory.
> This will be fixed in the first SP, but all you have to do is
> edit somewhere
> around lines 152-4, where there's a missing $ sign in front
> of LD_LIBRARY
> variable, IIRCC. I am using a more recent build so I don't
> have the exact
> line, but that's the place to look.
>
> Scott Stirling
> Allaire Corporation
> http://www.allaire.com/developer/jrunreferencedesk/
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, August 22, 2000 10:41 AM
> > To: [EMAIL PROTECTED]
> > Subject: Can't load .sl file using JRun 3.0
> >
> >
> > Hello friends,
> >
> > The JNI library path setting in JRun3.0 on HP-UX doesn't
> work for me.
> > I cross checked the user.jnipath setting in local.properties
> > file of the
> > server and everything looks correct.
> > But a SimpleServlet throws an UnsatisfiedLinkError.
> >
> > I dont get the exception if I set the Java arguments to
> > "-Djava.library.path= path of directory containing the lib file"
> >
> > Does JRun3.0 expect settings other than user.jnipath to load
> > the library ???
> > .. quick pointers???
> >
> > --niraj.
> --------------------------------------------------------------
> ----------------
> Archives: http://www.egroups.com/group/jrun-interest/
> Unsubscribe:
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe'
in the body.
------------------------------------------------------------------------------
Archives: http://www.egroups.com/group/jrun-interest/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/jrun_talk
or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the
body.