TomcatExpert

How do you gracefully restart Apache Tomcat?

How do you gracefully restart Tomcat? It will be good to have a standard way doing this. We created a health check url for the load balancer (e.g. /health). This url returns 200 status to indicate this service is up. There is a prob.txt under tomcat dir. If we delete this file, the health check will start returning 404. Thus, remove this box from load balancer. Wait for 2 to 3 mins before shutting it down the process to ensure all request have been processed.

asked by mcheung610

question

Tomcat, unlike Apache HTTPD, does not have a graceful restart function, largely because of the consequences of it being an application server rather than a web server.

The restart time for server itself largely depends on how long it takes your application to start up, you should be able to start a fresh Tomcat instance in a few seconds - it's worth noting how long it takes to start up on your system, before you customise the configuration.

Instead of restarting the server, you can restart individual applications, which is nearer to the concept of a graceful restart and wouldn't incur the overhead of restarting all of the applications.

An appropriately secured* Manager application instance in each Host, will enable you to selectively restart an application. Automated requests can be sent to the /manager/text component using the same request structure as the /manager/html component, but with smaller output.

* The Manager application should be secured by adding the RemoteIpValve to it's Context definition, with only the specific IP addresses you'll administer the server from enabled.

answer

answered by pidster on June 16, 2011 11:46 AM

Stuart Williams is a Senior Consultant for the SpringSource Division of VMware, Inc. (NYSE: VMW). Stuart has been a Tomcat user for 6 years and is a regular contributor to the Apache Tomcat Users mailing list, and is also a committer on the Apache Amber OAuth project.

Comments

nice topic

I had the same URl problem when I restart the apache tomcat. I think this article is ideal for all having similar doubt. The steps you posted here is very easy to follow. I have gone through the steps and it really works. Thanks for share this.catalina island motels

klinikjakartapusat

Thanks for the blog post buddy! Keep them coming in my web
siklus menstruasi

Superbly written article, if

Superbly written article, if only all bloggers offered the same content as you, the internet would be a far better place.. קורס לאנשי מכירות

Excellent .. Amazing .. I’ll

Excellent .. Amazing .. I’ll bookmark your blog and take the feeds also…I’m happy to find so many useful info here in the post, we need work out more techniques in this regard, thanks for sharing. buy instagram followers paypal

lightweight electric scooter

Nice to read your article! I am looking forward to sharing your adventures and experiences. lightweight electric scooter

Nice blog and absolutely

Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best. buy instagram followers paypal

Thanks for sharing the info,

Thanks for sharing the info, keep up the good work going.... I really enjoyed exploring your site. good resource... קורס לאנשי מכירות

I learn some new stuff from

I learn some new stuff from it too, thanks for sharing your information. קורס מכירות

Positive site, where did u

Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. about apotex

i think he/she did some

i think he/she did some research on the subject. konsultasi medis online - KlinkUtamaGracia.Net

That is really nice to hear.

That is really nice to hear. thank you for the update and good luck. Click here

I really like your writing

I really like your writing style, great information, thankyou for posting. Teenage Genocide

Wonderful blog! I found it

Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it. Check this site

DSASDASD

jimmy choo
the north face outlet
red valentino
michael kors
louis vuitton sacs
cheap jordan shoes
rolex replica watches321zc
michael kors handbags outlet
ed hardy
jordan shoes
cheap jordans
nike blazer
ralph lauren pas cher
adidas nmd
gucci borse
fitflops shoes
nike outlet store
michael kors handbags online
nike free 5
nike roshe
converse trainers
true religion jeans sale
adidas nmd
omega watches for sale
michael kors handbags wholesale
michael kors handbags
cheap basketball shoes
longchamps
michael kors outlet
michael kors handbags wholesale
cheap nfl jerseys wholesale
instyler max 2
nike huarache trainers
ed hardy outlet
pandora charms
michael kors handbags sale
tiffany and co outlet
lebron shoes
longchamp le pliage
skechers outlet
lebron james shoes
abercrombie and fitch
michael kors handbags
michael kors handbags
michael kors handbags
nike store uk
asics shoes
pandora jewelry
michael kors handbags
nike huarache
cheap mlb jerseys
cheap ray ban sunglasses
cheap nhl jerseys
jimmy choo shoes
nike store
michael kors outlet store
nike tn
michael kors outlet
michael kors outlet
toms shoes
cheap nike shoes
michael kors handbags
michael kors outlet
yeezy boost 350 black
michael kors handbags
michael kors handbags
polo ralph lauren
toms outlet
sac longchamp
fitflops sale clearance
michael kors uk
mlb jerseys
kobe 9
michael kors uk
nike air max 90
christian louboutin outlet
cheap michael kors handbags
nike blazer pas cher
cheap michael kors handbags
saics running shoes
ecco shoes outlet
ralph lauren outlet online
michael kors handbags
nike outlet
nike trainers uk
ghd hair straighteners
new balance outlet
hugo boss outlet
supra shoes
nba jerseys
nike air huarache
ralph lauren outlet
polo ralph lauren outlet
nike blazer low
michael kors outlet store
nike trainers uk
hugo boss sale
armani exchange
fitflops
air jordan uk
cheap jordans
michael kors handbags
tiffany and co
supra shoes sale
michael kors handbags
dolce and gabbana
cheap nike shoes sale
new balance shoes
nike air force 1
michael kors handbags wholesale
omega watches
nike trainers
gucci sito ufficiale
michael kors outlet online
salomon boots
armani exchange outlet
michael kors handbags
yeezy boost 350
christian louboutin shoes
nike huarache
instyler max
nike tn pas cher
valentino shoes
nike trainers
ed hardy clothing
under armour outlet
michael kors handbags
fitflops sale clearance
nike free
michael kors handbags
michael kors handbags
cheap oakley sunglasses
oakley sunglasses
salomon shoes
cheap oakley sunglasses
oakley sunglasses
ghd flat iron
michael kors handbags
the north face
chaussure louboutin
cheap oakley sunglasses
michael kors handbags
pandora outlet
michael kors handbags
salvatore ferragamo
moncler outlet
converse shoes
nike blazer pas cher
true religion jeans
adidas nmd r1
louis vuitton pas cher
ray ban sunglasses
jordan shoes
mont blanc pens
michael kors handbags wholesale
replica watches
ecco shoes
ralph lauren
ray ban sunglasses
michael kors handbags outlet
abercrombie and fitch kids
michael kors handbags clearance
cheap ray bans
longchamp bags
oakley sunglasses
versace
ed hardy uk
pandora jewelry
mont blanc pens outlet
cheap nfl jerseys
michael kors outlet
dolce and gabbana shoes
basketball shoes
nike huarache
michael kors outlet
nike air huarache
michael kors outlet
versace shoes
air force 1 shoes
cheap michael kors handbags
michael kors handbags outlet
michael kors outlet
cheap nba jerseys
under armour shoes
ferragamo shoes
adidas nmd runner
michael kors handbags
nike blazer
reebok shoes
michael kors handbags wholesale
skechers shoes
chaussure louboutin pas cher
dolce and gabbana outlet
michael kors handbags
michael kors outlet online
cheap michael kors handbags
birkenstock sandals
air max 90
michael kors outlet clearance
birkenstocks
nike roshe run
yeezy boost 350 white
reebok outlet
moncler jackets
michael kors handbags sale
kobe 9 elite
nhl jerseys
michael kors handbags
michael kors outlet

Thank you because you have

Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. tx

Thank for answer!

Thank for answer!

great

I like this article so much Thanks for bringing in for all of us. it is really Its my great pleasure to visit your blog and to enjoy your great posts here. I like it a lot. I can feel that you paid much attention for those articles,Buy Winstrol pills as all of them make sense and are very useful

Useful Topic

Since I am using tomcat server, this piece of information is very useful to me. From your post, I came to know about how to restart an apache tomcat. I would like to thank you for providing this valuable information about this server. missing period

thomas

I prefer the whole of the wide range stuff, Taken into consideration in fact really enjoyed, Now i need ideas. on that, bearing in mind that it can be a little outstanding., Thanks a lot very much for the purpose of explaining. custom college thesis

Thanks for the blog post

Thanks for the blog post buddy! Keep them coming... MyHealth Mississauga

reply

This Q&A forum has been really helpful to know more about the issues relating to servers particularly tomcat. The response from you to any question posted by users is high which is a great thing and has added to the dependability of your site. Keep up the good work. photo editing india

Mia ZoeLily

The information mentioned within the article are some of the most effective obtainable
diet pills for women

The information mentioned within the article are some of the most

This blog is really great.

This blog is really great. The information here will surely be of some help to me. Thanks!. free press release in Poland

I recently came across your

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have enjoyed reading. Click here

I like your post. It is good

I like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed... richard warke

The information you have

The information you have posted is very useful. The sites you have referred was good. Thanks for sharing.. jeff melanson

I have bookmarked your blog,

I have bookmarked your blog, the articles are way better than other similar blogs.. thanks for a great blog! Bondage Supplies

I have a hard time describing

I have a hard time describing my thoughts on content, but I really felt I should here. Your article is really great. I like the way you wrote this information. wilan

Nice blog and absolutely

Nice blog and absolutely outstanding. You can do something much better but i still say this perfect.Keep trying for the best. wilan

Wonderful blog! I found it

Wonderful blog! I found it while surfing around on Yahoo News. Do you have any suggestions on how to get listed in Yahoo News? I’ve been trying for a while but I never seem to get there! Appreciate it. Check this site

I found your this post while

I found your this post while searching for information about blog-related research ... It's a good post .. keep posting and updating information. jocelyn paquette granby

New web site is looking good.

New web site is looking good. Thanks for the great effort. Click here

Truly strong article. It

Truly strong article. It appears like you've put a considerable measure of thought into this and accompany a viabel thought. The clever thing was that I was considering this privilege before unearthing to your site.
Choose A Personal Injury Lawyer

thomasqq

Please continue this great work and I look forward to more of your awesome blogs. real Get Rid Of Herpes reviews

This is actually the kind of

This is actually the kind of information I have been trying to find. Thank you for writing this information. Click here

Very interesting blog. Alot

Very interesting blog. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know. dana collette

Thanks, that was a really

Thanks, that was a really cool read! toronto cosmetic clinic

This is very educational

This is very educational content and written well for a change. It's nice to see that some people still understand how to write a quality post.! ian telfer

Hi there! Nice stuff, do keep

Hi there! Nice stuff, do keep me posted when you post again something like this! Language of Desire

This is a great inspiring

This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. Joey Houssian

Great job for publishing such

Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. There tend to be not many people who can certainly write not so simple posts that artistically. Continue the nice writing Click here

That is really nice to hear.

That is really nice to hear. thank you for the update and good luck. Click here

No doubt this is an excellent

No doubt this is an excellent post I got a lot of knowledge after reading good luck. Theme of blog is excellent there is almost everything to read, Brilliant post. sam mizrahi

I really thank you for the

I really thank you for the valuable info on this great subject and look forward to more great posts. Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article. Good luck to the author! All the best! man u premier league live

I like your post. It is good

I like your post. It is good to see you verbalize from the heart and clarity on this important subject can be easily observed... jeffrey lipton barbados, jeff lipton barbados

I am glad you take pride in

I am glad you take pride in what you write. This makes you stand way out from many other writers that push poorly written content. Click here

dwd

dandiya songs 2016
happy navratri wishes
navratri images 2016

Thank you because you have

Thank you because you have been willing to share information with us. we will always appreciate all you have done here because I know you are very concerned with our. binary options free trading signals online

You have a real ability for

You have a real ability for writing unique content. I like how you think and the way you represent your views in this article. I agree with your way of thinking. Thank you for sharing. http://www.infinityinformations.net/2016/08/24/security-tips-offered-by-snapchat/

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.