tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl" <>
Subject Re: [OT] Tomcat dies suddenly
Date Wed, 24 Feb 2010 17:16:58 GMT

As I said in an email a minute ago, I use a cron process to stop Tomcat, 
copy in new war's and restart Tomcat at 1:00AM.  The script is pretty 

JAVA_HOME=/usr/local/java; export JAVA_HOME

cd /usr/local/tomcat/bin
sleep 60

rm -rf /usr/local/tomcat/webapps/livonia
rm -rf /usr/local/tomcat/webapps/default
rm -rf /usr/local/tomcat/webapps/paragon

cp /usr/local/tomcat_wars/etrak-plus.war 

cp /usr/local/tomcat_wars/etrak-plus.war 

cp /usr/local/tomcat_wars/etrak-plus.war 

cp /usr/local/tomcat_wars/etrak-plus.war /usr/local/tomcat/webapps/test.war

sleep 30

strace -o /usr/local/tomcat/logs/trace_log.txt 


I am reworking the strace part to rotate the logs.



----- Original Message ----- 
From: "Christopher Schultz" <>
To: "Tomcat Users List" <>
Sent: Wednesday, February 24, 2010 10:15 AM
Subject: Re: [OT] Tomcat dies suddenly

> Hash: SHA1
> Chuck,
> On 2/24/2010 10:00 AM, Caldarale, Charles R wrote:
>>> From: Carl []
>>> Subject: RE: Tomcat dies suddenly
>>> the core files on my systems were in several directories
>> I wonder if the above is a clue to what's going on.  I've always seen
>> core files written to the current directory of the dying process,
>> never scattered around arbitrarily.  Tomcat's current directory
>> should be $CATALINA_HOME/bin;
> Mine never is, but I run using, which doesn't execute a 'cd'
> anywhere. Maybe this happens when running as a Windows service or
> something, but I don't see this behavior when running on *NIX.
>> if one of the webapps is changing the
>> current directory, could that be contributing to the failure by
>> confusing other code or the JVM?  (Or is this just another of the
>> many red herrings?)
> I suppose that's possible. Carl, are the core files all from the same
> run? If so, something is very very wrong. Otherwise, maybe the reason
> why you couldn't find any traces of your crash was that your CWD was
> changing from what you expected it to be to some random subdirectory.
> <shrug>
> - -chris
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla -
> ltoAnRyndQdsC8h70kshy1p7bkVgi6nY
> =+ndQ
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message