LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Tomcat 6 - Avoid automatic webapp startup (https://www.linuxquestions.org/questions/linux-server-73/tomcat-6-avoid-automatic-webapp-startup-874705/)

fasta 04-13-2011 02:56 AM

Tomcat 6 - Avoid automatic webapp startup
 
Hello all.
I know it might seem a stupid question, but i'm gettin' nuts over avoiding webapp auto startup on Tomcat restart.

Situation: i have a server, used for developing. Its tomcat has a bunch of webapps deployed. MOst of them are old/kept just for the sake of it, and I would like to avoid TC to start them on start / restart.

How do I prevent a context to autostart on service start / restart?

I would like to go in the config files and selectively choose the apps to start. When tomcat is started, if anyone needs an app to be started, i would like to do it from the manager. But when I restart TC, i would like my choices to be up and running only.

TY

FASTA

cjgermany 04-18-2011 01:48 PM

I know in Suse Linux there are runlevels you can adjust to keep Tomcat from starting. Not sure what flavor of Linux you are using (probably Debian by your signature), but I would imagine they would have something similar.


All times are GMT -5. The time now is 07:35 AM.