Domanda

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/…

È stato utile?

Soluzione

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.

Altri suggerimenti

That's an [info] message, not an error. The tomcat service would still function even if you ignore that. However, please check the file/directory permissions to correct that. If you are running tomcat with normal user privileges, they wouldn't have access to /var/lib/tomcat6/ directory.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top