これらのプラグインを使用可能にする場合は、次のディレクトリにある commcli servlet resource.properties ファイルを編集します。
da-base/data/WEB-INF/classes/sun/comm/cli/server/servlet/ \ resource.properties |
デフォルトでは、da-base は /opt/SUNWcomm です。
プラグインは resource.properties ファイル内の次の行で始まる部分にあります。
######################## # Plugin Configuration # ########################## |
それぞれ「plugin」というサフィックスが付きます。現在のリストは次のとおりです。
jdapi-mailhoststoreplugin=disabled jdapi-mailhoststorepluginclass=sun.comm.cli.server.util.MailHostStorePlugin jdapi-mailhoststorepluginfile=/tmp/mailhostmailstore jdapi-maildomainreportaddressplugin=enabled jdapi-maildomainreportaddresspluginclass=sun.comm.cli.server. util.MailDomainReportAddressPlugin jdapi-uidautogenerationplugin=disabled jdapi-uidautogenerationpluginclass=sun.comm.cli.server.util.UidPlugin |
resource.properties ファイルを編集したら、そのファイルを Delegated Administrator サーバーが使用する Web コンテナに再配備します。
変更を有効にするには、カスタマイズした resource.properties ファイルを Web コンテナに配備するスクリプトを実行する必要があります。
カスタマイズしたプロパティーファイルを特定の Web コンテナに配備する方法については、「カスタマイズした設定ファイルを配備する」を参照してください。
各プラグインは最低 2 行で、次の形式をとります。
jdapi-<name>plugin= “enabled” | “disabled”
jdapi-<name>pluginclass=sun.comm.cli.server.util/ \ <java class name> |
プラグインを使用可能にするには、“disabled” を “enabled” に変更します。
この項に示したすべてのプラグインには、プラグインクラスが供給されています。これらのクラスは、次のディレクトリに存在します。
da-base/data/WEB-INF/classes/sun/comm/cli/server/util
これらのクラスを操作する必要はありません。
MailHostStorePlugin には、プラグインの 3 行目に含まれるフラットファイルが必要です。このプラグインはフラットファイル内の値を読み取り、属性値を設定するために使用します。プラグインが使用可能になっている場合に、このファイルが存在していないとエラーが発生します。
jdapi-mailhoststoreplugin o jdapi-mailhoststoreplugininf=<full file name> o file has one line o value is that for : o preferredmailhost attribute o preferredmailmessagestore attribute o form o <mailhost>:<mailpartition> |