hi,


I m having the same problem.

the war file is not unpack.

I have found the following parameters are set in the server.xml file:

unpackWARs="true" autoDeploy="true"



I have *deploy* a cat.war file to the following directory:

linux:~/tomcat/apache-tomcat-5.5.26/webapps # ls -l
total 78
drwxr-xr-x  11 root root   320 Aug 26 10:02 .
drwxr-xr-x  11 root root   376 Jul 31 04:27 ..
drwxr-xr-x   4 root root   312 Jul 31 04:25 ROOT
drwxr-xr-x  13 root root   432 Jul 31 04:26 admin
drwxr-xr-x   5 root root   120 Jan 29  2008 balancer
drwxr-xr-x   4 root root    96 Aug 26 10:02 cat
-rw-r--r--   1 root root 76716 Aug 26 10:02 cat.war
drwxr-xr-x  21 root root   592 Jul 22 07:44 jsp-examples
drwxr-xr-x   4 root root   272 Jul 31 04:13 manager
drwxr-xr-x   4 root root   320 Jul 22 07:44 servlets-examples
drwxr-xr-x  12 root root  1504 Jul 22 07:44 tomcat-docs
drwxr-xr-x   3 root root   168 Jul 22 07:44 webdav
linux:~/tomcat/apache-tomcat-5.5.26/webapps #



The directory *cat* is created by tomcat and the cat.war file is in the 
directory as well. But inside cat/ directory contains only 2 folders:

linux:~/tomcat/apache-tomcat-5.5.26/webapps # cd cat
linux:~/tomcat/apache-tomcat-5.5.26/webapps/cat # ls -l
total 0
drwxr-xr-x   4 root root  96 Aug 26 10:02 .
drwxr-xr-x  11 root root 320 Aug 26 10:02 ..
drwxr-xr-x   2 root root  80 Aug 26 10:02 META-INF
drwxr-xr-x   4 root root 120 Aug 26 10:02 WEB-INF



How to instruct tomcat to unpack this cat.war file as well?



Thanks

Sam







> ----- Original Message -----
> From: Martin Gainty
> Sent: 24/08/08 06:49 am
> To: Tomcat Users List
> Subject: RE: Tomcat does not unpack WAR file (Tomcat 5.5.20)
> 
> 
> check your unpackWARS and autoDeploy parameters are both set to 'true' 
> e.g.
> $TOMCAT_HOME/conf/server.xml
> 
> <Host
> unpackWARs="true" autoDeploy="true"
> 
> HTH
> Martin 
> ______________________________________________ 
> Disclaimer and confidentiality note 
> Everything in this e-mail and any attachments relates to the official 
> business of Sender. This transmission is of a confidential nature and 
> Sender does not endorse distribution to any party other than intended 
> recipient. Sender does not necessarily endorse content contained within 
> this transmission. 
> 
> 
> > Date: Sat, 23 Aug 2008 23:40:06 +0300
> > From: [EMAIL PROTECTED]
> > To: users@tomcat.apache.org
> > Subject: Re: Tomcat does not unpack WAR file (Tomcat 5.5.20)
> > 
> > Thanks Johnny
> > 
> > On the production server, Tomcat is actually being started up by 
> another 
> > 'parent' application. Since this does not appear to be a (pure) 
> 'Tomcat' 
> > issue, I will take it up with the guys who manage the 'parent' app.
> > 
> > Thanks for the assistance.
> > 
> > Johnny Kewl wrote:
> > >
> > > ----- Original Message ----- From: "Peter" <[EMAIL PROTECTED]>
> > > To: <users@tomcat.apache.org>
> > > Sent: Friday, August 22, 2008 4:07 PM
> > > Subject: Tomcat does not unpack WAR file (Tomcat 5.5.20)
> > >
> > >
> > >> Hi
> > >>
> > >> When I drop a WAR file into the webapps folder on my dev machine - 
> > >> running Tomcat 6.0.16 - Tomcat unpacks it on startup.
> > >>
> > >> When I do the same on the production box - running Tomcat 5.5.20 - 
> > >> nothing happens.
> > >>
> > >> The WAR file that I am deploying is ROOT.war; there is a 
> > >> corresponding ROOT.xml under conf\Catalina\localhost. (I'm not sure 
> > >> if those details have any bearing on the problem - according to one 
> > >> archived post, there may be a connection.)
> > >>
> > >> On both machines, the <host> tags look identical:
> > >>
> > >>      <Host name="localhost"  appBase="webapps"
> > >>            unpackWARs="true" autoDeploy="true"
> > >>            xmlValidation="false" xmlNamespaceAware="false">
> > >>
> > >> Any assistance would be appreciated. :)
> > >>
> > >> Pete
> > >>
> > >> -- 
> > >> Peter Cimring
> > >> Software Developer
> > >> (: +972 52-545-9364
> > >> *: [EMAIL PROTECTED]
> > >
> > > Pete, nothing comes to mind, you seem to have the bases covered...
> > > One possibility is that the existing ROOT web ap is busy...
> > > Maybe a thread running or something... TC will not start up the new 
> > > guy, if the old one cant let go..
> > >
> > > possibly from the manager console /manager/html tell the old one to 
> > > undeploy first maybe...
> > >
> > > Also just make sure from you dev environment that the ROOT context 
> > > path is ""
> > > really empty and not "root" which it maybe doing... wild guess ;)
> > >
> > > 
> --------------------------------------------------------------------------- 
> > >
> > > HARBOR : http://www.kewlstuff.co.za/index.htm
> > > The most powerful application server on earth.
> > > The only real POJO Application Server.
> > > See it in Action : 
> http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
> > > 
> --------------------------------------------------------------------------- 
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To start a new topic, e-mail: users@tomcat.apache.org
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > 
> > -- 
> > Peter Cimring
> > Software Developer
> > (: +972 52-545-9364
> > *: [EMAIL PROTECTED]
> > 
> > "/"Any sufficiently advanced technology is indistinguishable from 
> > magic."/ - Arthur C. Clarke
> > 
> > ---------------------------------------------------------------------
> > To start a new topic, e-mail: users@tomcat.apache.org
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> _________________________________________________________________
> Be the filmmaker you always wanted to be—learn how to burn a DVD with 
> Windows®.
> http://clk.atdmt.com/MRT/go/108588797/direct/01/

Reply via email to