Apache Software Foundation | Jakarta Project | Apache Tomcat
Intro


はじめに

Jk2 uses a config file ( workers2.properties ) in the style of a .properties or ini file. It can be configured to use any other backend that provides similar capabilities.


JK2 では、.properties もしくは ini ファイルの書式で、設定ファイル( workers2.properties) を使用します。同等の機能を持つ他のバックエンドを使うようにも設定可能です。

This document describes the format of this configuration file. Its default name is ${serverRoot}/conf/workers2.properties, where ${serverRoot} is something like /opt/apache.


この文書では設定ファイルの書式について記述します。デフォルトの名前は ${serverRoot}/conf/workers2.properties です。${serverRoot} は、/opt/apache のようなどこかになります。


Config file


設定ファイル

The default config file is user editable, but mod_jk will persist the changes requested by protocol( not implemented). If you manually change the file while jk2 is working, your changes will be lost.


デフォルトの設定ファイルは、ユーザが編集可能です。しかし、mod_jk は、プロトコルにより要求された変更を保持します(まだ実装されていませんが)。jk2 が動作している間に、手作業でファイルを変更した場合、変更内容は失われるでしょう。

The default configuration format . . Each setting consists of an object name and a property, with the associated value. The property name is a simple string, with no '.' in it. The name can be anything, but it must have a known 'type' as prefix.


以下にデフォルトの設定ファイルの書式を示します。それぞれの設定は、オブジェクトの名前とプロパティおよび関連付けられた値により成り立ちます。 プロパティ名は '.' を含まない単純な文字列です。名前は任意ですが、プレフィックスとしての 'type' は定義されたものでないといけません。

2 formats are supported:

                TYPE:NAME.PROPERTY=VALUE 
            


2 つの書式がサポートされています。

                TYPE:NAME.PROPERTY=VALUE 
            

and

                [TYPE:NAME]
                PROPERTY=VALUE
            


もう一つは

                [TYPE:NAME]
                PROPERTY=VALUE
            


[訳注: これは鰈崎 義之が翻訳しました。日本語訳に対するコメントがあれば、こちらに送って下さい。]