1. 程式人生 > >Confluence 6 升級 Confluence 使用數據源

Confluence 6 升級 Confluence 使用數據源

splay web.xml conf syn panel sta exce padding containe

如果你對 Confluence 進行升級(手動或者使用安裝器),你需要:

  • 停止 Confluence (如果你已經嘗試開始啟動)。
  • 拷貝你的數據庫驅動到 <installation-directory>/lib 目錄。
  • 編輯 <installation-directory>/conf/server.xml 同時添加你的數據源資源。
  • 編輯 <installation-directory>/confluence/WEB-INF/web.xml 到配置 Confluence 使用數據源。

如果你忘記進行這些步驟,Confluence 將會在你升級完成後停止啟動,並且你將會看到下面的錯誤信息:

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

Confluence 6 升級 Confluence 使用數據源