我将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?
答案 0 :(得分:0)
您可以使用DIY墨盒并自行部署tomcat。使用操作挂钩(例如 deploy 挂钩),如果仍然需要,还可以调整权限。