tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gautam Gothoskar <>
Subject Re: Deploying in ROOT folder using a war file
Date Wed, 30 Nov 2005 22:02:51 GMT
  I have deleted the ROOT folder from the webapps
directory. I have the unpackWARs set to true in the
host element in server.xml. My tomcat version is
  What tomcat does is it loads up the servlet on
startup as I have specified it in web.xml. It extracts
the WEB-INF/classes and lib folder required for the
servlet in TOMCAT_HOME/work/Standalone/localhost/_
directory. It extracts the jsps and other files as and
when required. But the problem is with stylesheets and
javascript files. These files are not explicitly
called and hence never get extracted. So the jsp does
not find those files. 
  I also have no ides why tomcat is extracting the
files to TOMCAT_HOME/work/Standalone/localhost/_ .


--- Mark Thomas <> wrote:

> Gautam Gothoskar wrote:
> > Hi Mark,
> >   Thanks for the quick reply. But in doing the way
> you
> > have mentioned, tomcat does NOT expand the classes
> etc
> > in the ROOT folder. The application does get
> loaded
> > and work. I was wondering if there is any way that
> the
> > war file could be expanded in the ROOT folder?
> > 
> > regards,
> > Gautam.
> Any existing ROOT folder has to be deleted before
> any new ROOT.war is 
> expanded. This assumes, of course, that you have set
> unpackWARs=true
> Mark
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message