cjsetappprop(アプリケーションの属性設定)
形式
cjsetappprop [<サーバ名称>] [-nameserver <プロバイダURL>] [-test]
-name <J2EEアプリケーション名> -c <属性ファイルパス>
cjsetappprop [<サーバ名称>] [-nameserver <プロバイダURL>] [-test]
-name <J2EEアプリケーション名> -type {ejb|war|rar}
-resname <リソース表示名>[/<下位リソース表示名>]
-c <属性ファイルパス>
cjsetappprop [<サーバ名称>] [-nameserver <プロバイダURL>] [-test]
-name <J2EEアプリケーション名> -type all
-c <属性ファイルパス>
機能
アプリケーション,EJB-JARファイルに含まれるリソース(EJB-JARファイル,Session Bean,Entity Bean,Message-driven Bean),WARファイルに含まれるリソース(WARファイル,サーブレット/JSP,フィルタ),またはRARファイルの属性を指定したアプリケーション属性ファイルの値に変更します。
下位リソース表示名が指定されない場合はEJB-JARファイル,またはWARファイルの指定になります。
J2EEアプリケーションとリソースの設定で使用する属性ファイルについては,マニュアル「Cosminexus リファレンス 定義編」を参照してください。
展開ディレクトリ形式の場合,コマンド実行ホストと同じホストで稼働しているJ2EEサーバに対して操作できます。
引数
<プロトコル名称>::<ホスト名称>:<ポート番号>
入力例
cjsetappprop MyServer -name App1 -c App1Prop.xml
cjsetappprop MyServer -name App1 -type ejb -resname accountJsp/MyAccount -c MyAccountProp.xml
cjsetappprop MyServer -name App1 -type war -resname account-war/Account -c AccountProp.xml
cjsetappprop MyServer -name App1 -type rar -resname account-rar -c AccountProp.xml
cjsetappprop MyServer -name App1 -type all -c App1AllProp.xml
戻り値
注意事項