TomcatExpert

WAR Files Not Completely Extracted on Deployment on Windows

posted by SpringSource on May 26, 2010 07:15 AM

File locking in Windows may prevent the directory from being deleted.

File locking on Windows is different than file locking on Unix in that on Windows a file can be locked on read. If you are redeploying a second version of an already deployed web application, you may see something like the following web application:

 webapps
- myapp.war
- myapp

If myapp.war version 2 were then hot deployed, Tomcat will first try to delete the 'myapp' directory. This will fail if any file is being read there, such as a JAR file. So what happens is that everything except WEB-INF/<parts> gets deleted.

To the user this may seem as the expanding of the new war file failed, but it was the deletion of the old directory that failed.

For hot deploying on Windows, there are two flags antiJARLocking and antiResourceLocking that can be used to mitigate these scenarios. There is more information on these flags at http://tomcat.apache.org/tomcat-6.0-doc/config/context.html.  

NOTE: Locked JARs are usually a result of library or application bugs and also represent memory leaks. In addition to this workaround, those areas should be investigated. Tomcat 6.0.24 onwards includes memory leak protection and detection to mitigate some of the common causes of these memory leaks, so an upgrade may be advisable.

For more than 10 years, SpringSource employees have been supporting Apache technologies, with unparalleled experience and commitment to the Apache Software Foundation. More than 400 of the Fortune 500 count on SpringSource to support their mission-critical business applications. Leaders of the Apache Software Foundation, including Board Members, work at SpringSource and dedicate a significant amount of time further developing the Apache Tomcat open source project. Over the last 2 years, 95% of the issues fixed in the Apache Tomcat project were fixed by SpringSource engineers. For more information on how SpringSource can help your enterprise, see the SpringSource website, or call 800/444-1935.

Comments

Convey basically intends to

Convey basically intends to actualize it, or update your adaptation of xp to vista. Write my assignment for me - From what you said, I figure they were looking at updating on an expansive scale, for occasion various machines in a business system environment. Organization is a typical term to use in that kind of circumstance.

so good

There is a high chance that you might end up deleting your files while you are toggling with such options. So always make sure that you are backed up before attempting something like this each time on your own. pest control sprayers

GAME HACK

dicas dragon city I should say only that its awesome! The blog is informational and always produce amazing things. gratis clash of clans juwelen

Partgez Des Photos Bonne

Partgez Des Photos Bonne Année 2016 avec Ta Famille, Tes collegues Ou Ami(e)s est la meilleure methode de Partagez Votre joie, délice et votre Accueil de la nouvel an 2016
BONNE ET HEUREUSE ANNÉE 2016
SOIRÉE NOUVEL AN 2016
CARTE DE BONNE ANNÉE 2016
Auguri Di Buon Anno 2016
Happy New Year 2016

Partagez Des Photos Bonne Année 2016 avec Ta Famille, Tes collegues Ou Ami(e)s est la meilleure methode de Partagez Votre joie, délice et votre Accueil de la nouvel an 2016

affdaf

Thanks for showing this awesome post APP download and click and click and click and click and click

how to get more

how to get more followers Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more. buy real youtube views and comments

Education

Sometimes windows will face the problems in which WAR files also included and sometimes it may be resolved easily or sometimes it's corrupted and not working any more best essay uk.

Awesome article, it was

Awesome article, it was exceptionally helpful! I simply began in this and I'm becoming more acquainted with it better! Cheers, keep doing awesome! Recruiter in Hospitality

jackman10

Pleasant to be going by your web journal once more, it has been months for me. Well this article i've been sat tight for so long. I require this article to finish my task in the school, and it has same theme with your article. Much obliged, incredible offer. Loftplan

Education

There is a high college essay writing company possibility that you power end up delete your records as you are toggling with such option. So everlastingly make sure that you are back up previous to attempt amazing like this every time on your possess.

college essay writing company

This post is really

This post is really informative and from this post I am able to know the reason for why WAR files not completely extracted on deployment on Windows. I found that it is very much useful to me. Thank you so much for sharing this post here! clip in man bun

David

Fantastic blog page with all the terrific good items not to mention I’m absolutely sure this will be vastly advantageous. Anthony Dohrmann

jhonwattson

At blogs on-line, I enjoy analyzing your business opportunity quite possibly the most; one provide you with a lot of tips within a small-scale chunk. My group is hunting for and even considering the fact that you now have the core designed for tutorial authoring, As i calculated you may choose to time all of us with the best guidance. On earth do you allow? artemisinin

jhonwattson

As i browse your site at working on ratings and even As i at present believe as a result pushed. As i is marketed their employment you need to do an important for one individual authoring small business and even And also evading the application. Reckon at present, considering the opinion one awarded all of us, We can give it a shot. Disrupt Trading

jhonwattson

I just now identified applying indicate the item all over again. Advocate whatsoever I need to to make sure anticipation as a result of honest you will keep on being for the purpose of featuring that excellent organize. joint pain relief codes reviews

Jual Laptop Notebook PC HP Lenovo Printer Tinta Toner Epson Mura

Everything you comprehended will be proper, comprehend that you must crack the particular connection among present concrete floor and also fresh. You need to be cautious once you handle the particular concrete floor on the surfaces, due to the fact normally there exists a possiblity to crack. It will always be far better to obtain the aid of your specialist. Jual Laptop Murah

jhonwattson

I saw working with exhibit them just as before. Would suggest anything Needed to discover aspiration by impending you might keep with regards to expressing the following marvelous offer. aaadebtconsolidationloan.com

kavin

I just gazed all the way up your website just because May very well been told such a lot of on the subject of a items. hand reading

Alex

Fantastic web page you could have in this article, a whole lot trendy facts!.. Homepage

JAck

twitter followers On that website page, you'll see your description, why not read through this. buy youtube likes

Promptly this url might

Promptly this url might unquestionably end up legendary in between every writing many people, due to the meticulous articles and reviews and ratings. vitapulse

Document are only hoping to

Document are only hoping to advise you i only just go and visit your blog post and additionally Document discover it particularly unique and additionally revealing.. buygeniux.wordpress.com

That might performance

That might performance short-term, having said that it’s not much of a simple long-term respond to to get gentlemen who want to possibly be because of this 1 exceptional women that they can’t discontinue taking into account. landlord tenant management software

wow what a great post is

wow what a great post is this... thanks for sharing boss, keep share these valuable content. heaters cartridge

Aadi

Your site has grown a one-stop find as much as possible tutorial authoring. Thanks for your time in the very good get the job done. As i tested the online sites one preferred and even On the net which will best-dissertation.pores and skin look though. Ones own get the job done is kind of exemplary. mongolian translation

Document are only hoping to

Document are only hoping to advise you i only just go and visit your blog post and additionally Document discover it particularly unique and additionally revealing.. mattress stores los angeles

One encourage plenty of

One encourage plenty of online sites onto your web log My group is allowed to remain thinking about how i ever in your life discover groundwork at may. search engine marketing agency

That might performance

That might performance short-term, having said that it’s not much of a simple long-term respond to to get gentlemen who want to possibly be because of this 1 exceptional women that they can’t discontinue taking into account. crepe correcting body complex

You should keep on this kind

You should keep on this kind of fantastic perform and also My partner and i enjoy a lot more of one's great web sites. girlfriend activation system explained

I am continually amazed by

I am continually amazed by the amount of information available on this subject. What you presented was well researched and well worded in order to get your stand on this across to all your readers. mouse control

David

Fantastic web page you could have in this article, a whole lot trendy facts!.. college papers format

t a fantabu

What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much.
alcohol drug

This can be neat article

This can be neat article along with i like to to learn to read this specific article. your site can be amazing so you get very good staff members as part of your web site. wonderful expressing continue the good work.
Women’s Clothing

JAMS

I wish more authors of this type of content would take the time you did to research and write so well. I am very impressed with your vision and insight.
IT Consultant

You should keep on this kind

You should keep on this kind of fantastic perform and also My partner and i enjoy a lot more of one's great web sites. Luxury Homes in Miami for sale

Schöne Wimpernverlängerung für den vollendet ausdrucksstarken Bl

Bei uns bekommen Sie natürlich schöne Wimpern, mit einem hervorragenden Tragekomfort. INFINI BEAUTÉ Cosmetic Institut Berlin macht es möglich. Sei atemberaubend schön jeder Tag. Mascara und Wimpernzange benötigen sie nicht mehr. Wimpernverlängerung für bis zu 60 Tage. Wimpernverlängerung Berlin

We've certainly not after go

We've certainly not after go through a chunk that will details precisely what I truly do together with your the latest web site really does. Thanks a lot to the honor! Seattle family law mediation

jhonwattson

Just one really encourage an abundance of websites that are online onto your world-wide-web wood The collection is usually allowed to keep on being planning on earn money previously that you saw locate placement of feet on may perhaps. AAADebtConsolidationLoan.com

jackman10

More often than not I don't make remarks on sites, yet I'd like to say this article truly constrained me to do as such. Truly pleasant post! here

jhonwattson

By reason of an individual's newly released articles or blog posts, That i wil take advantage of one of the best composition provider throughout my best access. vigina tightening home remedies

JHON

I just gazed all the way up your website just because May very well been told such a lot of on the subject of a items. Mot Reading

Wow! What an eye opener this

Wow! What an eye opener this post has been for me. Very much appreciated, bookmarked, I can’t wait for more! pokemon go hack

Alex

Great webpage you may have listed here, a great deal of interesting information and facts!.. Wiltshire ice cream van hire

likes no instagram With this

likes no instagram With this site, you'll see my own report, you should examine these records. free followers

Took me time to read all the

Took me time to read all the comments, but I really enjoyed the article. It proved to be Very helpful to me and I am sure to all the commenters here! It’s always nice when you can not only be informed, but also entertained! pool deck

I have read all the comments

I have read all the comments and suggestions posted by the visitors for this article are very fine,We will wait for your next article so only.Thanks! Safari

jhonwattson

Great tips and very easy to understand. This will definitely be very useful for me when I get a chance to start my blog. metal roofing

JHON

I favor your current article. It can be very good to view anyone explain in words through the cardiovascular along with lucidity for this critical issue might be quickly seen. Rozes

I want an individual's place.

I want an individual's place. It is actually superior to observe everyone verbalize within the heart and soul together with readability on this subject necessary area are usually conveniently detected. facts observe webpage. custom writing services

I like this post,And I guess

I like this post,And I guess that they having fun to read this post,they shall take a good site to make a information,thanks for sharing it to me. restaurant menu prices

Post new comment

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