tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Kilbride <j...@kilbride.com>
Subject Re: 3.2.1 Dies
Date Thu, 01 Jan 1970 00:00:00 GMT
It's not necessary to use nohup, but it's a good idea to redirect your
standard out and standard error to a logfile when starting up. I use the
following line in my startup script called "jkup" which I placed in
/usr/local/bin:

$TOMCAT_HOME/bin/startup.sh &>/var/log/tomcat/startup.log

My logs directory in $TOMCAT_HOME is a soft link to /var/log/tomcat, where I
keep all my Tomcat related logs.

--jeff

> From: Boris Niyazov <niyazov@solni.law.columbia.edu>
> Reply-To: tomcat-user@jakarta.apache.org
> Date: Mon, 21 May 2001 15:59:43 -0400 (EDT)
> To: tomcat-user@jakarta.apache.org
> Subject: Re: 3.2.1 Dies
> 
> Why use nohup if you can configure tomcat to log into a file?
> 
> <Logger name="tc_log"
> path="logs/tomcat.log"
> verbosityLevel = "DEBUG"
> />
> 
> *********************************************************************
> * Boris Niyazov                Ph:  212-854-4094  Fax: 212-854-1749 *
> * Systems Manager              Email: ban5@columbia.edu             *
> * Columbia Law School          URL: http://www.law.columbia.edu     *
> *********************************************************************
> 
> 
> 
> 
>> 
>> STDOUT & STDERR messages go to nohup.log. In your case you might be loosing
>> those messages as you logged off (they will be sent to /dev/null - trash).
>> 
>> Sri
>> 
>> At 10:54 AM 05/21/2001 -0700, Hunter Hillegas wrote:
>>> What does running with nohup do for you?
>>> 
>>> I usually start Tomcat using tomcat.sh start and then just log out...
>>> 
>>> Hunter
>>> 
>>>> From: Srinadh Karumuri <skarumur@bbn.com>
>>>> Date: Mon, 21 May 2001 13:43:53 -0400
>>>> To: Hunter Hillegas <lists@lastonepicked.com>, Tomcat User List
>>>> <tomcat-user@jakarta.apache.org>
>>>> Subject: Re: 3.2.1 Dies
>>>> 
>>>> - I am running the tomcat using 'nohup' (UNIX command) on Solaris. My
>>>> OutOfMemory errors were logged in nohup.log
>>> 
>> ________________________________________________________
>> Srinadh Karumuri
>> Senior Programmer/Analyst
>> Business Apps.
>> BBN Technologies (Verizon)
>> Ph:(617)873-2841
>> 
> 


Mime
View raw message