jira 4.2配置oracle

1. 修改文件.....Atlassian\conf\server.xml中连接数据库部分,为如下:
<Resource name="jdbc/JiraDS"
          auth="Container" type="javax.sql.DataSource"
          username="jirauser"
          password="jirapwd"
          driverClassName="oracle.jdbc.driver.OracleDriver"
          url="jdbc:oracle:thin:@127.0.0.1:1521:yoursid"
          connectionProperties="SetBigStringTryClob=true"
          maxActive="20" />

2. 目录......atlassian-jira\WEB-INF\classes\entityengine.xml文件中的
<datasource name="defaultDS" field-type-name="hsql"........</datasource> 用以下代码替换:
即删除schema-name=”PUBLIC”,修改field-type-name="oracle"

你可能感兴趣的:(oracle,数据库,jdbc,url)