servertool.1 revision 0
t

Copyright 2001-2006 Sun Microsystems, Inc. All Rights Reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.

This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).

You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
CA 95054 USA or visit www.sun.com if you need additional information or
have any questions.


servertool 1 "2006 ǯ 9 �� 4 ��" "Java SE 6" "�桼�������ޥ��"
"̾��"
servertool - Java(TM) IDL �����Хġ���

servertool �ϡ����ץꥱ�������ȯ�Ԥ���³�����Ф���Ͽ����Ͽ���ư����ߤ�Ԥ�����Υ��ޥ�ɹԥ��󥿥ե��������󶡤��ޤ���

"����"
servertool -ORBInitialPort nameserverport options [ commands ]

servertool �ε�ư���˥��ޥ�ɤ� ���Ϥ��ʤ��ä����ϡ� ���ޥ�ɹԥġ��뤬 servertool > �ץ��ץȤ�ɽ�����ޤ��� servertool > �ץ��ץȤ� ���ޥ�ɤ����Ϥ��ޤ���

servertool �ε�ư���˥��ޥ�ɤ����Ϥ������ϡ� Java IDL �����Хġ��뤬��ư���� ���ޥ�ɤ�¹Ԥ��ƽ�λ���ޤ���

-ORBInitialPort nameserverport ���ץ����ϡ�ɬ�ܤǤ��� nameserverport ���ͤϡ�orbd ��¹Ԥ��� �忮�׵���Ե����Ƥ���ݡ��Ȥ���ꤷ�ޤ��� Solaris ���եȥ���������Ѥ�����ϡ� �����ѡ��桼���ˤʤä� 1024 ̤���Υݡ��Ȥǥץ?���򳫻Ϥ��� ɬ�פ�����ޤ������Τ��ᡢ1024 �ʾ�Υݡ����ֹ�� ���Ѥ�侩���ޤ���

��ǽ����
servertool �ϥ��ץꥱ������� �ץ?��ޤ�����³�����Ф���Ͽ����Ͽ���ư����ߤ� �Ԥ�����Υ��ޥ�ɹԥ��󥿥ե������Ǥ��� �����Ф˴ؤ��뤵�ޤ��ޤ���׾����������뤿��� ����¾�Υ��ޥ�ɤ��Ѱդ���Ƥ��ޤ���
���ץ����

-ORBInitialHost " nameserverhost" �͡��ॵ���Ф�¹Ԥ����忮�׵���Ե����Ƥ��� �ۥ��ȥޥ������ꤷ�ޤ������Υ��ץ����� ���ꤷ�ʤ���硢nameserverhost �ϥǥե���Ȥ� localhost �ˤʤ�ޤ��� orbd �� servertool ���ۤʤ�ޥ���Ǽ¹Ԥ���Ƥ�����ϡ�orbd �� �¹Ԥ���Ƥ���ۥ��Ȥ�̾���ޤ��� IP ���ɥ쥹�� ���ꤹ��ɬ�פ�����ޤ���

-J option ���ץ����� Java ���ۥޥ�����Ϥ��ޤ��� ������ option �ϡ�Java ���ץꥱ������� ��ư�ץ?���

(http://java.sun.com/javase/6/docs/technotes/tools/solaris/java.html) �Υ�ե���󥹥ڡ�������������Ƥ��� ���ץ����� 1 �ĤǤ��� ���Ȥ��С�-J-Xms48m �ϡ� ��ư����� 48M �Х��Ȥ����ꤷ�ޤ��� -J �����ܤˤ��벾�ۥޥ���˥��ץ����� �Ϥ����Ȥϡ����̤ε���Ǥ���
���ޥ��

register -server <server class name> -classpath <classpath to server> [ -applicationName <application name> -args <args to server> -vmargs <flags to be passed to Java VM> ]

��������³�����Ф� Object Request Broker Daemon (ORBD) ����Ͽ���ޤ��� �ޤ���Ͽ����Ƥ��ʤ����ϡ������Ф���Ͽ���졢ͭ����ޤ��� ���Υ��ޥ�ɤ���Ѥ���ȡ� -server ���ץ����ˤ�ä� ���̤���륵���ФΥᥤ�󥯥饹�ǥ��󥹥ȡ���᥽�åɤ� �ƤӽФ���ޤ������󥹥ȡ���᥽�åɤϡ� public static void install (org.omg.CORBA.ORB) �� �ʤ���Фʤ�ޤ��󡣤��Υ��󥹥ȡ���᥽�åɤ� ���ץ����ǻ��Ѥ���ȡ���ȯ�Ԥ��ȼ��� �����Х��󥹥ȡ���ư�� (�ǡ����١����������ޤκ����ʤ�) �����Ǥ��ޤ���

unregister -serverid <server id > | -applicationName <application name>

������ ID �ޤ��ϥ��ץꥱ�������̾����Ѥ��ơ� ORBD ���饵���Ф���Ͽ���ޤ��� ���Υ��ޥ�ɤ���Ѥ���ȡ�-server ���ץ����ˤ�ä� ���̤��줿�����ФΥᥤ�󥯥饹�ǥ��󥤥󥹥ȡ��� �᥽�åɤ��ƤӽФ���ޤ������󥤥󥹥ȡ���᥽�åɤϡ� public static void uninstall(org.omg.CORBA.ORB) �Ǥʤ���Фʤ�ޤ��󡣤��Υ��󥤥󥹥ȡ���᥽�åɤ� ���ץ����ǻ��Ѥ���ȡ� ��ȯ�Ԥ��ȼ��Υ����Х��󥤥󥹥ȡ���ư�� (���󥹥ȡ���᥽�åɤ�ư��μ��ä��ʤ�) �����Ǥ��ޤ���

getserverid -applicationName <application name> ���ץꥱ���������б����륵���� ID ���֤��ޤ���

list

ORBD ����Ͽ����Ƥ��뤹�٤Ƥλ�³�����Ф˴ؤ������� ����ɽ�����ޤ���

listappnames ORBD �˸�����Ͽ����Ƥ��뤹�٤ƤΥ����ФΥ��ץꥱ�������̾�� ����ɽ�����ޤ���

listactive ORBD �ˤ�äƵ�ư���졢��ư���Ƥ��뤹�٤Ƥ� ��³�����Ф˴ؤ������� ���٤ư���ɽ�����ޤ���

3 locate -serverid <server id > | -applicationName <application name> [-endpointType <endpointType> ]

��Ͽ����Ƥ��륵���Фˤ�äƺ������줿���٤Ƥ� ORB ������Υ����� �Υ���ɥݥ���� (�ݡ���) �����ꤷ�ޤ��������Ф��ޤ���ư���Ƥ��� �����ϡ���ư����ޤ�������ɥݥ���ȥ����פ����ꤵ��ʤ��ȡ��� ������γ� ORB �˴�Ϣ�����ץ졼��/���ݸ�� ����ɥݥ���Ȥ��֤���ޤ���

3 locateperorb -serverid <server id > | -applicationName <application name> [-orbid <ORB name> ] ��Ͽ����Ƥ��륵���Ф������ ORB �ˤ�ä���Ͽ���줿���٤ƤΥ���� �ݥ���� (�ݡ���) �����ꤷ�ޤ��������Ф��ޤ�ư��Ƥ��ʤ����ϡ� ��ư����ޤ��� orbid �����ꤵ��ʤ��ȡ��ǥե�����ͤǤ��� "" �� orbid �˳�����Ƥ��ޤ�������ʸ����� orbid ����Ѥ��� ORB �����������ȡ�����ˤ�ä���Ͽ����Ƥ��뤹 �٤ƤΥݡ��Ȥ��֤���ޤ���

orblist -serverid <server id> | -applicationName <application name> ]

�����Ф��������Ƥ��� ORB �� ORBId �����ɽ�����ޤ��� ORBId �ϡ������Фˤ�äƺ������줿 ORB �� ʸ����̾�Ǥ��������Ф��ޤ���ư���Ƥ��ʤ����ϡ� �����Ф�ư���ޤ���

shutdown -serverid <server id> | -applicationName <application name> ]

ORBD ����Ͽ����Ƥ��륢���ƥ��֤ʥ����Ф���ߤ��ޤ��� ���Υ��ޥ�ɤ� �¹���ˡ� �����Хץ?����Ŭ�ڤ���ߤ��뤿��ˡ� -serverid �ޤ��� -applicationName �ѥ�᡼���� ���ꤵ�줿���饹���������Ƥ��� shutdown() �᥽�åɤ�ƤӽФ���ޤ���

startup -serverid <server id> | -applicationName <application name>

ORBD ����Ͽ����Ƥ��륵���Ф�ư���ޤ��� �����Ф���ư���Ƥ��� ����硢���Υ��ޥ�ɤϥ����Ф�ư���ޤ��������Ф���˲�ư���� ������ϡ����顼��å��������桼�����֤���ޤ���

help

���Υ����Хġ������Ѥ��ƥ����Ф��Ф��Ƽ¹ԤǤ��뤹�٤Ƥ� ���ޥ�ɤ����ɽ�����ޤ���

quit

���Υ����Хġ����λ���ޤ���

"��Ϣ����"

orbd