Documentation for JIRA 5.1.x. Documentation for other versions of JIRA is available too. 
![]()
JIRA Home Directory には JIRA の動きを定義する重要なデータが格納されます。JIRA を起動する前に必ず、JIRA インスタンスに JIRA ホーム ディレクトリを定義する必要があります。このドキュメントでは、JIRA インスタンスに JIRA ホーム ディレクトリの場所を定義する方法について説明します。
1 つの Jira インスタンスに 1 つの Jira ホーム
1 つの JIRA インスタンスがもつ JIRA Home Directory は 1 つだけです。JIRA インストールが複数ある場合、各インストールに対して JIRA Home Directory を 1 つセットアップする必要があります。JIRA Home Directory が作成されると、1 つの JIRA インストールのみが使用できるようにその JIRA Home Directory のルートにロックが配置されます。
Jira ホームの指定で必要なのは、ルート ディレクトリの場所だけです。サブ ディレクトリは、Jira の起動時、または、Jira で特定のサブ ディレクトリを必要とする機能を使用したときに、自動的に作成されます。
JIRA で JIRA Home Directory の場所を指定する方法は複数あります。いずれの方法を使用する場合でも、場所を指定する前に、以下の注意点 を確認してください。
JIRA で JIRA Home Directory の場所を指定するため推奨されている方法は:
jira-application.properties file and set the value of the 'jira.home' property to the desired location for your JIRA Home Directory. If you are specifying this location's path on Windows, use double back-slashes ("\") between subdirectories. For example, X:\\path\\to\\JIRA\\HomeJIRA_HOME in your operating system whose value is the location of your JIRA Home Directory. To do this:set JIRA_HOME=X:\path\to\JIRA\HomeJIRA_HOME environment variable value using this format, where:X は Jira ホーム ディレクトリが格納されているドライブの文字=") の前後にスペースは不要export JIRA_HOME=/path/to/jira/home Please Note: If you have specified different values for a '
jira.home' property in the jira-application.properties file and a JIRA_HOME environment variable, the value of the JIRA_HOME environment variable takes precedence.
代わりに、JIRA Home Directory の場所をアプリケーション サーバー内のプロパティとして指定することができます:
Configure a new web context property called 'jira.home' for your application server. To do this, you need to define this web context property inside a <parameter/> element (as a child of the <context/> element) in your server.xml file (or jira.xml file for JIRA WAR).
The
server.xml file is located within the conf subdirectory of your JIRA Installation Directory and for JIRA WAR, the jira.xml file is typically located within the conf/Catalina/localhost subdirectory of the Apache Tomcat installation running JIRA:
<Context ...> ... <Parameter name="jira.home" value="c:/jira/home"/> ... </Context>
Please Note: A '
jira.home' web context property defined in your application server overrides the value of the 'jira.home' property defined in your jira-application.properties file. However, a JIRA_HOME environment variable defining your JIRA Home Directory will override either of these 'jira.home' values.
複数の JIRA インスタンスが動いているときに、同じ JIRA ホームディレクトリを使うことはできません。JIRA ホームディレクトリは、JIRA インストールディレクトリとは完全に独立した場所(つまり一方がもう一方のディレクトリにネストされていない)にすることを推奨します。これにより、主要なオペレーション(インスタンスのバックアップ・リストアなど)の際にデータを失うリスクがなくなります。
JIRA ホーム ディレクトリを変更するには、