mfang@4169
|
1 ." Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
|
tbell@1178
|
2 ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
tbell@1178
|
3 ."
|
tbell@1178
|
4 ." This code is free software; you can redistribute it and/or modify it
|
tbell@1178
|
5 ." under the terms of the GNU General Public License version 2 only, as
|
tbell@1178
|
6 ." published by the Free Software Foundation.
|
tbell@1178
|
7 ."
|
tbell@1178
|
8 ." This code is distributed in the hope that it will be useful, but WITHOUT
|
tbell@1178
|
9 ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
tbell@1178
|
10 ." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
tbell@1178
|
11 ." version 2 for more details (a copy is included in the LICENSE file that
|
tbell@1178
|
12 ." accompanied this code).
|
tbell@1178
|
13 ."
|
tbell@1178
|
14 ." You should have received a copy of the GNU General Public License version
|
tbell@1178
|
15 ." 2 along with this work; if not, write to the Free Software Foundation,
|
tbell@1178
|
16 ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
tbell@1178
|
17 ."
|
ohair@2362
|
18 ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
ohair@2362
|
19 ." or visit www.oracle.com if you need additional information or have any
|
ohair@2362
|
20 ." questions.
|
tbell@1178
|
21 ."
|
mfang@4943
|
22 .TH servertool 1 "21 Mar 2012"
|
tbell@1178
|
23
|
duke@0
|
24 .LP
|
ogino@4033
|
25 .SH "名前"
|
mfang@4943
|
26 servertool \- Java(tm)IDLサーバー・ツール
|
duke@0
|
27 .LP
|
mfang@4943
|
28 \f3servertool\fPはアプリケーション・プログラマが、永続サーバーの登録、登録解除、起動および停止を行うためのコマンドライン・インタフェースを提供します。
|
ogino@4033
|
29 .SH "形式"
|
duke@0
|
30 .LP
|
tbell@1178
|
31 .nf
|
tbell@1178
|
32 \f3
|
tbell@1178
|
33 .fl
|
tbell@1178
|
34 servertool \-ORBInitialPort \fP\f4nameserverport\fP\f3 \fP\f3options\fP\f3 [ \fP\f3commands\fP\f3 ]
|
tbell@1178
|
35 .fl
|
tbell@1178
|
36 \fP
|
tbell@1178
|
37 .fi
|
tbell@1178
|
38
|
tbell@1178
|
39 .LP
|
tbell@1178
|
40 .LP
|
mfang@4943
|
41 コマンドを入力しないで\f2servertool\fPを起動すると、コマンドライン・ツールとして\f2servertool >\fPプロンプトが表示されます。\f2servertool >\fPプロンプトにコマンドを入力します。
|
tbell@1178
|
42 .LP
|
tbell@1178
|
43 .LP
|
mfang@4943
|
44 コマンドを入力して\f2servertool\fPを起動すると、Java IDLサーバー・ツールが起動し、コマンドを実行して終了します。
|
tbell@1178
|
45 .LP
|
tbell@1178
|
46 .LP
|
mfang@4943
|
47 \f2\-ORBInitialPort\fP \f2nameserverport\fPオプションは\f3必須\fPです。\f2nameserverport\fPの値には、\f2orbd\fPが実行され、着信リクエストを待機しているポートを指定する必要があります。Solarisソフトウェアを使用する場合、1024より小さいポート上でプロセスを開始するには、rootユーザーになる必要があります。このため、\f2nameserverport\fPとして1024以上のポート番号を使用することをお薦めします。
|
tbell@1178
|
48 .LP
|
ogino@4033
|
49 .SH "説明"
|
tbell@1178
|
50 .LP
|
tbell@1178
|
51 .LP
|
mfang@4943
|
52 \f2servertool\fPはアプリケーション・プログラマが、永続サーバーの登録、登録解除、起動および停止を行うためのコマンドライン・インタフェースを提供します。その他に、サーバーに関する様々な統計情報を取得するためのコマンドも提供します。
|
tbell@1178
|
53 .LP
|
ogino@4033
|
54 .SH "オプション"
|
tbell@1178
|
55 .LP
|
tbell@1178
|
56 .RS 3
|
tbell@1178
|
57 .TP 3
|
tbell@1178
|
58 \-ORBInitialHost nameserverhost
|
mfang@4943
|
59 ネーム・サーバーが、実行され、着信リクエストを待機しているホスト・マシンを指定します。このオプションを指定しない場合、\f2nameserverhost\fPはデフォルトで\f2localhost\fPに設定されます。\f2orbd\fPと\f2servertool\fPが異なるマシン上で実行されている場合は、\f2orbd\fPが実行されているホストの名前とIPアドレスを指定する必要があります。
|
tbell@1178
|
60 .TP 3
|
tbell@1178
|
61 \-Joption
|
mfang@4943
|
62 Java仮想マシンに\f2option\fPを渡します。\f2option\fPには、java(1)のリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\f3\-J\-Xms48m\fPと指定すると、スタートアップ・メモリーは48Mバイトに設定されます。\f3\-J\fPを使用して背後の仮想マシンにオプションを渡すことはよく行われています。
|
tbell@1178
|
63 .RE
|
tbell@1178
|
64
|
tbell@1178
|
65 .LP
|
ogino@4033
|
66 .SH "コマンド"
|
tbell@1178
|
67 .LP
|
tbell@1178
|
68 .RS 3
|
tbell@1178
|
69 .TP 3
|
tbell@1178
|
70 register \-server\ <server\ class\ name> \ \-classpath\ <classpath\ to\ server> [\ \-applicationName\ <application\ name> \-args\ <args\ to\ server> \-vmargs\ <flags\ to\ be\ passed\ to\ Java\ VM> \ ]
|
mfang@4943
|
71 Object Request Broker Daemon(ORBD)に新規永続サーバーを登録します。サーバーが未登録の場合、登録してアクティブ化します。このコマンドによって、\f2\-server\fPオプションで識別されるサーバーのメイン・クラス内でインストール・メソッドが呼び出されます。このインストール・メソッドは、\f2public static void install(org.omg.CORBA.ORB)\fPになっている必要があります。インストール・メソッドは、オプションであり、データベース・スキーマの作成などの独自のサーバー・インストール動作を開発者が指定できます。
|
tbell@1178
|
72 .TP 3
|
tbell@1178
|
73 unregister \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name>
|
mfang@4943
|
74 サーバーIDまたはアプリケーション名を使用して、ORBDのサーバーの登録を解除します。このコマンドによって、\f2\-server\fPオプションで識別されるサーバーのメイン・クラス内でアンインストール・メソッドが呼び出されます。このアンインストール・メソッドは、\f2public static void uninstall(org.omg.CORBA.ORB)\fPになっている必要があります。アンインストール・メソッドは、オプションであり、インストール・メソッドの動作の取り消しなどの独自のサーバー・アンインストール動作を開発者が指定できます。
|
tbell@1178
|
75 .TP 3
|
tbell@1178
|
76 getserverid \-applicationName\ <application\ name>
|
mfang@4943
|
77 アプリケーションに関連付けられているサーバーIDを返します。
|
tbell@1178
|
78 .TP 3
|
tbell@1178
|
79 list
|
mfang@4943
|
80 ORBDに登録されているすべての永続サーバーに関する情報を一覧表示します。
|
tbell@1178
|
81 .TP 3
|
tbell@1178
|
82 listappnames
|
mfang@4943
|
83 現在ORBDに登録されているすべてのサーバーのアプリケーション名を一覧表示します。
|
tbell@1178
|
84 .TP 3
|
tbell@1178
|
85 listactive
|
mfang@4943
|
86 ORBDによって起動され、現在実行されているすべての永続サーバーに関する情報を一覧表示します。
|
tbell@1178
|
87 .TP 3
|
tbell@1178
|
88 locate \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-endpointType\ <endpointType>\ ]
|
mfang@4943
|
89 登録されたサーバーで作成したすべてのORBの特定のタイプについてエンドポイント(ポート)を検出します。サーバーが実行されていない場合、アクティブ化されます。エンドポイント・タイプが指定されていない場合、サーバーのORBごとに関連付けられているplainタイプまたはnon\-protectedタイプのエンドポイントが返されます。
|
tbell@1178
|
90 .TP 3
|
tbell@1178
|
91 locateperorb \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name> [\-orbid\ <ORB\ name>\ ]
|
mfang@4943
|
92 登録されたサーバーの特定のORBで登録されたエンドポイント(ポート)を検出します。サーバーが実行されていない場合、アクティブ化されます。\f2orbid\fPが指定されていない場合は、デフォルト値の「""」が\f2orbid\fPに割り当てられます。ORBが空文字列の\f2orbid\fPで作成されている場合、登録したポートがすべて返されます。
|
tbell@1178
|
93 .TP 3
|
tbell@1178
|
94 orblist \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name>
|
mfang@4943
|
95 サーバー上に定義されたORBのORBIdを一覧表示します。ORBIdはサーバーで作成されたORBの文字列名です。サーバーが実行されていない場合、アクティブ化されます。
|
tbell@1178
|
96 .TP 3
|
tbell@1178
|
97 shutdown \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name>
|
mfang@4943
|
98 ORBDに登録されたアクティブなサーバーを停止します。このコマンドの実行中に、\f2\-serverid\fPパラメータまたは\f2\-applicationName\fPパラメータで指定されたクラス内に定義された\f2shutdown()\fPメソッドも呼び出されてサーバー・プロセスを正しく停止します。
|
tbell@1178
|
99 .TP 3
|
tbell@1178
|
100 startup \-serverid\ <server\ id\ >\ | \-applicationName\ <application\ name>
|
mfang@4943
|
101 ORBDに登録されたサーバーを起動します。サーバーが実行されていない場合は、このコマンドでサーバーを起動します。サーバーがすでに実行されている場合は、ユーザーにエラー・メッセージが返されます。
|
tbell@1178
|
102 .TP 3
|
tbell@1178
|
103 help
|
mfang@4943
|
104 サーバーがサーバー・ツールで使用できるすべてのコマンドを表示します。
|
tbell@1178
|
105 .TP 3
|
tbell@1178
|
106 quit
|
mfang@4943
|
107 サーバー・ツールを終了します。
|
tbell@1178
|
108 .RE
|
tbell@1178
|
109
|
tbell@1178
|
110 .LP
|
ogino@4033
|
111 .SH "関連項目"
|
tbell@1178
|
112 .LP
|
bpatel@2509
|
113 orbd(1)
|