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

I can see that you are an

I can see that you are an expert at your field! I am launching a website soon, and your information will be very useful for me.. Thanks for all your help and wishing you all the success in your business.
writing service

This is also a primarily

This is also a primarily fantastic distribute which I really specialized confirming out
additional reading

Wow, happy to see this

Wow, happy to see this awesome post. I hope this think help any newbie for their awesome work. By the way thanks for share this awesomeness from
locksmith Cambridge

dari mana

Dari tahun sebelumnya kekasih perangkat telah sangat memahami penentuan kompleks, karena mereka pasti tahu mana alat memiliki keterangan kualitas canggih mengkoordinasikan rincian standar ini masih bahwa mungkin, memiliki kualitas yang dalam ketidakpastian. Dalam hal bahwa Anda harus memiliki sebuah alat dengan pemotongan khusus tepi, Samsung adalah salah satu item yang sangat ideal untuk Anda miliki, dengan alasan bahwa ia memiliki spesifikasi yang besar, hp samsung terbaru

Great info! I recently came

Great info! 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.
locksmith las vegas yelp

This was among the best posts

This was among the best posts and episode from your team it let me learn many new things.
buy active instagram followers

Really impressive post. I

Really impressive post. I read it whole and going to share it with my social circules. I enjoyed your article and planning to rewrite it on my own blog.
buy real instagram likes

This is a great article

This is a great article thanks for sharing this informative information. I will visit your blog regularly for some latest post. I will visit your blog regularly for Some latest post.
buy real instagram likes

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.
digital marketing westchester New York

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.
ilancee

I’ve been searching for some

I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!..
native american bead jewelry patterns

This is such a great resource

This is such a great resource that you are providing and you give it away for free.
Bankruptcy Lawyer

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..
tile cleaning companies in yuma az

Admiring the time and effort

Admiring the time and effort you put into your blog and detailed information you offer!..
plumbers in Mahwah NJ

Great Information sharing ..

Great Information sharing .. I am very happy to read this article .. thanks for giving us go through info.Fantastic nice. I appreciate this post.
rahsia uber

so happy to find good place

so happy to find good place to many here in the post, the writing is just great, thanks for the post.
bercuti

Just pure brilliance from you

Just pure brilliance from you here. I have never expected something less than this from you and you have not disappointed me at all. I suppose you will keep the quality work going on.
jobdirumah

asds

asds

Its a great pleasure reading

Its a great pleasure reading your post.Its full of information I am looking for and I love to post a comment that "The content of your post is awesome" Great work.
voyance tarot

I adore your websites way of

I adore your websites way of raising the awareness on your readers.
palm desert california vacation home rentals

I have read your excellent

I have read your excellent post. This is a great job. www.musclebuildingprogram.net

Unlike other blogs I have

Unlike other blogs I have read which are really not that good.Thanks alot!
Jonathan

Great post! I am actually

Great post! I am actually getting ready to across this information, is very helpful my friend. Also great blog here with all of the valuable information you have. Keep up the good work you are doing here.
this page

this blog was really great,

this blog was really great, never seen a great blog like this before. i think im gonna share this to my friends..
sales and marketing automation

Thanks for sharing this

Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people..
kerja dari rumah dengan ilancee

There's no doubt i would

There's no doubt i would fully rate it after i read what is the idea about this article. You did a nice job..
traveler

i am for the first time here.

i am for the first time here. I found this board and I in finding It truly helpful & it helped me out a lot. I hope to present something back and help others such as you helped me.
buat duit dengan uber

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

Interesting post. I Have Been

Interesting post. I Have Been wondering about this issue, so thanks for posting. Pretty cool post.It 's really very nice and Useful post.Thanks Foto Lembrança Orçamento

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

Post new comment

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