Search code examples
tomcatdeploymentcontinuum

Apache Continuum—deploying on tomcat


I have deployed Apache continuum on my tomcat in the same way I installed archiva (detailed description). The webapp is running but there is an issue I do not come over:

When I restart tomcat the configuration is gone. By searching the log files I could find that error in continuum.log:

2013-09-29 17:49:57,043 [main] WARN org.apache.commons.configuration.DefaultConfigurationBuilder  - Internal error
org.apache.commons.configuration.ConfigurationException: Cannot locate configuration source /var/lib/tomcat6/conf/shared.xml

Any Idea how to fix that?

EDIT

Digging deeper in the log file I found a preceding error:

2013-09-29 18:01:58,246 [Thread-3] INFO  org.apache.maven.continuum.DefaultContinuum  - Error storing the Continuum configuration.
org.apache.continuum.configuration.ContinuumConfigurationException: /var/lib/tomcat6/conf/continuum.xml (Permission denied)

Here continuum is looking for the default configuration, but this one is located somewhere in webapps/continuum/…


Solution

  • Is appserver.base being set, as the other question suggests, to the correct location? It seems like that is pointint to /var/lib/tomcat6, but that the directory is not writeable by the user that is running the Tomcat instance.