On 12/10/2010 10:22, Christopher Dodunski wrote: > 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
Please provide a directory listing of the contents of each subdirectory (named by hosts) in tomcat/conf/Catalina/<hostname> p
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature