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.

(warning) The information on this page does not apply to Confluence OnDemand.

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

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

  1. Confluence インスタンスをシャットダウンします。
  2. 提供されたクラス ファイルを <installation-directory>/confluence/WEB-INF/classes/<subdirectories> にコピーします。ここでは次の点にご注意ください。
    • <installation-directory> must be replaced with your Confluence Installation directory. (If you need more information, read about the Confluence Installation Directory.)
    • <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) Class files in the /WEB-INF/classes directory of a web application will be loaded before classes located in JAR files in the /WEB-INF/lib directory. Therefore, classes in the first directory will effectively replace classes of the same name and package which would otherwise be loaded from the JAR files.

パッチの復帰

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


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


関連トピック

How to edit files in Confluence JAR files

  • ラベルなし