On 27/05/2014 11:59, Michael Salmon wrote:
> Hi

> 
> Here is my server.xml

<snip/>

> <Host name="localhost"  appBase="webapps" unpackWARs="true" autoDeploy="true">
> 
>   <Valve className="org.apache.catalina.valves.AccessLogValve" 
> directory="logs"
>          prefix="localhost_access_log." suffix=".txt"
>          pattern="%h %l %u %t &quot;%r&quot; %s %b" />
> </Host>       
> 
> <Host name="nilfisk-alto" debug="0" appBase="webapps/nilfisk-alto" 
> unpackWARs="true">
>   <Alias>nilfisk-alto.datagraf.dk</Alias>
>   <Logger className="org.apache.catalina.logger.FileLogger"
>            directory="logs" prefix="virtual_nilfisk-alto." suffix=".log"
>            timestamp="true"/>
> </Host>           

<snip/>

The problem is that you have overlapping appBase settings between
virtual hosts.

The simplest solution is to change the appBase for localhost to
"webapps/localhost" and move any web applications in webapps into
webapps/localhost.

Mark

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

Reply via email to