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 <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Mon, 21 May 2001 15:59:43 -0400 (EDT)
> To: [EMAIL PROTECTED]
> 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: [EMAIL PROTECTED] *
> * 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 <[EMAIL PROTECTED]>
>>>> Date: Mon, 21 May 2001 13:43:53 -0400
>>>> To: Hunter Hillegas <[EMAIL PROTECTED]>, Tomcat User List
>>>> <[EMAIL PROTECTED]>
>>>> 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
>>
>