tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vivek Mohan <vivek.mo...@gmail.com>
Subject Re: Deploying in ROOT folder using a war file
Date Thu, 01 Dec 2005 05:15:21 GMT
Tomcat is extracting the files to localhost/_ because thats where it
knows it has to extract anything from the ROOT application.

--
Vivek.

On 12/1/05, Gautam Gothoskar <majhigammat@yahoo.com> wrote:
> Mark,
>   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
> 4.1.24.
>   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/_ .
>
> Thanks,
> Gautam.
>
>
>
> --- Mark Thomas <markt@apache.org> 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:
> > users-unsubscribe@tomcat.apache.org
> > For additional commands, e-mail:
> > users-help@tomcat.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message