Hi,
I have added an additional <Host> to server.xml, with its own appBase, and
servicing several domains by way of <Alias> elements. When Tomcat is
restarted, Catalina logs errors relating to not finding document bases.
These match applications running on my default "localhost" <Host>.
Why is Tomcat looking for them again under my secondary "blog.optomus.com"
<Host>? And, why is Tomcat also looking for 'manager' and 'host-manager'
here? Only one application is located at /home/roller/application -
'ROOT'.
**server.xml**
<Engine name="Catalina" defaultHost="localhost">
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
</Host>
<Host name="blog.optomus.com" appBase="/home/roller/application"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Alias>blog.bread.co.nz</Alias>
<Alias>blog.capereinga.co.nz</Alias>
<Alias>blog.doubtlessbay.co</Alias>
<Alias>blog.christopher.net.nz</Alias>
<Alias>blog.isaac.net.nz</Alias>
</Host>
</Engine>
**catalina.2010-10-12.log**
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base
/home/roller/application/optomus does not exist or is not a readable
directory
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[blog.optomus.com].[/optomus]
has not been started
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base
/home/roller/application/christopher does not exist or is not a readable
directory
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[blog.optomus.com].[/christopher]
has not been started
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base
/home/roller/application/host-manager does not exist or is not a readable
directory
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[blog.optomus.com].[/host-manager]
has not been started
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base
/home/roller/application/manager does not exist or is not a readable
directory
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[blog.optomus.com].[/manager]
has not been started
Chris.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]