名称
create-jndi-resource - JNDIリソースの登録
形式
create-jndi-resource --user admin_user [--password admin_password] [--host host_name] [--port port_number] [--passwordfile filename] [--terse=true|false] [--echo=true|false] [--interactive=true|false] --jndilookupname lookup_name --restype type --factoryclass class_name [--enabled=true|false] [--description text] [--property (name=value) [:name=value]*] jndi_name
説明
JNDIリソースを登録します。このコマンドはリモートモードでのみ 使用できます。
オプション
--user
ドメインアプリケーションサーバの管理ユーザ名

--password
ドメインアプリケーションサーバの管理ユーザのパスワード

--host
ドメインアプリケーションサーバが起動しているマシン名

--port
ドメインアプリケーションサーバのポート番号( 既 定 値: 6212)

--passwordfile
ドメインアプリケーションサーバの管理ユーザのパスワード を含むファイル

--terse
trueを指定すると、出力データがスクリプトによる処理のた めの簡潔なデータとなります。既定値はfalseです。

--echo
trueを指定すると、標準出力でコマンドライン文が表示され ます。既定値はfalseです。

--interactive
true(既定値)を指定すると、パスワードオプション入力用の プロンプトを表示します。

--jndilookupname
外部コンテナによって使用されるlookup名

--restype
JNDIリソースの種類はtopicまたはqueueです。

--factoryclass
JNDIリソースを作成するクラス

--enabled
リソースが動作中に有効化されるかどうかを決定します。既 定値はtrueです。

--description
JDBCコネクションプールのテキスト記述

--property
JNDIリソースを構成するための任意の属性名/値
オペランド
jndi_name
作成されるJNDIリソースの名称
使用例
例1: create-jndi-resourceコマンドの使用法
otxadmin> create-jndi-resource --user admin --password adminadmin --host bluestar --port 6212 --jndilookupname sample_jndi --restype queue --factoryclass sampleClass --description "this is a sample jndi resource" sample_jndi_resource
Command create-jndi-resource executed successfully
sample_jndi_resource作成されるJNDIリソースです。
終了ステータス
0 : コマンド実行成功
1 : コマンド実行失敗
関連事項
delete-jndi-resource(1) list-jndi-resources(1)