标签:com border rect play 配置数据源 postgresq padding doc 找到你
如果在你的 Tomcat 中配置了数据源,并且Confluence 设置指南在安装的时候检测到这个配置的时候,配置数据源的选项将会提供给你进行配置。入股你希望使用数据源,请参考下面的配置。
在 Confluence 的配置指南中,你将会提示选择你的数据库,在这个时候,你应该:
bin/stop-confluence.sh
or bin/stop-confuence.bat
停止 Confluence。<installation-directory>/conf/server.xml
<installation-directory>/confluence/WEB-INF/web.xml
<home-directory>/confluence.cfg.xml
拷贝你的数据库驱动到 <installation-directory>/lib
目录中。
下面的连接是有关如果找到你的数据库驱动:
<installation-directory>/confluence/WEB-INF/lib/postgresql-x.x.x.jar
<installation-directory>/confluence/WEB-INF/lib/mssql-jdbc-x.x.x.x.jar
下一步,将数据源配置到 Tomcat 中。
<installation-directory>/conf/server.xml
< Context path = "" docBase = "../confluence" debug = "0" reloadable = "true" > <!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --> |
Resource
元素。针对你具体使用的数据库不同,需要做一些修改(插入 Context
元素,在 <Context.../>
行,同时在 Manager
之前)。替换 <database-user>
, <password>
, <host>
或 <database-name>
(或针对 Oracle 使用 <SID>
)来配置你自己的数据库。你同事还需要修改这个端口,如果你的数据库没有在默认端口中运行的话。
driverClassName
,协作写编辑将会失败。请参考 Database JDBC Drivers 页面中的内容。配置 Confluence 来使用这个数据源:
编辑 <CONFLUENCE_INSTALLATION>/confluence/WEB-INF/web.xml
.</web-app>
元素之前插入下面的内容:
< resource-ref > < description >Connection Pool</ description > < res-ref-name >jdbc/confluence</ res-ref-name > < res-type >javax.sql.DataSource</ res-type > < res-auth >Container</ res-auth > </ resource-ref > |
现在你的数据源已经成功配置了,你可以继续你 Confluence 的安装进程了。
bin/start-confluence.sh
或 bin/start-confuence.bat
来重启你的 Confluencehttp://localhost:8090
to return to the setup wizard.java:comp/env/jdbc/confluence
https://www.cwiki.us/display/CONFLUENCEWIKI/Configuring+a+datasource+connection
Confluence 6 新 Confluence 安装配置一个数据源连接
标签:com border rect play 配置数据源 postgresq padding doc 找到你
原文地址:https://www.cnblogs.com/huyuchengus/p/9157825.html