パッチ適用済みクラスファイルのインストール

 Atlassian support or the Atlassian bug-fixing team may occasionally provide patches for critical issues that have been resolved but have not yet made it into a release. Those patches will be class files which are attached to the relevant issue in our JIRA bug-tracking system.

Confluence ディストリビューション向けのインストールの説明

以下の手順に従ってパッチ済みのクラスファイルをインストールします。

  1. Confluence インスタンスをシャットダウンします。
  2. 提供されたクラス ファイルを <installation-directory>/confluence/WEB-INF/classes/<subdirectories> にコピーします。ここでは次の点にご注意ください。
    • <installation-directory> を Confluence インストール ディレクトリに置き換える必要があります (詳細は、「Confluence インストール ディレクトリ」をお読みください)。
    • <subdirectories> must be replaced by the value specified in the relevant JIRA issue. This value will be different for different issues. In some cases, the subdirectories will not exist and you will need to create them before copying the class files. Some issues will contain the patch in the form of a ZIP file which will contain the desired directory structure.
  3. Confluence インスタンスを再起動して、変更を有効にします。

(info) Web アプリケーションの /WEB-INF/classes ディレクトリ内のクラス ファイルは、/WEB-INF/lib ディレクトリ内の JAR ファイルのクラスよりも先に読み込まれます。これにより、1 つめのディレクトリにあるクラスは、同名のクラスや、JAR ファイルから読み込まれる可能性のあるパッケージを効率的に置き換えます。

パッチの復帰

パッチを戻すには、<installation-directory>/confluence/WEB-INF/classes/ フォルダからクラス ファイルを削除し (戻すパッチに影響するクラス ファイルのみを削除するように注意します)、インスタンスを再起動します。


パッチが関係している問題が解決されたら、修正を含む Confluence のバージョンにアップグレードして、パッチを復帰してください。パッチはネイティブでテストされていないことが多く、最も効率的な方法で問題が解決されていない場合もあります。このため、すべてのケースにおいて正式な修正を優先してください。

最終更新日: 2015 年 12 月 2 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.