Confluence 6 升级 Confluence 使用数据源

若是你对 Confluence 进行升级(手动或者使用安装器),你须要:java

  • 中止 Confluence (若是你已经尝试开始启动)。
  • 拷贝你的数据库驱动到 <installation-directory>/lib 目录。
  • 编辑 <installation-directory>/conf/server.xml 同时添加你的数据源资源。
  • 编辑 <installation-directory>/confluence/WEB-INF/web.xml 到配置 Confluence 使用数据源。

若是你忘记进行这些步骤,Confluence 将会在你升级完成后中止启动,而且你将会看到下面的错误信息:web

HTTP Status 500 - Confluence is vacant, a call to tenanted [ public abstract org.hibernate.Session org.hibernate.SessionFactory.getCurrentSession() throws org.hibernate.HibernateException] is not allowed.

 

https://www.cwiki.us/display/CONFLUENCEWIKI/Configuring+a+datasource+connection数据库

相关文章
相关标签/搜索