jdk/src/linux/doc/man/ja/orbd.1
author mfang
Mon, 27 Jul 2015 16:49:10 -0700
changeset 31876 91b22707521a
parent 30373 7b7094f0b833
permissions -rw-r--r--
8131105: Header Template for nroff man pages *.1 files contains errors Reviewed-by: katleman
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     1
'\" t
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
     2
.\" Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved.
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     3
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     4
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     5
.\" This code is free software; you can redistribute it and/or modify it
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     6
.\" under the terms of the GNU General Public License version 2 only, as
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     7
.\" published by the Free Software Foundation.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     8
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     9
.\" This code is distributed in the hope that it will be useful, but WITHOUT
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    10
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    11
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    12
.\" version 2 for more details (a copy is included in the LICENSE file that
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    13
.\" accompanied this code).
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    14
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    15
.\" You should have received a copy of the GNU General Public License version
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    16
.\" 2 along with this work; if not, write to the Free Software Foundation,
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    17
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    18
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    19
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    20
.\" or visit www.oracle.com if you need additional information or have any
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    21
.\" questions.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    22
.\"
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    23
.\" Title: orbd
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    24
.\" Language: Japanese
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    25
.\" Date: 2013年11月21日
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    26
.\" SectDesc: Java IDLおよびRMI-IIOPツール
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    27
.\" Software: JDK 8
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    28
.\" Arch: 汎用
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    29
.\" Part Number: E58103-01
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    30
.\" Doc ID: JSSON
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    31
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    32
.if n .pl 99999
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    33
.TH "orbd" "1" "2013年11月21日" "JDK 8" "Java IDLおよびRMI-IIOPツール"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    34
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    35
.\" * Define some portability stuff
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    36
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    37
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    38
.\" http://bugs.debian.org/507673
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    39
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    40
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    41
.ie \n(.g .ds Aq \(aq
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    42
.el       .ds Aq '
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    43
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    44
.\" * set default formatting
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    45
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    46
.\" disable hyphenation
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    47
.nh
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    48
.\" disable justification (adjust text to left margin only)
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    49
.ad l
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    50
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    51
.\" * MAIN CONTENT STARTS HERE *
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    52
.\" -----------------------------------------------------------------
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    53
.SH "名前"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    54
orbd \- CORBA環境のサーバーにある永続オブジェクトをクライアントから検索して呼び出せるようにします。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    55
.SH "概要"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    56
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    57
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    58
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    59
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    61
\fBorbd\fR [ \fIoptions\fR ]
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    63
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    64
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    65
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    66
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    67
\fIoptions\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    68
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    69
コマンド行オプション。オプションを参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    70
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    71
.SH "説明"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    72
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    73
\fBorbd\fRコマンドを使用すると、CORBA環境のサーバーにある永続オブジェクトをクライアントから透過的に検索して呼び出すことができます。orbdツールに含まれるサーバー・マネージャを使用すると、クライアントはCORBA環境でサーバー上にある永続オブジェクトを透過的に検索して呼び出すことができます。永続サーバーは、ネーミング・サービスに永続オブジェクト参照を発行する際、サーバーのポート番号のかわりにORBDのポート番号をオブジェクト参照に含めます。永続オブジェクト参照のオブジェクト参照にORBDポート番号を含めることには、次のような利点があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    74
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    75
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    76
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    77
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    78
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    79
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    80
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    81
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    82
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    83
ネーミング・サービスにあるオブジェクト参照が、サーバーのライフ・サイクルと無関係になります。たとえば、オブジェクト参照は、初めてインストールされたときはネーミング・サービスのサーバーによってネーミング・サービスに発行されますが、その後は、サーバーの開始またはシャットダウンの回数にかかわらず、呼び出したクライアントにORBDが正しいオブジェクト参照を返します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    84
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    85
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    86
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    87
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    88
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    89
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    90
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    91
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    92
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    93
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    94
クライアントは一度のみネーミング・サービスのオブジェクト参照をルックアップする必要がありますが、その後はサーバーのライフ・サイクルによる変更とは無関係にこの参照を利用することができます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    95
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    96
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    97
ORBDのサーバー・マネージャにアクセスするには、\fBservertool\fRを使用してサーバーを起動する必要があります。servertoolは、アプリケーション・プログラマが、永続サーバーの登録、登録解除、起動および停止を行うためのコマンド行インタフェースです。サーバー・マネージャの詳細は、サーバー・マネージャを参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    98
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    99
\fBorbd\fRを起動すると、ネーミング・サービスも起動されます。ネーミング・サービスの詳細。ネーミング・サービスの起動と停止を参照してください。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   100
.SH "オプション"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   101
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   102
\-ORBInitialPort \fInameserverport\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   103
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   104
必須。ネーム・サーバーを起動するポートの番号を指定します。\fBorbd\fRは、起動されると、このポート上で着信リクエストをリスニングします。Oracle Solarisソフトウェアでは、1024より小さいポートでプロセスを開始する場合、rootユーザーになる必要があります。このため、1024以上のポート番号を使用することをお薦めします。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   105
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   106
.SS "必須でないオプション"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   107
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   108
\-port \fIport\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   109
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   110
ORBDを起動するポートを指定します。このポートで、永続オブジェクトに対するリクエストをORBDが受け取ります。このポートのデフォルト値は1049です。このポート番号は、永続Interoperable Object References (IOR)のポート・フィールドに追加されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   111
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   112
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   113
\-defaultdb \fIdirectory\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   114
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   115
ORBD永続格納ディレクトリ\fBorb\&.db\fRが作成されるベース・ディレクトリを指定します。このオプションが指定されていない場合、デフォルト値は\fB\&./orb\&.db\fRになります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   116
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   117
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   118
\-serverPollingTime \fImilliseconds\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   119
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   120
\fBservertool\fRを使用して登録された永続サーバーが正常に動作していることをORBDが確認する間隔を指定します。デフォルト値は1000ミリ秒です。\fBmilliseconds\fRに指定する値は、有効な正の整数にする必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   121
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   122
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   123
\-serverStartupDelay milliseconds
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   124
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   125
\fBservertool\fRを使用して登録された永続サーバーを再起動してから、位置転送の例外を送信するまでのORBDの待機時間を指定します。デフォルト値は1000ミリ秒です。\fBmilliseconds\fRに指定する値は、有効な正の整数にする必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   126
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   127
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   128
\-J\fIoption\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   129
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   130
Java Virtual Machineに\fBoption\fRを渡します。\fBoption\fRには、Javaアプリケーション起動ツールのリファレンス・ページに記載されているオプションを1つ指定します。たとえば、\fB\-J\-Xms48m\fRと指定すると、スタートアップ・メモリーは48MBに設定されます。java(1)を参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   131
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   132
.SS "ネーミング・サービスの起動と停止"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   133
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   134
ネーミング・サービスは、CORBAオブジェクトにネーミングを可能にするCORBAサービスです。ネーミングは名前をオブジェクト参照にバインドすることにより可能になります。ネーム・バインディングをネーミング・サービスに格納すれば、クライアントが名前を指定して目的のオブジェクト参照を取得できるようになります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   135
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   136
クライアントまたはサーバーを実行する前に、ORBDを起動します。ORBDには、永続ネーミング・サービスおよび一時ネーミング・サービスが組み込まれています。これらはどちらもCOSネーミング・サービスの実装です。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   137
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   138
永続ネーミング・サービスは、ネーミング・コンテキストに対して永続性を提供します。つまり、この情報は、サービスの停止や起動後にも維持され、サービスに障害が発生した場合でも回復できます。ORBDを再起動すると、永続ネーミング・サービスはネーミング・コンテキストのグラフを復元し、すべてのクライアントとサーバーの名前のバインディングがそのまま(永続的に)保持されるようにします。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   139
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   140
後方互換性のため、旧リリースのJDKに同梱されていた一時ネーミング・サービス\fBtnameserv\fRが、今回のリリースのJava SEにも同梱されています。一時ネーム・サービスでは、ネーム・サービスの実行中にのみネーミング・コンテキストが保持されます。サービスが中断されると、ネーミング・コンテキスト・グラフは失われます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   141
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   142
\fB\-ORBInitialPort\fR引数は、\fBorbd\fRの必須のコマンド行引数で、ネーミング・サービスが実行されるポートの番号を設定するために使用されます。次の手順では、Java IDL Object Request Broker Daemon用にポート1050を使用できることを前提としています。Oracle Solarisソフトウェアを使用する場合、1024より小さいポートでプロセスを開始するには、rootユーザーになる必要があります。このため、1024以上のポート番号を使用することをお薦めします。必要であれば別のポートに変更してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   143
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   144
Solaris、LinuxまたはOS Xコマンド・シェルから\fBorbd\fRを開始するには、次のように入力します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   145
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   146
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   147
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   148
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   150
\fBorbd \-ORBInitialPort 1050&\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   151
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   153
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   154
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   155
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   156
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   157
WindowsのMS\-DOSシステム・プロンプトでは、次のように入力します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   158
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   159
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   160
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   161
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   163
\fBstart orbd \-ORBInitialPort 1050\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   164
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   166
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   167
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   168
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   169
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   170
これでORBDが実行され、サーバーとクライアントのアプリケーションを実行できるようになります。クライアントとサーバーのアプリケーションは、実行時に、ネーミング・サービスが実行されているポートの番号(必要な場合はさらにマシン名)を認識している必要があります。これを実現する1つの方法は、次のコードをアプリケーションに追加することです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   171
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   172
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   173
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   174
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   176
\fBProperties props = new Properties();\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   177
\fBprops\&.put("org\&.omg\&.CORBA\&.ORBInitialPort", "1050");\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   178
\fBprops\&.put("org\&.omg\&.CORBA\&.ORBInitialHost", "MyHost");\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   179
\fBORB orb = ORB\&.init(args, props);\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   180
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   182
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   183
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   184
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   185
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   186
この例では、ネーミング・サービスは、ホスト\fBMyHost\fRのポート1050上で実行されます。別の方法として、コマンド行からサーバーまたはクライアントのアプリケーションを実行するときに、ポート番号またはマシン名あるいはその両方を指定する方法もあります。たとえば、次のコマンド行オプションを使用して、\fBHelloApplication\fRを起動できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   187
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   188
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   189
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   190
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   192
\fBjava HelloApplication \-ORBInitialPort 1050 \-ORBInitialHost MyHost\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   193
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   194
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   195
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   196
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   197
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   198
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   199
ネーミング・サービスを停止するには、適切なオペレーティング・システム・コマンドを使用します。たとえば、Oracle Solaris上で\fBpkill\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   200
\fBorbd\fRを実行したり、\fBorbd\fRが動作中のDOSウィンドウで\fB[Ctrl]+[C]\fRキーを押します。一時ネーミング・サービスの場合は、サービスが終了されると、ネーミング・サービスに登録された名前が消去される場合があります。Java IDLネーム・サービスは、明示的に停止されるまで実行されます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   201
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   202
ORBDに付属するネーミング・サービスの詳細は、
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   203
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.htmlの「Naming Service」を参照してください
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   204
.SH "サーバー・マネージャ"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   205
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   206
ORBDのサーバー・マネージャにアクセスして、永続サーバーを実行するには、\fBservertool\fRを使用してサーバーを起動する必要があります。servertoolは、アプリケーション・プログラマが、永続サーバーの登録、登録解除、起動および停止を行うためのコマンド行インタフェースです。\fBservertool\fRを使用してサーバーを起動する場合は、\fBorbd\fRが実行されている場所と同じポートとホストで起動する必要があります。サーバーを異なるポートで実行すると、ローカル・コンテキスト用にデータベースに保存されている情報が無効になり、サービスが正しく動作しません。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   207
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   208
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlExample\&.htmlの
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   209
「Java IDL: The "Hello World" Example」を参照してください
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   210
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   211
この例では、チュートリアルの手順に従って\fBidlj\fRコンパイラと\fBjavac\fRコンパイラを実行します。ORBDのサーバー・マネージャを実行するには、次の手順に従ってアプリケーションを実行します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   212
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   213
\fBorbd\fRを起動します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   214
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   215
Solaris、LinuxまたはOS Xコマンド・シェルで、次のように入力します:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   216
\fBorbd \-ORBInitialPort 1050\fR
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   217
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   218
MS\-DOSシステム・プロンプト(Windows)で次のように入力します:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   219
\fBs\fR\fBtart orbd \-ORBInitialPort 105\fR\fB0\fR
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   220
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   221
ポート1050はネーム・サーバーを実行するポートです。\fB\-ORBInitialPort\fRオプションは必須コマンド行引数です。Oracle Solarisソフトウェアを使用する場合、1024より小さいポートでプロセスを開始するには、rootユーザーになる必要があります。このため、1024以上のポート番号を使用することをお薦めします。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   222
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   223
\fBservertool\fRを起動します:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   224
\fBservertool \-ORBInitialPort 1050\fR。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   225
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   226
前回の手順とネーム・サーバー(\fBorbd\fR)のポートが同じであることを確認します。たとえば\fB\-ORBInitialPort 1050\&.\fRのようになります。\fBservertool\fRは、ネーム・サーバーと同じポート上で起動する必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   227
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   228
\fBservertool\fRコマンド行インタフェースで、\fBservertool\fRプロンプトから\fBHello\fRサーバーを起動します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   229
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   230
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   231
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   232
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   233
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   234
\fBservertool  > register \-server HelloServer \-classpath \&. \-applicationName\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   235
\fB                HelloServerApName\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   236
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   238
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   239
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   240
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   241
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   242
\fBservertool\fRによってサーバーが登録されて、\fBHelloServerApName\fRという名前がサーバーに割り当てられ、登録されているすべてのサーバー一覧とともにサーバーIDが表示されます。他の端末ウィンドウまたはプロンプトからクライアント・アプリケーションを実行します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   243
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   244
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   245
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   246
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   247
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   248
\fBjava HelloClient \-ORBInitialPort 1050 \-ORBInitialHost localhost\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   249
 
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   250
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   251
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   252
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   253
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   254
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   255
この例の\fB\-ORBInitialHost localhost\fRは省略することができます。ネーム・サーバーが\fBHello\fRクライアントとして同一ホスト上で動作しているからです。ネーム・サーバーが別のホストで実行されている場合は、\-\fBORBInitialHost nameserverhost\fRオプションを使用してIDLネーム・サーバーが実行されているホストを指定します。前の手順で行われたとおりにネーム・サーバー(\fBorbd\fR)ポートを指定します(例:
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   256
\fB\-ORBInitialPort 1050\fR)。ORBDのサーバー・マネージャの操作が終了したら、ネーム・サーバー(\fBorbd\fR)と\fBservertool\fRを停止するか終了してください。MS\-DOSプロンプトで\fBorbd\fRをシャットダウンするには、サーバーを実行しているウィンドウを選択して\fB[Ctrl]+[C]\fRキーを押します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   257
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   258
Oracle Solarisから\fBorbd\fRをシャットダウンするには、プロセスを検索して、\fBkill\fRコマンドで終了します。サーバーを明示的に停止するまでは、呼出し待機状態が続きます。\fBservertool\fRをシャットダウンするには、\fBquit\fRと入力してキーボードの\fB[Enter]\fRキーを押します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   259
.SH "関連項目"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   260
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   261
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   262
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   263
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   264
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   265
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   266
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   267
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   268
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   269
servertool(1)
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   270
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   271
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   272
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   273
.ie n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   274
\h'-04'\(bu\h'+03'\c
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   275
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   276
.el \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   277
.sp -1
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   278
.IP \(bu 2.3
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   279
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   280
http://docs\&.oracle\&.com/javase/8/docs/technotes/guides/idl/jidlNaming\&.htmlの
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   281
「Naming Service」
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   282
.RE
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   283
.br
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   284
'pl 8.5i
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   285
'bp