Hi,

     We're running:

     fedora
     tomcat 4.1.30
     tanukisoftware.com wrapper

# rpm -q fedora-release
fedora-release-1-3
# uname -a 
Linux example.com 2.4.20-021stab022.5.777-enterprise #1 SMP Fri Sep 3 12:45:02 
MSD 2004 i686 i686 i386 GNU/Linux

     We're seeing tomcat crash and occasionally hang (and refuse to
let go of port 8080 without a kill -9).  Everything I've found seems
to point to this being a classic LD_ASSUME_KERNEL issue.  The gotcha
here is that I can't seem to find the right way to set the 
LD_ASSUME_KERNEL environment variable so that it will get through
the "service" script.

     It seems that "service" is using /etc/init.d/tomcat4, which in
turn is a link to /opt/tomcat4/bin/tomcat4.  I've tried adding
LD_ASSUME_KERNEL in there.  I've also tried adding it in
/opt/tomcat4/bin/setclasspath.sh.  I've tried setting up a
.bash_profile in /opt/tomcat4 (which is the home directory for the
tomcat user).

     One caveat is that I may not be using the right technique to
check on things.  I've been assuming that if I do "ps -fu tomcat" and
then "cat /proc/<pid>/environ" I should see LD_ASSUME_KERNEL show up
in the environment variables for the tomcat process.  Is this a valid
test?

-- 
Steven J. Owens
[EMAIL PROTECTED]

"I'm going to make broad, sweeping generalizations and strong,
 declarative statements, because otherwise I'll be here all night and
 this document will be four times longer and much less fun to read.
 Take it all with a grain of salt." - http://darksleep.com/notablog


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to