�A�Ω� UNIX �� Sun Java Enterprise System 5 �ɯū�n |
�� 12 ��
Service Registry�����y�z�p��N Service Registry �ɯŨ� Java ES 5 (�o�檩�� 5)�GService Registry 3.1�C
����²�n���еo�檩�� 5 �Ҥ䴩�����P�ɯŸ�|���ɯŪ`�N�ƶ��A�[�\�b Solaris �M Linux �@�~�t�ΤW���ɯŧ@�~�G
Service Registry �ɯ�²�����`�y�z�U�C�|�v�T Service Registry �ɯŦ� Java ES 5 (�o�檩�� 5) ���@��h���G
��� Java ES �o�檩�� 5
�۹��o�檩�� 4 Service Registry �Ө��AJava ES �o�檩�� 5 Service Registry �����n�o�檩���C���]�t�@�ǧ�i���\��B��s�������H�Ωҿ��~�ץ��{���C
Java ES �o�檩�� 5 �ɯŸ�T��n
�� 12-2 ��ܤ䴩�� Service Registry �� Java ES �o�檩�� 5 ���ɯŸ�|�C�Ӫ�A�Ω� Solaris �M Linux �@�~�t�ΡC
Service Registry ���
�U����ܥi���ɯ� Service Registry �n��v�T����������C
Service Registry �ɯŵ���
Service Registry ���ɯŵ����@���M��b�� 1 ���u�ɯųW���v�����Ъ��\�h�Ҷq�]�!G�ɯŸ�|�BJava ES �������̩ۨʡB��ܩʤɯŻP����ɯŤ��t���B�h����ҳ��p���C
���`�N�|���X�i��v�T Service Registry �ɯųW�������D�A�ǥH�� Service Registry �i��@��ʪ����СC
�ۮe�ʰ��D
�o�檩�� 5 Service Registry �V�U�ۮe�o�檩�� 4 Service Registry�C
�̩ۨ�
Service Registry ���L Java ES ���̩ۨʥi��|�v�T�ɯũM���s�t�m Service Registry �n�骺�{�ǡC�Ҧp�AService Registry �����Υ\��W���ܧ�i��ݭn Service Registry �̤ۨ����ɯŪ����C�ɯŦ������ݨD��M����骺�ɯŸ�|�C
Service Registry ��U�C Java ES ���̩ۨʡG
- �@�Τ���C Service Registry ��S�w�� Java ES �@�Τ��̩ۨ� (�аѾ\�� 1-9)�C
- Application Server�C Service Registry �� Application Server ���j��ʪ��̩ۨʡA��̥i�� Service Registry 3�ε{�����Ѯe���A�B�b Java ES �o�檩�� 5 ���٥i�z�P���n��/�x�s�w��Ʈw���s�u�C
- Java DB�C Service Registry �� Java DB ���j��ʪ��̩ۨʡA��̰����w�]��Ʈw���x�s�A�ȥH�δy�z���̪�������ơC
��ɯ�
�b��ɯŤ��AService Registry �P�@�~�t�Χ��|�i��ɯ� (�p��ɯšJ Java ES �P�@�~�t�γn�����ҭz)�A�o�ؤɯťi�ĥΤU�C��ؤ覡���@�Ӱ��G
���s�w�˧@�~�t��
- �ƥ�{���� Service Registry ��ơC
�p�ݥ��n��ƪ���m�A�аѾ\ Service Registry ����C
- �w�˷s���@�~�t�ΡC
�i�N�@�~�t�Φw�˦b�s�t�� (�� Solaris 10 �ϰ�) �W�A��i�����л\�{�����ɮרt�ΡC
- �_���B�J 1 ���ҳƥ� Service Registry ��ơC
- �w�˵o�檩�� 5 Service Registry�C
��a�ɯŧ@�~�t��
- �ƥ�{���� Service Registry ��ơC
�p�ݥ��n��ƪ���m�A�аѾ\ Service Registry ����C
- �ɯŧ@�~�t�ΡC
�ɯŮɷ|��˫O�d�{�����ɮרt�ΡC
- �ɯŨ�o�檩�� 5 Service Registry�C
�q Java ES �o�檩�� 4 �ɯ� Service Registry���`�]�A�N Service Registry �q Java ES 2005Q4 (�o�檩�� 4) �ɯŨ� Java ES 5 (�o�檩�� 5) �������T�C���`�[�\�H�U�D�D�G
²��
�N Java ES �o�檩�� 4 Service Registry �ɯŨ�o�檩�� 5 �ɡA�ЦҼ{�ɯŵ{�Ǫ��U�C�h���G
- �@��ɯŤ�k�C �Y�n�F���ɯšA�ݭn���o�檩�� 5 Service Registry �����s�w�ˡA�ñN�o�檩�� 4 ��ƩM�t�m�E����o�檩�� 5�A�M�Ჾ���o�檩�� 4 �H�O�d�ϺЪŶ��C
- �ɯŬ̩ۨʡC Service Registry ��\�h Java ES �@�Τ���㦳�̩ۨ� (�аѾ\�� 1-9)�A��z�ɯ� Service Registry �ɡAJava ES �w�˵{���|�N�Ҧ��o�Ǧ@�Τ���۰ʤɯŨ�o�檩�� 5�C
�ɯŵo�檩�� 4 Service Registry
���`�y�z�p��b Solaris �� Linux ���x�W�N Service Registry �q Java ES �o�檩�� 4 �ɯŨ� Java ES �o�檩�� 5�C��Y�ӥD�D�̿७�x�S�w���{�ǮɡA�ӥD�D�N��X��A�Ϊ��@�~�t�ΡC���`�[�\�H�U�D�D�G
�ɯūe�@�~
�ɯ� Service Registry ���e�A3�Ӱ��U�C�@�~�G
���ҥثe������T
�z�i�ǥѪ`�N Web Console �ϥΪ̤������S�ʨ����� Service Registry ���ثe�����G
http://localhost:6060/soar
�P�ɡA�z�٥i�ˬd Service Registry �M�˳n��W�١C�Ҧp�G
�b Solaris �W�G
pkginfo -l|grep srvc�b Linux �W�G
rpm -qa|grep srvc�U����ܤF���P���S�ʩM�M�˳n��W�١G
�ɯ� Service Registry �̤ۨ���
�@�몺��ij�O�N�q���t�� (�ιB�����) �����Ҧ� Java ES ���ɯŨ� Java ES �o�檩�� 5�CService Registry ��@�Ǧ@�Τ���BApplication Server �M Java DB ���w�ʤɯŬ̩ۨʡC
�ɯ� Service Registry �̤ۨ���ɡA�b�ɯ� Service Registry ���e�A3��ӤU�C���ǰ�� (���L�i��w�ɯŹL�����̤ۨ���)�C�@�Τ��ɯųq�`�i�� Java ES �w�˵{���۰ʧ����C
- �@�Τ���C �b�ɯ� Java ES �@�Τ��������ѤF�N Java ES �@�Τ���P�o�檩�� 5 �P�B����ܡC��O�A��z�N Service Registry �ɯŨ�o�檩�� 5 �ɡAService Registry �һݭn���Ҧ��@�Τ���|�� Java ES �w�˵{���۰ʤɯšC
- Java DB�C �b�� 8 ���uJava DB�v�����ѤF�N Java DB �ɯŨ�o�檩�� 5 ����ܡC
- Application Server�C �b�� 11 ���uApplication Server�v�����ѤF�N Application Server �ɯŨ�o�檩�� 5 ����ܡC
�ק� HTTP �s����
�s���ɮ� ServiceRegistryR4-base/install/install.properties�A�N HTTP �s����q 6060 �ܧ� 6480 (6060 �O�O�d���s����)�C�p�ݦ���]�w���S�ʪ���T�A�аѾ\�uService Registry 3.1 �z��n�v(http://docs.sun.com/doc/820-0538)�C
�ƥ� Service Registry ���
�N Service Registry �q�o�檩�� 4 �ɯŨ�o�檩�� 5 ���|�ק�t�m��Ʃεn��/�x�s�w��Ʈw�C���ݭn�ƥ�ثe����ơC
��o���n���t�m��T�M�K�X
�z�ݭn���D�o�檩�� 4 Service Registry ���ϥΪ� ID�B�K�X�B���W�٩M�s���C
�ɯŵo�檩�� 4 Service Registry
���`�y�z Solaris �M Linux ���x�W���ɯŵ{�ǡC
�ɯŵ{�� (Solaris)
�U�z�{�ǾA�Ω�����ɯŪ��q������W�� Service Registry ��ҡC
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- �T�w Jakarta ANT Java/��� XML ���إߤu�� (ANT �@�Τ���) �ѷӤF���T������ J2SE�C
(�b���᪺�B�J���ϥΤF ant ��O�C)
PATH=/usr/jdk/entsys-j2se/bin:$PATH
export PATH
- ����o�檩�� 4 Service Registry (Application Server) ���C
cd ServiceRegistryR4-base/install
/usr/sfw/bin/ant -f build-install.xml appserver.domain.stop���P Service Registry ��Ҭ����p�C
- ���o�檩�� 5 Service Registry �����s�w�ˡC
���U�C�B�J�G
- �b�N�o�檩�� 4 Service Registry ���q���W�Ұ� Java ES �w�˵{���C
cd Java ES Release 5 distribution/os_arch
./installer�䤤 os_arch �P�z�Ҧb���x�۲šA�Ҧp Solaris_sparc�C(�w���O�椶���ϥ� installer -nodisplay �ﶵ�C)
��ܥX [�w��] �M [���v�X��] ��������A�z�N�|�ݨ줸�����C(�?���i�� Java ES �w�˵{�������ɯŪ��w�ˤ���ɡA���̪����A�|��ܬ� [�i�ɯ�]�C)
- �q����������� Service Registry�C
- ��w�P�o�檩�� 4 ���P���w�˥ؿ��|�C
�̹w�]�A�o�檩�� 5 ���w�˸�| (ServiceRegistryR5-base) �P�o�檩�� 4 ���w�˸�| (ServiceRegistryR4-base) ���P�C
- ��� [�H��t�m] �ﶵ�C
���䴩 [�ߧY�t�m]�C
- �p�����n�A�п��w�˥��g�ƮM�˳n�骺�ﶵ�C
- �w�˧����ɵ��� Java ES �w�˵{���C
- �ɯũM�t�m�o�檩�� 5 Service Registry ��ҡC
cd ServiceRegistryR5-base/install
/usr/sfw/bin/ant -f build-install.xml
-Dinstall.properties=ServiceRegistryR4-base/install/install.properties
upgrade������V�o�檩�� 4 install.properties �ɮת��t�@�ؿ�ܤ�k�A�z�i�H�ק�w�]�o�檩�� 5 install.properties �ɮץH���{���o�檩�� 4 �S�ʭȡC�p�ݦ���]�w�o�ǯS�ʪ���T�A�аѾ\�uService Registry 3.1 �z��n�v(http://docs.sun.com/doc/820-0538)�C
�p�G�z�n�ϥΦۭq�S�ʭȡA�Ӥ��O�N���̩�b install.properties ���A����A�z�ݭn�b Ant ��O��W��w�o�ǯS�ʭ� (�����b�@�椤)�A�p�U�ҥܡG
/usr/sfw/bin/ant -f build-install.xml
-Dregistry.install.RegistryServerKeystorePassword=passwd1
-Dregistry.install.AdministratorPassword=passwd2
-Dregistry.install.ApplicationServerKeystorePassword=passwd3
upgrade���L�A��ij�N�o�Ǧۭq�S�ʭȥ]�t�b install.properties �ɮפ��A�èϥΦ�����v���H�קK�ϥΥi�ѥ��g���v�H���˵��O��]�w�C�p�ݧ�h��T�A�аѾ\�uService Registry �z��n�v�C
�ɯŤ��ε{���|�إ߷s Application Server ���B�Ұʺ��H�Φb��줤���p Service Registry ��ҡC�C�� Service Registry ��ҬһP��ۨ��� Application Server �������p�C
- �p�G�w�g�ק�F�o�檩�� 4 Service Registry ����A���S���ɮסA�h�z�i�H��H�U�覡��o�檩�� 5 Service Registry �t�m�i���3���ܧ�G
- ����o�檩�� 5 Service Registry (Application Server) ���C
(�����B�J 5 ���� upgrade ��O�۰ʱҰʡC)
cd ServiceRegistryR5-base/install
/usr/sfw/bin/ant -f build-install.xml appserver.domain.stop- �N�o�檩�� 4 Service Registry ��Ұt�m�ǿ��o�檩�� 5�C
�N�Ұ������ק�W�[�ܵo�檩�� 4 Service Registry ��Ұt�m�G
RegistryDomainR4-base/domains/registry/applications/j2ee-modules/
soar/WEB-INF/classes/*.properties�N�Ұ������ק�W�[�ܹ�3���o�檩�� 5 �t�m�G
RegistryDomainR5-base/domains/registry/applications/j2ee-modules/
soar/WEB-INF/classes/*.properties- �Ұʵo�檩�� 5 Service Registry (Application Server) ���C
cd ServiceRegistryR5-base/install
/usr/sfw/bin/ant -f build-install.xml appserver.domain.start�ɯŵ{�� (Linux)
���F Linux ���x�W ant ��O����m (�b�ɯŵ{�Ǫ��U�ӨB�J���ϥ�) �P Solaris ���x�W����m���P�H�~�A�b Linux �W�P�b Solaris �W�ɯ� Service Registry �����ۦP (�аѾ\�ɯŵ{�� (Solaris))�G
���Ҥɯ�
�z�i�ǥѪ`�N Web Console �ϥΪ̤������S�ʨ����� Service Registry �O�_�w���\�ɯšG
http://localhost:6480/soar
�P�ɡA�z�٥i�ˬd Service Registry �M�˳n��W�١C�Ҧp�G
�b Solaris �W�G
pkginfo -l|grep soar�b Linux �W�G
rpm -qa|grep soar�� 12-4 ��ܤF���P���S�ʩM�M�˳n��W�١C
�ɯū�@�~
�u���z�T�w�z���Q�^�_�ܵo�檩�� 4 ���ɯŮɡA�~�i���H�U����p���o�檩�� 4 Service Registry ���B�J�C
- �R���o�檩�� 4 Service Registry (Application Server) ���G
cd ServiceRegistryR4-base/install
�b Solaris �W�G
/usr/sfw/bin/ant -f build-install.xml appserver.domain.delete�b Linux �W�G
/opt/sun/bin/ant -f build-install.xml appserver.domain.delete- �R���]�t�o�檩�� 4 Service Registry ����ɮת��ؿ�C
rm -rf RegistryDomainR4-base
- �R���]�t�o�檩�� 4 Service Registry �w���ɮת��ؿ�C
rm -rf ServiceRegistryR4-base
�^�_�ɯ�
�o�檩�� 5 �ɯŪ��^�_�O�ǥѴ_�쬰��e�����ӹF�����A��e�����b�ɯŨ�o�檩�� 5 �ɫO���ܡC
- ����M�R���o�檩�� 5 Service Registry (Application Server) ���G
cd ServiceRegistryR4-base/install
�b Solaris �W�G
/usr/sfw/bin/ant -f build-install.xml appserver.domain.delete�b Linux �W�G
/opt/sun/bin/ant -f build-install.xml appserver.domain.delete- ��� Java ES �o�檩�� 5 �Ѱ��w�˵{���A�H�Ѱ��w�˵o�檩�� 5 Service Registry�C
- �Ұʵo�檩�� 4 Service Registry ���C
cd ServiceRegistryR4-base/install
�b Solaris �W�G
/usr/sfw/bin/ant -f build-install.xml appserver.domain.start�b Linux �W�G
/opt/sun/bin/ant -f build-install.xml appserver.domain.start- �s��o�檩�� 4 Service Registry Web Console�C
http://localhost:6480/soar
- �T�{�D���x��ܤF Service Registry �������ҿ�X���Ҥ��Ъ��o�檩�� 4 �S�ʡC
�h����Ҥɯ�
�b�Y�dz��p�[�c���A�|�N Service Registry ���p�b�h�ӹq���t�ΤW�A�H���ѩ��i�ʨô����i�ΩʡC�Ҧp�A�i�H�� Service Registry ��Ҧb�h�x�q���W���A�óz�L�t��ž��Ӥ4��t��C
�b�o�Ǭ[�c���A�n��D�n�O��Ū���A�åi�ǥѦs��@���Ʈw�Ӧ^3�j�q���d�ߡC
�p�ɯŵo�檩�� 4 Service Registry ���ҭz�A�z�n�b�C�x�q���W��� Service Registry ���ɯšC