Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to run Tomcat as a background service from a telnet session?

0
Posted

How to run Tomcat as a background service from a telnet session?

0

Location: http://www.jguru.com/faq/view.jsp?EID=556838 Created: Nov 22, 2001 Author: Alessandro A. Garbagnati (http://www.jguru.com/guru/viewbio.jsp?EID=32727) Question originally posed by frank xie (http://www.jguru.com/guru/viewbio.jsp?EID=556251 Additional information: First I telneted the server, and then started up tomcat service at background. It worked well. But when I quit from the server, I found I couldn’t browse the jsp pages. I telneted the server again and found the tomcat service was not running. Why? Hi, When you put in background an application, (on Unix) you are not guaranteed that once you will log off, the application will reside in memory. The process of you logged in is, in fact, the father of all the processes you generate and when you kill it (by logging off), all the children, normally, are killed. The solution is to use the nohup command before the command itself. In fact, nohup runs the given command with hangup signals ignored, so that the command can continu

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123