Hi, I'm running Tomcat 6, an my directory structure seems slightly different. But this is what I think you are asking for...
optomus:~# ls /usr/local/tomcat/work/Catalina/ blog.christopher.net.nz blog.optomus.com http: localhost optomus:~# ls /usr/local/tomcat/work/Catalina/blog.christopher.net.nz/ ROOT_old _ app christopher docs examples host-manager images manager optomus roller-ui theme themes optomus:~# ls /usr/local/tomcat/work/Catalina/blog.optomus.com/ ROOT_old _ app christopher docs examples host-manager images manager optomus roller-ui theme themes optomus:~# ls /usr/local/tomcat/work/Catalina/http\:/ blog.optomus.com optomus:~# ls /usr/local/tomcat/work/Catalina/localhost/ ROOT_old _ app christopher docs examples host-manager manager optomus roller I'm puzzled by the contents of "blog.optomus.com". And many of the names I see don't even exist in tomcat/webapps anymore. Chris. > 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 > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org