Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Periodically or when the application is reloaded, tomcat6 is logging this into catalina.out:

06-Jul-2012 17:30:07 org.apache.catalina.startup.HostConfig deployDescriptor
SEVERE: Error deploying configuration descriptor home.xml

server.xml:

  <Host name="www.mysitecom" appBase="/home/myuser/webapps" autoDeploy="true">
    <Alias>mysitecom</Alias>
    <Context path="/manager" privileged="true" docBase="/home/myuser/manager"/>
    <Context path="" docBase="/home/myuser/public_html" reloadable="true" cachingAllowed="false"/>
  </Host>

Caching is disabled as this is still under heavy development; it's caused headaches. I've tried setting the logging to FINE, but, apart from giving me unrelated data, it's not provided anything helpful. The only two lines shown in catalina.out are those above.

The website appears to work normally, but this error is worrying.

share|improve this question
1  
Can you find that home.xml file ? What does it contain ? Could you also post the content of your application's web.xml ? –  David Levesque Jul 6 '12 at 18:57
add comment

1 Answer

up vote 0 down vote accepted

It was caused by the default catalina automatic definition, left over from an earlier build. Moving the "/etc/tomcat6/Catalina/localhost" directory out of the Catalina folder worked. David's comment helped.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.