cjgetappprop(アプリケーションの属性の取得)
形式
cjgetappprop [<サーバ名称>] [-nameserver <プロバイダURL>] [-test]
-name <J2EEアプリケーション名>
[-encoding <エンコーディング名>] -c <属性ファイルパス>
cjgetappprop [<サーバ名称>] [-nameserver <プロバイダURL>][-test]
-name <J2EEアプリケーション名> -type {ejb|war|rar}
-resname <リソース表示名>[/<下位リソース表示名>]
[-encoding <エンコーディング名>] -c <属性ファイルパス>
cjgetappprop [<サーバ名称>] [-nameserver <プロバイダURL>] [-test]
-name <J2EEアプリケーション名> -type all
[-encoding <エンコーディング名>] -c <属性ファイルパス>
機能
アプリケーション,またはそれぞれに含まれるリソース(EJB-JARファイルの場合:EJB-JARファイル,Session Bean,Entity Bean,Message-driven Bean,WARファイルの場合:WARファイル,サーブレット/JSP,フィルタ)の属性,またはRARファイルの属性を取得して,属性ファイルを生成します。
J2EEアプリケーションとリソースの設定で使用する属性ファイルについては,次の個所を参照してください。
展開ディレクトリ形式の場合,コマンド実行ホストと同じホストで稼働しているJ2EEサーバに対して操作できます。
引数
<プロトコル名称>::<ホスト名称>:<ポート番号>
<?xml version="<XML規格のバージョン番号>" encoding="<エンコーディング名>"?>
入力例
cjgetappprop MyServer -name App1 -encoding Shift_JIS -c App1Prop.xml
cjgetappprop MyServer -name App1 -type ejb -resname accountJsp/MyAccount -encoding UTF-8 -c MyAccountProp.xml
cjgetappprop MyServer -name App1 -type war -resname account-war/Account -c AccountProp.xml
cjgetappprop MyServer -name App1 -type rar -resname account-rar -c AccountProp.xml
cjgetappprop MyServer -name App1 -type all -encoding Shift_JIS -c App1AllProp.xml
戻り値
注意事項