LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-13-2011, 02:56 AM   #1
fasta
Member
 
Registered: Aug 2003
Location: Livorno - Italy
Distribution: Debian
Posts: 84

Rep: Reputation: 15
Question 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
 
Old 04-18-2011, 01:48 PM   #2
cjgermany
LQ Newbie
 
Registered: Aug 2010
Posts: 3

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Session Destroyer: Automatic Webapp Session Invalidation LXer Syndicated Linux News 0 12-31-2008 04:50 AM
webapp does not start automatically in tomcat craftereric Linux - Software 1 11-05-2008 03:31 AM
How to avoid xdm login at startup? iZvi Debian 16 12-14-2004 05:11 PM
Avoid cat file1>>file2 automatic add return after file2. AshesOfTime Programming 5 11-25-2004 07:27 AM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration