tomcat - Apache Continuum——在 tomcat 上部署

标签 tomcat deployment continuum

我已经按照安装 archiva ( detailed description ) 的相同方式在我的 tomcat 上部署了 Apache continuum。 webapp 正在运行,但有一个问题我没有克服:

当我重新启动 tomcat 时,配置消失了。通过搜索日志文件,我可以在 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

知道如何解决这个问题吗?

编辑

深入挖掘日志文件,我发现了前面的错误:

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)

这里的 continuum 正在寻找默认配置,但这个配置位于 webapps/continuum/...

最佳答案

appserver.base 是否如另一个问题所暗示的那样设置到正确的位置?这似乎指向 /var/lib/tomcat6,但运行 Tomcat 实例的用户无法写入该目录。

关于tomcat - Apache Continuum——在 tomcat 上部署,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19080101/

相关文章:

linux - 如何通过ftp进行版本控制?

eclipse - 从 Eclipse 在 Tomcat 上运行 Maven 项目

javascript - bokehjs 中多行的数据格式

python - 将我所有的 python 库包含到 py2exe 生成的 exe 中

deployment - JAX-WS 部署错误 + Locatable WebServiceException : class not found in runtime descriptor

java.lang.NoClassDefFoundError : Could not initialize class com. ibm.mq.jms.MQQueueConnectionFactory 错误

java - Vaadin + Tomcat webapp 可以用来连续运行一个线程吗?

java - Hibernate 4.3 + Tomcat 7 无法查找 JNDI 名称

java - Hudson/Jenkins vs Cruise Control vs Luntbuild vs Continuum

java - 负载均衡器 : redirect HTTP to HTTPS 后面带有 Spring Security 的 Spring Boot