Apache Tomcat へのアプリケーションサーバーの切り替え
Tomcat 以外のアプリケーションサーバーから Apache Tomcat へ JIRA を移行するには、次のいずれかの手法を使用してください。
注意
Regardless of which method you use, back up your data first and make sure you test JIRA on the new server before deploying it in production.
手法 1. データベースのエクスポートおよびインポート
Follow the Migrating JIRA to Another Server instructions, installing the new version of JIRA on your new application server.
手法 2. 既存データベースの使用
If you are using the same version of JIRA on the old and new (Apache Tomcat) application server, you do not have to export and re-import your JIRA database (as described in the instructions for Migrating JIRA to Another Server). You can use your existing database with the new application server.
しかし、元のアプリケーションサーバーにある既存 JIRA WAR インストールから WAR ファイルや 解凍した WAR ディレクトリを移行先アプリケーションサーバーへ単にコピーすることはできません。この移行は成功しません。
新しい (Apache Tomcat) アプリケーションサーバーへ切り替えるには、次の手順に従ってください。
- Install JIRA on the new application server. (Refer to the instructions for your version of Apache Tomcat in the Installing JIRA WAR section.)
- Check that the JNDI location of the
UserTransaction
as declared in theentityengine.xml
file is correct for Apache Tomcat. - もしカスタマイズが存在するのであれば、 System Info で変更されたファイルを確認し、元のインストールのどのカスタマイズが存在するのかを調べます。移行先サーバーでのこれらの変更を検討してください。
- 移行先サーバーを起動する前に、必ず元のサーバーをシャットダウンしてください。
- 元のアプリケーションサーバーとは異なるマシン上で移行先アプリケーションサーバーを起動している場合、移行先サーバーを起動した時点で次の作業を実行してください。
- データのインデックスの再構築。
- Make sure that the attachment path is valid for the new server.