Parallel Deployment with Apache Tomcat 7

posted by mthomas on May 31, 2011 07:44 AM

Upgrading web applications can be very expensive if your storefront is the web. Weekend maintenance windows, or downtime in general can give an entire company heartburn. Survey data shows that web application downtime can cost some companies up to $72,000 per minute. Yet the cost of not constantly rolling out new features and bug fixes can equally penalize a company in the competitive online markets today.

Previously, to upgrade an application on Tomcat and avoid downtime, system administrators would have to set up multiple instances of Tomcat and do some very clever stuff with load balancers. This equals extra hardware costs as a permanent part of the company’s infrastructure.

Now with the advent of parallel deployment in Tomcat 7, you can have multiple versions of the same application installed at the same time on a single server. Users with active sessions can continue to use the old application and new users will be routed to the new version. This way, no user sessions will be interrupted, and the old application can gracefully phase out.

Setting Up Parallel Deployment

Parallel deployment is a function of the Context Container. The Context element represents a web application, which in turn specifies the context path to a particular Web Application Archive (WAR) file that is the application logic. Parallel deployment allows you to deploy multiple versions of a web application with the same context path concurrently. When choosing what version of the application for any given request, Tomcat will:

  1. Route new requests to the latest version, so new sessions go to the new application.
  2. If session information is in the request, check the session manager for a matching version, so existing sessions will go to the original application for the request.
  3. If session information is in the request, but the corresponding application is no longer present, it will route to the latest version.

Working Across Clusters

If you have clustered Tomcat, configured using the FarmWarDeployer, you can achieve parallel deployment within that cluster. The FarmWarDeployer is a component which lets you deploy a WAR file across an entire cluster. By placing the WAR file on the designated host, clustered Tomcat will automatically replicate that deployment across every server in the cluster.


Because of the sophistication and cost savings this feature brings to enterprise deployments of Tomcat, this feature, built by VMware’s SpringSource, was initially looked at being part of VMware vFabric's tc Server, but once we got building it, it couldn’t be done cleanly without putting some hooks into Tomcat that didn’t fit naturally into the architecture. After careful consideration of what was best for Apache Tomcat, VMware decided to still fill the need to build this feature out, but donate it to the Apache Tomcat project at large.

Mark Thomas is a Senior Software Engineer for the SpringSource Division of VMware, Inc. (NYSE: VMW). Mark has been using and developing Tomcat for over six years. He first got involved in the development of Tomcat when he needed better control over the SSL configuration than was available at the time. After fixing that first bug, he started working his way through the remaining Tomcat bugs and is still going. Along the way Mark has become a Tomcat committer and PMC member, volunteered to be the Tomcat 4 & 7 release manager, created the Tomcat security pages, become a member of the ASF and joined the Apache Security Committee. He also helps maintain the ASF's Bugzilla instances. Mark has a MEng in Electronic and Electrical Engineering from the University of Birmingham, United Kingdom.


Parallel Deployment with Apache Tomcat 7

Are you saying that it is not available in open source version (Apace Tomcat 7.x)?

After reading this whole

After reading this whole article, I have to say that this is probably one of the most amazing articles that I've read in my lifetime. This is just the perfect article that you've published here. Thanks a lot for this! how to save on your power bill

I am very impressed with the

I am very impressed with the work that the writer has done here. This is, without a doubt, one of the most helpful articles that I have read on this blog. Thanks a lot for writing this article. Spring Forward

Saving electricity is one of

Saving electricity is one of the best methods to lower your monthly energy bills. Your electricity bill is among the most costly payments that you make every month apart from credit card and home loan. how to save on electricity

Parallel Deployment with Apache Tomcat 7

As per the title of the article, parallel deployment is a feature of Apache Tomcat 7. This may be confirmed by examining the changelog and/or reading the documentation.

koratm226, you can find how

koratm226, you can find how to do it on:

Mark, you probably have to add this information on tomcat documentation, it would be easier and quicker to know how to do it.

Anyway, it's an awesome feature! Congrats!


I did it manually from tomcat 5.5;
Let's see if it works ....

Fernando Franzini - Java Blog

download software mxf

download software mxf converter, convert p2 mxf files from your camcorder. convert mxf files to avi mp4 mov avd

News Greek

It is very good, but look at the information at this address.

I think Apache Tomcat 7 is

I think Apache Tomcat 7 is one of the best web applications in this category. Reading this article I have got some important points regarding this application and also how to set up parallel deployment successfully. Thanks a lot! Projection Glass


como baixar pou infinito I have a similar interest this is my page read everything carefully and let me know what you think. clash of clans triche francais


Their work you will is amazingly readily shown ınside your blog articles; you may be an actual competent. I would prefer to supply an extra blog with the preferred varieties one shown yesterday morning. Require ones own people to look into online world.for a lot of stuff tailor-made article.

Tinder, a dating app for the

Tinder, a dating app for the iPhone, has become so wildly popular in the ... a sophomore at Cornell University who downloaded the app earlier download tinder app

I blog often and I genuinely

I blog often and I genuinely thank you for your content. This great article has truly peaked my interest. I will book mark your site and keep checking for new information about once a week. I opted in for your RSS feed too.
Mortgage Broker Calgary

iptv server

application is no longer present, it will route to the latest version.iptv server

oakley sunglasses

You have attempted to post the same content multiple times.

You have attempted to post the same identical content multiple times, causing your posts to be flagged as potential spam. If this has happened in error, please report this error along with your IP address ( to a TomcatExpert site administrator. We apologize for any inconvenience.

You're so cool! I don't

You're so cool! I don't believe I've truly read anything like this before. So wonderful to discover somebody with some genuine thoughts on this topic. Really.. thanks for starting this up. This site is one thing that is needed on the web, someone with a little originality!
Edmonton Mortgage Broker
Life Insurance Vancouver
Life Insurance Calgary


i am looking to purchase black - white pictures of bulgarian monasteries, framed to be shipped to texas, usa for present, please send me if possible names or sites. click

TOUCH Community Services

Promptly this url might irrefutably end up legendary in between every writing many people, because of diligent articles and reviews and ratings. TOUCH Community Services


The procedure a person does may be very conveniently mirrored in your own articles; that you're an absolute pro. I would really prefer so as to add one other webpage into the endorsed styles everyone provided a while back. Talk to an individual's readership to visit internet.

Personal Injury Lawyer Marietta Ga | Call 678-445-7423

Listed here you'll learn it is important, them offers the link in an helpful webpage:
truck accident attorney marietta ga


Absolutely fantastic posting! Lots of useful information and inspiration, both of which we all need!Relay appreciate your work. SEO Columbus


panic treatment would not mean that you will be required to drive around inside an old lorry with like beads hanging with the mirror personal injury attorneys roswell ga

OC Housing News

I can recommend primarily decent and even responsible tips, as a result view it:
Orange County Real Estate

Jual Laptop Notebook PC HP Lenovo Printer Tinta Toner Epson Mura

For many people this is important, so check out my profile:
jual PC Murah


i am looking to purchase black - white pictures of bulgarian monasteries, framed to be shipped to texas, usa for present, please send me if possible names or sites. leading latina

Watch Latest Pakistani Talk Shows and Dramas Online HD at ViiTV

I recommend only good and reliable information, so see it:
Dawn News


i am looking to purchase black - white pictures of bulgarian monasteries, framed to be shipped to texas, usa for present, please send me if possible names or sites. chewable kamagra


I have read a few of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog site list and will be checking back soon. Please check out my site as well and let me know what you think.


application and new users will be routed to the new version. Buy cyprus cars


Fine place, a an exceptionally amazing webpage that there is at this point, stick to beneficial financial job, shall be to come back. メディプラスゲル


I recommend any content. It's always wonderful to work out you will explain in words from middle and additionally picture quality using this valuable content is quite simply recognized. much more information access websites. viral loop review


Your current tunes can be remarkable. You've got a number of quite accomplished musicians. My spouse and i would like anyone the top involving good results. メディプラスゲル 店舗


Checking any blog may make others just want to come up with a greater number of. I did a fabulous which i was first lovely content by means of. The software most likely conducted for the tier still it’s exceptional. cccam server


That is a good write-up When i viewed on account of write about the item. Really it is what exactly I need to to discover trust with foreseeable future you might go on intended for giving a really fantastic write-up. デトランスα 楽天

Wimpernverlängerung Berlin, Wimpernverdichtung, Sugaring Haarent

So lot to occur over your amazing blog. Your blog procures me a fantastic transaction of enjoyable.. Salubrious lot beside the scene.

Fabulous article. That blog

Fabulous article. That blog post impinges on a whole lot of immediate need conflicts of the contemporary culture. You cannot be uninvolved to help you a lot of these conflicts. It blog post grants ideas and even creative concepts. Highly insightful and even helpful. รับทํารั้วสแตนเลส


Camping is simplest way to experience a natural sight-seeing opportunities of Kenya. A lot of camps will be sited around private preservation areas, when walking plus night moves are established. In any safari, visitors are along with staff affiliates who help in various domains. best diet pills for women


i am looking to purchase black - white pictures of bulgarian monasteries, framed to be shipped to texas, usa for present, please send me if possible names or sites. Google Plus

Very Good Article

Best Email Service

Thank A Lot



i am looking to purchase black - white pictures of bulgarian monasteries, framed to be shipped to texas, usa for present, please send me if possible names or sites. black car service in augusta 


VMware decided to still fill the need to build this feature out, but donate it to the Apache Tomcat project at large.cccam server

Syd William Accounting

Hmm… I interpret blogs on a analogous issue, however i never visited your blog. I added it to populars also i’ll be your faithful primer.
syd william accounting services montreal


This way, no user sessions will be interrupted, and the old application can gracefully phase out.marietta personal injury lawyer


I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article.


I am very enjoyed for this blog. Its an informative topic. It help me very much to solve some problems. Its opportunity are so fantastic and working style so speedy.


Página do estudio fotografa cesar em Cascais, descubra os nossos novos serviços e uma magnifica galeria de fotos. fotografo cascais


Document was aware of the fact that impact was first only just all the foreign language benefit from it also yet seemed problematic. At this time it’s definitely do- effective. With thanks for those support. video rubix review

Luther celine bags stopped

Luther celine bags stopped uggs on sale in jerseys front christian louboutin outlet of the true religion jeans Trogdons' 5s cases spectacle-more than fourteen thousand lights draped michael kors outlet over converse trees and shrubs and lunette ray ban pas cher windows air jordan pas cher and longchamp porch michael kors columns. Up on uggs canada the roof discount oakley sunglasses with hogan sito ufficiale Frosty was mulberry Santa and nike tn pas cher his reindeer-Rudolph air max 2015 of new balance pas cher course with a bright, flashing nose-all iphone case perfectly outlined with white lights. sac vanessa bruno The true religion jeans roof itself supra shoes was lined with two hollister clothing rows of ugg boots uk red coach outlet store online and green, blinking alternatively. The louis vuitton outlet online chimney nike factory outlet was ferragamo shoes flashing moncler outlet too-hundreds nike free uk of blue michael kors outlet online lights air max pulsating at louis vuitton purses once and ralph lauren outlet online casting an eerie wedding dresses glow ray ban pas cher over old Frosty. Along ralph lauren the holly nike air max uk bushes nike factory next instyler to burberry outlet online the house moncler pas cher a gucci outlet online squad air force of tin soldiers ray ban sunglasses stood guard, each polo lacoste as tall hogan as ugg boots clearance a human oakley sunglasses cheap and wrapped oakley sunglasses with multicolored lights. In the center nike air max of michael kors handbags the ugg soldes lawn was longchamp a cheap oakley sunglasses handsome Nativity nike roshe scene, complete michael kors outlet online with phone cases real hay abercrombie bales ugg boots and a goat whose reebok shoes tail sac longchamp went ugg boots up and down.Luther coach outlet online heard something, a nike blazer ladder babyliss falling abercrombie in the garage michael kors outlet next cheap gucci to burberry handbags the louboutin outlet Trogdons'. The polo ralph lauren garage ugg boots clearance door canada goose outlet was up and through the michael kors outlet shadows air max he moncler sito ufficiale saw Walt air huarache Scheel wrestling p90x workout with swarovski jewelry yet true religion outlet another iphone 6s case strand kate spade of lights. He walked s6 case over montre pas cher and caught barbour jackets Walt cheap sunglasses off guard. 'Evening, nike free run uk Walt,' he nike air max 2015 said nike roshe pleasantly.Well, if it isn't ghd ole michael kors outlet online sale Scrooge himself,' louis vuitton outlet Walt said ray ban sunglasses with cheap uggs a forced smile. They shook fake rolex hands and each tried to uggs think ralph lauren outlet of canada goose something canada goose outlet cutting oakley glasses and replica handbags witty. longchamp outlet Luther jordan pas cher took ghd hair straighteners a step back, thomas sabo looked sac louis vuitton up, and tiffany jewelry said, michael kors outlet online sale 'How'd that mont blanc photographer polo ralph lauren pas cher get gucci bags up coach outlet there?'Last burberry night three piglings were stolen from canada goose one of scarpe hogan our pig-pens. swarovski crystal The ugg outlet great hermes pas cher Lafaele louboutin outlet appeared to my gucci wife louis vuitton outlet uneasy, north face so she engaged him in nike air max conversation on nike air huarache the subject, jordan 1 and timberland boots played ferragamo belts upon him nike tn the tiffany jewelry following p90x3 engaging jordan 6 trick. You longchamp handbags advance your two forefingers nike free pas cher towards north face jackets the sitter’s eyes; he vans closes ray ban them, converse whereupon you substitute michael kors (on his eyelids) moncler the fore tn pas cher and middle coach outlet store fingers michael kors bags of michael kors outlet online the left hand; lululemon outlet canada and with canada goose your oakley outlet right nike roshe run pas cher (which he air max 2015 supposes canada goose jackets engaged) louboutin you air max tap longchamp outlet online him prada outlet on ugg pas cher the head polo ralph lauren outlet and nike store back. hollister pas cher When christian louboutin uk you moncler let barbour outlet him open his links of london eyes, hollister he sees you abercrombie withdrawing the ugg italia two prada handbags forefingers. jordan 5 ‘What that?’ uggs on sale asked jordans for sale Lafaele. longchamp soldes ‘My instyler ionic styler devil,’ oakley pas cher says ugg boots Fanny. ‘I iphone 5s cases wake canada goose outlet um, louis vuitton my replica watches devil. All right abercrombie now. He jordan future go catch the man that mac cosmetics catch nike roshe run my pig.’ jimmy choo outlet About longchamp pas cher an hour afterwards, Lafaele came louis vuitton uk for michael kors outlet online further michael kors particulars. red bottom shoes ‘O, nike free all right,’ my wife north face outlet says. marc jacobs ‘By uggs outlet and louboutin shoes by, that man he sleep, devil nike air max go the north face sleep uggs on sale same asics running shoes place. soccer shoes By and bottes ugg by, that nike outlet man plenty ugg sick. ray ban I oakley sunglasses no care. What for michael kors outlet he take lunette oakley pas cher my pandora jewelry pig?’ Lafaele cares plenty; louis vuitton handbags I louis vuitton don’t lululemon think he is the michael kors outlet man, iphone cases though ray ban he may lancel be; abercrombie and fitch but he lancel pas cher knows him, and canada goose most likely will eat some ray ban sunglasses outlet of burberry that pig hogan outlet to-night. abercrombie and fitch He will barbour jackets not prada shoes eat oakley sunglasses with hermes belt relish.It michael kors handbags cleared michael kors outlet canada up suddenly after dinner, and oakley vault my wife ipad cases and I saddled up nike shoes and off to hollister Apia, mulberry outlet whence we air max did louis vuitton canada not return till yesterday longchamp outlet morning. polo lacoste pas cher Christmas moncler uk Day I nike free run wish you could longchamp pliage have canada goose pas cher seen hermes bags our jordans party at table. H. iphone 6s plus cases J. tiffany and co Moors toms shoes at one end louis vuitton outlet stores with vans my wife, chi flat iron I at jordan shoes the oakley vault other with Mrs. uggs M., ugg between replica rolex us converse pas cher two ugg native women, iphone 6 plus cases Carruthers jordan 4 the lawyer, Moors’s two shop-boys juicy couture outlethollister canada Walters and ugg pas cher A. M. nike outlet store the quadroon ugg boots — and michael kors canada the longchamp outlet guests nike air max uk of ray ban sunglasses the jimmy choo evening, Shirley Baker, the louboutin defamed oakley and gucci belts much-accused montre femme man michael kors of Tonga, and his son, north face outlet with longchamp the artificial joint gucci outlet to uggs his arm — ugg uk where ugg the assassins air jordan shot him uggs in bottega veneta shooting at his jordan xx9 father. Baker’s appearance is not north face outlet unlike air max John Bull on ralph lauren outlet a cartoon; uggs outlet he is oakley vault highly iphone 6s plus case interesting uggs to kate spade outlet speak to, as lululemon outlet I ipad air cases had expected; I true religion outlet found ralph lauren pas cher he s6 cases and polo outlet I ray ban sunglasses had chanel handbags many common iphone 5 cases interests, air jordan retro and were nike air max engaged ralph lauren uk in ipad mini cases puzzling timberland pas cher over ralph lauren many nike roshe run of the coach outlet same nike roshe run uk difficulties. burberry factory outlet After canada goose dinner bottes ugg it was quite ghd hair pretty to montre homme see louis vuitton pas cher our Christmas party, it was christian louboutin shoes so easily longchamp outlet online pleased north face uk and prettily nfl jerseys behaved. true religion In the morning I should cheap oakley say ugg outlet I coach outlet store online had new balance been louis vuitton outlet online to louis vuitton lunch at rolex watches for sale the German consulate, where I marc jacobs handbags had nike huaraches as usual a very pleasant nike roshe uk time. toms outlet I shall 5c cases miss gucci handbags Dr. coach bags Stuebel tory burch outlet much when he uggs outlet leaves, and tory burch outlet online when Adams christian louboutin and vans pas cher Lafarge oakley go cheap nike shoes also, it replica watches will be celine handbags a michael kors outlet online great louis vuitton handbags blow. ghd straighteners I am jordan 3 getting coach outlet spoiled cheap ugg boots outlet with true religion outlet all tory burch this good nike free run society.vdsfdsfExample of doudoune moncler the air max farmer’s sorrows. I michael kors outlet slipped replica watches uk out michael kors on the balcony nike sneakers a moment giuseppe zanotti ago. canada goose jackets It is a lovely guess pas cher morning, cloudless, smoking ugg soldes hot, fake oakleys the retro jordans breeze ralph lauren not longchamp bags yet babyliss pro arisen. Looking west, in jordan retro 11 front north face outlet online of louis vuitton bags our polo ralph lauren outlet new house, I michael kors outlet online sale saw, two lululemon outlet heads jordan retro of Indian louis vuitton corn wagging, and the rolex replica rest and pandora charms all nature nike air max stock polo ralph lauren still. As cheap jordans I looked, hollister one p90x of moncler jackets the north face jackets stalks pandora jewelry subsided burberry outlet and louis vuitton disappeared. abercrombie and fitch I dashed out to the insanity workout rescue; mulberry handbags two small hermes pigs were deep in moncler the grass moncler jackets — quite hid till beats headphones within swarovski uk a michael kors pas cher few michael kors outlet yards — ugg gently vanessa bruno but longchamp outlet online swiftly demolishing kate spade handbags my michael kors outlet online harvest. burberry sale Never be louis vuitton a michael kors farmer.

On louboutin Friday oakley sunglasses cheap morning, moncler outlet I sunglasses outlet had hollister uk to be at michael kors handbags my uggs outlet house polo ralph lauren affairs mulberry bags before seven; iphone 6 cases and they kept coach handbags me in louis vuitton outlet Apia air jordans till past ten, disputing, and consulting abercrombie about bottes ugg pas cher brick and coach purses stone and polo ralph lauren native cheap oakley sunglasses and oakley sunglasses hydraulic lime, and soccer jerseys cement and tiffany and co sand, michael kors bags and ugg australia all sorts of sac louis vuitton otiose air jordan 11 details gucci shoes about sac guess the new jordans chimney canada gooseuggs just what I fled from kate spade outlet online in michaelkors-outlet-store my father’s longchamp office nike free twenty canada goose uk years ago; nike free run pas cher I should michael kors canada have sac hermes made nike air max pas cher a languid michael kors uk engineer. Rode up with the carpenter. thomas sabo uk Ah, my hollister clothing store wicked Jack! christian louboutin shoes on oakley store Christmas burberry pas cher Eve, as michael kors I was taking the saddle nike air max 2015 bag air jordan off, herve leger he kicked mcm handbags at me, rolex watch and fetched me too, right michael kors on moncler the shin. nike free On oakley sunglasses wholesale Friday, ralph lauren outlet being juicy couture annoyed at the nike blazer pas cher carpenter’s horse having a longer barbour jackets uk trot, wedding dresses uk he uttered louis vuitton a moncler shrill cry and tried to true religion jeans bite air jordan shoes him! oakley vault Alas, nike air max alas, these nike huarache are like old days; iphone 5c cases my dear Jack wedding dress is a Bogue, but I karen millen cannot strangle moncler Jack into polo ralph lauren uk submission.O I know I haven’t told jordan 11 you about our coach factory outlet Aitu, ugg boots clearance have lacoste pas cher I? It coach outlet is hermes birkin a lady, barbour Aitu Fafine: north face jackets she lives karen millen uk on the mountain-side; her presence is heralded roshe run pas cher by barbour the moncler sound of moncler jackets a ugg outlet gust air max pas cher of wind; canada goose jackets a sound ralph lauren polo very common in the high hermes handbags woods; when moncler outlet she catches you, nike roshe run I do not rolex watches know michael kors handbags what happens; sac burberry but in burberry practice she is new balance outlet avoided, sac michael kors so I ray ban uk suppose louboutin she christian louboutin does more iphone 6 case than pass the canada goose outlet time of sac louis vuitton pas cher day. The doudoune canada goose great pandora charms Aitu beats by dre Saumai-Afe michael kors handbags clearance was once sac lancel a jordan 12 living woman; s5 cases and became an Aitu, rolex replica watches no one michael kors purses understands nike roshe how; she asics shoes lives in hollister a stream at the canada goose outlet well-head, reebok outlet her lululemon canada hair mont blanc pens is red, she north face pas cher appears polo ralph lauren outlet as longchamp bags a lovely converse shoes young replica watches lady, her longchamp bust oakley sunglasses outlet particularly admired, to polo ralph lauren outlet online handsome young men; ugg boots these die, bottes ugg pas cher her love being fatal; — as a moncler outlet handsome pandora uk youth she longchamp uk has lululemon outlet online been rolex watches known true religion jeans to vans scarpe court birkin bag damsels timberland with louis vuitton the louis vuitton outlet like north face result, but this is michael kors outlet very cheap oakley sunglasses rare; true religion outlet as an old crone she goes about cheap ugg boots and michael kors outlet online asks longchamp pas cher for christian louboutin outlet water, oakley sunglasses cheap and new balance shoes woe barbour uk to valentino shoes them michael kors outlet online sale who ugg boots are michael jordan shoes uncivil! Saumai-Afe christian louboutin means longchamp bags literally, ‘Come here abercrombie and fitch uk a thousand!’ A cheap nfl jerseys good burberry outlet name iphone 6s cases for a christian louboutin lady of her manners. cheap oakley sunglasses My coach factory Aitu Fafine does moncler not uggs outlet seem swarovski to be in mulberry uk the baseball bats same hollister line of hollister business. It louboutin is iphone 6 plus case unsafe oakley sale to links of london uk be a louboutin handsome youth in Samoa; a young the north face man chaussures louboutin died from canada goose jackets her wedding dresses favours vanessa bruno pas cher last month — burberry outlet online so we said louboutin shoes on this longchamp handbags side of michael kors the island; louboutin uk on louboutin pas cher the lululemon other, air max where nike free run he nike trainers uk died, ray ban outlet it vans outlet was not nike trainers so nike air force certain. uggs I, jimmy choo shoes for new balance one, nike air max blame it on Madam Saumai-Afe sac longchamp pas cher without cheap oakley hesitation.

vans shoes

Post new comment

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