jdk/src/linux/doc/man/ja/servertool.1
author duke
Sat, 01 Dec 2007 00:00:00 +0000
changeset 2 90ce3da70b43
child 2692 345bc8d65b19
permissions -rw-r--r--
Initial load
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
'\" t
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
.\" Copyright 2001-2006 Sun Microsystems, Inc.  All Rights Reserved.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
.\" This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
.\" under the terms of the GNU General Public License version 2 only, as
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
.\" published by the Free Software Foundation.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
.\" This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
.\" version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
.\" accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
.\" You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
.\" 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
.\" Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
.\" CA 95054 USA or visit www.sun.com if you need additional information or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    22
.\" have any questions.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    23
.\"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
.\" 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
.TH servertool 1 "2006 年 9 月 4 日" "Java SE 6" "ユーザーコマンド"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
.SH "名前"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
servertool - Java(TM) IDL サーバツール
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
.B servertool
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
は、アプリケーション開発者が持続サーバの登録、登録解除、起動、停止を行うためのコマンド行インタフェースを提供します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
.SH "形式"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
.B servertool 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
\-ORBInitialPort nameserverport options [ commands ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
.B servertool 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
の起動時にコマンドを
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
入力しなかった場合は、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
コマンド行ツールが 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
.B servertool > 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
プロンプトを表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
.B servertool > 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
プロンプトで
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
コマンドを入力します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
.B servertool 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
の起動時にコマンドを入力した場合は、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
Java IDL サーバツールが起動し、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
コマンドを実行して終了します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
\-ORBInitialPort nameserverport オプションは、必須です。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
nameserverport の値は、orbd を実行し、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
着信要求を待機しているポートを指定します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
Solaris ソフトウェアを使用する場合は、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
スーパーユーザになって 1024 未満のポートでプロセスを開始する
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
必要があります。このため、1024 以上のポート番号の
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
使用を推奨します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
.SH 機能説明
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
.BR servertool 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
はアプリケーション
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
プログラマが、持続サーバの登録、登録解除、起動、停止を
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
行うためのコマンド行インタフェースです。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
サーバに関するさまざまな統計情報を取得するために
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
その他のコマンドが用意されています。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
.SH オプション
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
.BI \-ORBInitialHost " nameserverhost"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
ネームサーバを実行し、着信要求を待機している
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
ホストマシンを指定します。このオプションを
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
指定しない場合、nameserverhost はデフォルトの 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
localhost になります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
.B orbd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
.B servertool 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
が異なるマシンで実行されている場合は、orbd が
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
実行されているホストの名前または IP アドレスを
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
指定する必要があります。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
.BI \-J option
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
オプションを Java 仮想マシンに渡します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
ここで option は、Java アプリケーション
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
起動プログラム
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
.fi
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
(http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
のリファレンスページで説明されている
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
オプションの 1 つです。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
たとえば、\-J-Xms48m は、
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
起動メモリを 48M バイトに設定します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
\-J が基本にする仮想マシンにオプションを
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
渡すことは、共通の規約です。
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
.SH コマンド
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
.B register  \-server  <server class name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
.B \-classpath <classpath to server> 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
[ 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
.B \-applicationName <application\ name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
.B \-args <args to server>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
.B \-vmargs <flags to be passed 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
.B to Java VM>
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
]
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
新しい持続サーバを Object Request Broker Daemon (ORBD) に登録します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
まだ登録されていない場合は、サーバが登録され、有効化されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
このコマンドを使用すると、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
\-server オプションによって
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
識別されるサーバのメインクラスでインストールメソッドが
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
呼び出されます。インストールメソッドは、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
public static void install (org.omg.CORBA.ORB) で
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
なければなりません。このインストールメソッドを
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
オプションで使用すると、開発者は独自の
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
サーバインストール動作 (データベーススキーマの作成など) 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
を指定できます。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
.B unregister \-serverid <server id >
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
.B | \-applicationName <application\ name> 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
サーバ ID またはアプリケーション名を使用して、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
ORBD からサーバを登録解除します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
このコマンドを使用すると、\-server オプションによって
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
識別されたサーバのメインクラスでアンインストール
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
メソッドが呼び出されます。アンインストールメソッドは、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
public static void uninstall(org.omg.CORBA.ORB) 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
でなければなりません。このアンインストールメソッドを
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
オプションで使用すると、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
開発者は独自のサーバアンインストール動作 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
(インストールメソッドの動作の取り消しなど) 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
を指定できます。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
.B getserverid \-applicationName <application name> 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
アプリケーションに対応するサーバ ID を返します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
.B list 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
ORBD に登録されているすべての持続サーバに関する情報を
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
一覧表示します。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
.B listappnames
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
ORBD に現在登録されているすべてのサーバのアプリケーション名を
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
一覧表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
.B listactive
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
ORBD によって起動され、稼動しているすべての
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
持続サーバに関する情報を
90ce3da70b43 Initial load
duke
parents:
diff changeset
   147
すべて一覧表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
locate \-serverid\ <server\ id\ >\ |
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
\-applicationName\ <application\ name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
[\-endpointType\ <endpointType>\ ] 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
登録されているサーバによって作成されたすべての ORB の特定のタイプ
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
のエンドポイント (ポート) を特定します。サーバがまだ稼動していな
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
い場合は、起動されます。エンドポイントタイプが指定されないと、サ
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
ーバ内の各 ORB に関連したプレーン/非保護の 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
エンドポイントが返されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
.TP 3
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
locateperorb
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
\-serverid\ <server\ id\ >\ |
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
\-applicationName\ <application\ name>
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
[\-orbid\ <ORB\ name>\ ] 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
登録されているサーバの特定の ORB によって登録されたすべてのエンド
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
ポイント (ポート) を特定します。サーバがまだ動作していない場合は、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
起動されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
.BR orbid
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
が指定されないと、デフォルト値である "" が
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
.BR orbid
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
に割り当てられます。空の文字列の
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
.BR orbid
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
を使用して ORB が作成されると、それによって登録されているす
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
べてのポートが返されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
.B orblist \-serverid <server id> | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
.B \-applicationName <application name> ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
サーバで定義されている ORB の ORBId を一覧表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
ORBId は、サーバによって作成された ORB の
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
文字列名です。サーバがまだ稼動していない場合は、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
サーバを起動します。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
.B shutdown \-serverid <server id> | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
.B \-applicationName <application name> ]
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
ORBD に登録されているアクティブなサーバを停止します。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
このコマンドの
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
実行中に、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
サーバプロセスを適切に停止するために、
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
\-serverid または \-applicationName パラメータで
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
指定されたクラスで定義されている 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
.BR shutdown() 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
メソッドも呼び出されます。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
.B startup \-serverid <server id> | 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
.B \-applicationName <application name> 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
.RS
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
ORBD に登録されているサーバを起動します。 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
サーバが稼動していな
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
い場合、このコマンドはサーバを起動します。サーバが既に稼動して
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
いる場合は、エラーメッセージがユーザに返されます。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
.B help
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
このサーバツールを使用してサーバに対して実行できるすべての
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
コマンドを一覧表示します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
.TP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
.B quit 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
.br
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
このサーバツールを終了します。
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
.RE
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
.SS "関連項目"
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
orbd 
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
.LP
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226