Hi Bob, I am sorry. I made some mistakes while adding nohup to start tomcat in my script. Starting tomcat with "nohup" command is a good solution to this problem. It makes tomcat process immune to SIGHUP as you said. thanks a lot for your help.
please let me know your comments. thanks all again, arunan On 7/21/06, Arunan Kannan <[EMAIL PROTECTED]> wrote:
Hi Bob, after starting the tomcat using the nohup command , tomcat refuses to stay alive once I logged out of telnet session. it seems that starting inside C shell is only solution in solaris... please let me know your thoughts and suggestions. I confirm that nohup is not working fine in this case for tomcat thanks again, arunan On 7/21/06, Arunan Kannan <[EMAIL PROTECTED]> wrote: > > Hi bob, > > please let me know where to configure it... > should i go for 'nohup <start_application>' > should i make changes in my script to start tomcat with nohup command? > > thanks, > arunan > > On 7/21/06, Bob Hall < [EMAIL PROTECTED]> wrote: > > > > --- Arunan Kannan < [EMAIL PROTECTED]> wrote: > > > > > I have found the solution to this problem. > > > The problem is when we start a tomcat in solaris > > > from a user shell (like > > > telnet) , then when the shell quits, the tomcat > > > might get stopped. > > > The bourne shell gives the shutdown signal when the > > > shell quits, to kill the > > > tomcat process. > > > The solution to this problem is we should > > > start/stop tomcat using C-shell. > > > > Arunan, > > > > Your Tomcat server was stopping because the > > process running it received a SIGHUP signal > > when the login shell exited. This behavior > > is configurable and the setting is usually > > governed by security policy since you might > > not want to allow all users to launch processes > > that continue after they logout. > > > > Look at the man page for 'nohup' for more info. > > > > BTW, 'ssh' is preferred over 'telnet' for security > > reasons. > > > > -Bob > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > > --------------------------------------------------------------------- > > To start a new topic, e-mail: users@tomcat.apache.org > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > >