我将 Confluence 5.1 作为 WAR 部署到 OpenShift Tomcat 6 Cartridge。
使用我的网络浏览器访问该实例,我得到:
模板渲染期间发生错误:Velocimacro:使用 VM 库时出错:template/includes/macros-deprecated.vm。请联系您的管理员寻求帮助。
服务器日志的相关部分说:
2013-04-14 05:32:03,322 FATAL [ContainerBackgroundProcessor[StandardEngine[Catalina]]] [atlassian.spring.container.SpringContainerContext] getComponent Spring Application context has not been set
2013-04-14 05:32:03,323 ERROR [ContainerBackgroundProcessor[StandardEngine[Catalina]]] [confluence.user.listeners.UserSessionExpiryListener] sessionDestroyed Application server does not give us access to expired sessions. Listeners that depend on receiving LogoutEvent will not be reliable. This web server is probably unsupported.
java.lang.IllegalStateException: Spring Application context has not been set
Atlassian 支持告诉我 chown Tomcat 目录;但 OpenShift 似乎不允许这样做。
如何在 OpenShift 上成功安装 Confluence 5.1?