for the moment I am starting tomcat with $TOMCAT_HOME/bin/startup.
I have included
# Shell script to startup the server
LD_LIBRARY_PATH="/usr/lib:/usr/local/lib/:/usr/local/perl5/lib:/usr/java/lib
" ;export LD_LIBRARY_PATH
TOMCAT_HOME="/usr/tomcat/tomcat" ;export TOMCAT_HOME
BASEDIR=`dirname $0`
I have exported LD_LIBRARY_PATH already from my .bashrc
I have placed context_param in conf/apps-19x.xx.xx.xml and init-param in
WEB-INFO/web.xml
But so far, no results
Also, the perl script (with the $ENV{'LD_LIBRARY_PATH'} =.. ) is working
when I call it manually eg:
/usr/local/bin/perl user_auth
even if I first do a unset LD_LIBRARY_PATH
BTW: I am running tomact on a Solaris 9 server.
Regards
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, October 29, 2004 2:23 PM
To: Tomcat Users List
Subject: Re: problems with LD_LIBRARY_PATH !
>>I have tried every thing I could think of, even including a
>>$ENV{'LD_LIBRARY_PATH'} = "/usr/lib:/usr/local/lib:/usr/local/perl/lib";
>>in the perl script, but still fails loading libraries *.so !!
>>
>>Any idea someone !?
>>Many thanks in advances
>>Regards
>>Andre
>>
>>
How do you start your Tomcat?! Trough a init.d script, or from bash, sh
or another shell? If it is from a shell you have to be sure that your
LD_LIBRARY_PATH is set _before_ you start Tomcat, ie try this:
LD_LIBRARY_PATH="/usr/lib:/usr/local/lib:/usr/local/perl/lib"
/path/to/tomcat/bin/startup.sh
Perhaps this happens because you do not call 'export' when setting an
env variable. You have to otherwise it will only exist in the moment you
press enter...
Claus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]