-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carl,

On 2/24/2010 12:10 PM, Carl wrote:
> The first core that I saw was in $CATALINA_HOME/bin as expected.  The
> next crash produced one at root.  I thought this might have been because
> there is a cron process that runs a shell script in the
> /usr/local/tomcat_wars directory that restarts Tomcat (using shutdown.sh
> and startup.sh in the $CATALINA_HOME/bin directory) at 1:00AM so I just
> never paid it much attention.

That is likely to be the problem. If 'root' runs your cron jobs, you
might want to change your cron job to specifically use the Tomcat user:
it's a lot safer than having root run Tomcat for you :)

Some cron software allows you to set the effective uid for a job. If
yours doesn't, you can always do 'su -c 'strace ...' - tomcat_user' in
your cron job, or directly in your script.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkuFo/4ACgkQ9CaO5/Lv0PCroQCfXytB+dQ5HMofV6O5oTop4eu2
TvEAoLfzXSSztuaC0cxNHqrcNoJUliCm
=pGtT
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to