Never mind. I put my <Host name="something.com"...> within <Host
name="localhost....>

Thank you.



On Sat, Dec 5, 2015 at 7:38 PM, Rathna <gente...@gmail.com> wrote:

> Here is my conf/server.xml
>
> <Engine ...>
> ...
> <Host name="something.com" appBase="webapps-demo"
>             unpackWARs="true" autoDeploy="true"
>             xmlValidation="false" xmlNamespaceAware="false">
>           <Alias>www.something.com</Alias>
> </Host>
> ...
>
> I created a directory $CATALINA_HOME/webapps-demo and deployed a war file
> named ROOT.war within it.
>
> On starting tomcat, I expected the ROOT.war to have unarchived as 'ROOT'
> directory with contents. That didn't happen! Kindly help.
>
> If I deploy the ROOT.war as demo.war under /webapps directory, it explodes
> as a 'demo' directory with contents just fine.
>
> Tomcat version: 8.0.29
>
> Java version: 1.8.0
>

Reply via email to