I don't know the concept of background and foreground process.
Can you please explain the difference?
I started tomcat from bin directory.
./startup.sh
Susmitha Metlapalli
Ranch Hand
Joined: May 16, 2007
Posts: 44
posted
0
need your help...
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35249
7
posted
0
For starters, use "./startup.sh &" instead of "./startup.sh". That will give you your command line prompt back after you start Tomcat. But it will still be terminated if you end the terminal session.
If you connect to a Unix-ish machine through Telnet or SSH, you can use the amazing utility screen to start processes and keep them running after you log out. An introduction can be found here.