BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

WAR file unpacking: When a WAR file won't unpack this could

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment
View previous topic :: View next topic  
Author Message
Bradley Kieser
Guest





PostPosted: Thu Apr 08, 2004 12:09 am    Post subject: WAR file unpacking: When a WAR file won't unpack this could Reply with quote



I found this note online and it answered a problem with WAR file
deployment that was giving me a headache in Tomcat, so want to share it
with others because I KNOW that I am not alone being bugged by this.

In Tomcat, to unpack a WAR file, you need to:

a) Deploy it into the webapps dir and nowhere else.
b) Ensure that Tomcat has perms to read it!
c) Ensure that the "unpackwars" flag is set to true in the server.xml file
d) The WAR file must have the same name as the directory name of the
webapp it is deploying

Now, what doesn't come up in the error logs and is VERY scantly
mentioned nearly everywhere is that you MUST DELETE THE DIRECTORY of the
webapp that the WAR file is going to deploy! If you don't Tomcat will
NOT update (i.e. overwrite) the contents of the existing directory with
the new one.

There are no errors that come up and no clues as to why your WAR file
doesn't deploy. It just doesn't.

I hope that this posting saves others loads of headbashing! This problem
sure got me!

brad
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> JBuilder Deployment All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.