Documentation for JIRA 4.4. Documentation for other versions of JIRA is available too. 
![]()
These instructions will help you connect JIRA to an Oracle 10g or 11g database. Oracle 9i is no longer a supported database for use with JIRA and the 11.2.x drivers from Oracle do not support 9i.
Please note that a number of the Oracle server versions cannot be used with JIRA or are inherently unstable. The known issues with Oracle servers are as follows:
他のサーバーへの JIRA の移行 を実行する場合は、XML backup としてデータをエクスポートしてください。その後、 Switching databases で説明されているように、元のデータベースから新しいデータベースへデータを移行できます。
On this page:
Within that database instance, create a user which JIRA will connect as (e.g. jiradbuser). Remember this database user name, as it will be used to configure JIRA's connection to this database in subsequent steps.
When you create a user in Oracle, Oracle will create a 'schema' automatically.
When you create a user, the tablespace for the table objects must be specified.
create user <user> identified by <user_pass> default tablespace <tablespace_name> quota unlimited on <tablespace_name>;
ユーザーが次の権限を持つことを確認します :
grant connect to <user>; grant create table to <user>;
If you use GreenHopper 5.8 or later, also ensure that you specify the following permissions too:
grant create sequence to <user>; grant create trigger to <user>;
Skip this step if you are using JIRA Standalone distribution. JIRA Standalone includes the Oracle JDBC driver.
ojdbc5.jar for JDK 1.5, ojdbc6.jar for JDK 1.6) to the lib/ directory.Oracle JDBC ドライバーのバージョンの多くは JIRA で使用できない、または、本質的に不安定なものです。Oracle ドライバーには次のような既知の問題があります :
Oracle データベースに接続するために JIRA サーバーを設定する方法は2つあります。
注意:
The JIRA Configuration Tool is only available with JIRA Standalone.
config.bat in the bin subdirectory of the JIRA Installation Directory.config.sh in the bin subdirectory of the JIRA Installation Directory. Please Note: You may need to set the
JAVA_HOME environment variable to run the JIRA Configuration Tool. See Installing Java for details.
To connect JIRA to Oracle using the JIRA Configuration Tool:
dbconfig.xml file in your JIRA Home Directory.<connection-properties>SetBigStringTryClob=true</connection-properties> element to your dbconfig.xml file), these custom settings will be deleted upon clicking the 'Save' button and you will need to reinstate them manually.Congratulations — you have finished! Proceed to 'Next Steps' below.
Edit the dbconfig.xml file at the root of your JIRA Home Directory.
If this file does not exist, create the file, copy and paste the example XML code below into this file and edit the pasted XML as required.
注意:
Ensure that the <database-type/> element's content specifies your type of database, as shown below. If you forget to do this and you start JIRA, your database tables may be created incorrectly. Refer to our Incorrect database type specified documentation if this happens to you.
When editing your
dbconfig.xml file, escape any '&' characters by adding 'amp;' to the end of each one.
<?xml version="1.0" encoding="UTF-8"?>
<jira-database-config>
<name>defaultDS</name>
<delegator-name>default</delegator-name>
<database-type>oracle10g</database-type>
<schema-name></schema-name>
<jdbc-datasource>
<url>jdbc:oracle:thin:@<hostname>:<port number>:<SID></url>
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<username>jiradbuser</username>
<password>[enter db password]</password>
<pool-size>15</pool-size>
</jdbc-datasource>
</jira-database-config>
On a default Oracle server installation, your
<url/> element's content might look similar to — jdbc:oracle:thin:@dbserver:1521:ORCL
dbconfig.xml file (at the root of your JIRA Home Directory). 注意:
<connection-properties>SetBigStringTryClob=true</connection-properties> as a child of the </jdbc-datasource> element in your dbconfig.xml file. Adding this connection property may overcome these problems. Be aware that you will need to restart JIRA for this setting to take effect.ここまでで、Oracle データベースに接続するための JIRA の設定が完了したはずです。これで、起動できます!
JIRA and Oracle を参照してください。