若是你对 Confluence 进行升级(手动或者使用安装器),你须要:java
<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数据库