�A�Ω� UNIX �� Sun Java Enterprise System 5 �ɯū�n |
�� 11 ��
Application Server�����y�z�p��N Application Server �ɯŨ� Java ES 5 (�o�檩�� 5)�GSun Java System Application Server Enterprise Edition 8.2�C
����²�n���еo�檩�� 5 �Ҥ䴩�����P�ɯŸ�|���ɯŪ`�N�ƶ��A�[�\�b Solaris �M Linux �@�~�t�ΤW���ɯŧ@�~�G
�Ƶ�
�o�檩�� 5 Application Server (8.x) ���w�] Application Server ���W�٬O domain1�C���y�ܻ��Adomain1 �O�b�������ϥΪ� domainName �ܼƪ��w�]�ȡC
���~�A�w�] Directory Administration Service (DAS) ��ҦW�٬O server�C�q�`���|�N J2EE 3�ε{�����p�� DAS ��ҡA��|���p���L�W�߹�ҡC
�p�ݦ���b�������ϥΪ� asadmin ��O����h��T�A�аѾ\�uSun Java System Application Server Enterprise Edition 8.2 Reference Manual�v(http://docs.sun.com/doc/819-4736)�C
Application Server �ɯ�²�����`�y�z�U�C�|�v�T Application Server �ɯŦ� Java ES 5 (�o�檩�� 5) ���@��h���G
��� Java ES �o�檩�� 5 Application Server
Java ES �o�檩�� 5 Application Server �۹��o�檩�� 4 �Ө��A�O���n�o�檩���A�ȧt�ҿ��~�ץ��{���C�b�\��W�A�o�檩�� 5 Application Server �P�o�檩�� 4 �O�ۦP���C
Application Server �ɯŸ�T��n
����դɯŸ�|�A�Ω� Application Server �� Java ES �o�檩�� 5 ���ɯšG
- �� 11-2 ��ܤ䴩���ɯŨ� Java ES �o�檩�� 5 �� Java ES Application Server �ɯŸ�|�C����A�Ω� Solaris �M Linux �@�~�t�ΡC
- �� 11-3 ��ܤF�Ҥ䴩�� Solaris �H�� Application Server �� Java ES �o�檩�� 5 ���ɯŸ�|�CSolaris OS �n���H���� Application Server Platform Edition�C�ϥ� Java ES �w�˵{���i�H�N Application Server �H���������ɯŨ�o�檩�� 5 Enterprise Edition�A�p�� 11-3 ���ҭz�C
�� 11-2 �� Java ES 5 (�o�檩�� 5) ���ɯŸ�|�GApplication Server Enterprise Edition 8.2
Java ES �o�檩��
Application Server ����
�@���k
�ݭn���s�t�m
�o�檩�� 4
Sun Java System Application Server Enterprise Edition 8.1 2005Q4
�����ɯšG
�ϥ� Java ES �w�˵{�����C1�L
�o�檩�� 3
Sun Java System Application Server Enterprise Edition 8.1 2005Q1
�����ɯšG
�ϥ� Java ES �w�˵{�����C�L
�o�檩�� 2
Sun Java System Application Server 7.0 Update 3 (2004Q2)
Platform Edition �M Enterprise Edition�����ɯšG
�ϥ� Java ES �w�˵{���ӤɯŮM�˳n��A�ϥ� postInstall �{���ɨӰ�歫�s�t�m�A�èϥ� asupgrade ���ε{���ӾE������T�C2����ܼơB���Ψ�L�t�m��ơC
J2EE �����3�ε{���ݭn�E����s�� Application Server ��Ҩí��s���p�C
�o�檩�� 1
Sun ONE Application Server 7.0 Update 1 (2003Q4)
Platform Edition �M Enterprise Edition�|���{�Ҫ����ɯšG
�ϥαq�o�檩�� 2 Application Server �ɯŮɩҨϥΪ���k�C����ܼơB���Ψ�L�t�m��ơC
J2EE �����3�ε{���ݭn�E����s�� Application Server ��Ҩí��s���p�C
Java ES �o�檩�����e���o�檩��
�L�����ɯšG
��i�H��ϥΡuJava Enterprise System 2005Q1 �ɯŻP�E����n�v(http://docs.sun.com/doc/819-2238) ������{�ǤɯŨ�o�檩�� 3�C�M��q�o�檩�� 3 �ɯŨ�o�檩�� 5�C
1�p�G�z�Q�n�q Application Server �o�檩�� 4 �ɯŨ�o�檩�� 5 �Ӥ��O�d�t�m�κ���T�A�z�i�H�ϥ� Java ES �o�檩�� 4 �Ѱ��w�˵{���ӸѰ��w�˵o�檩�� 4 Application Server�A�M��ϥ� Java ES �o�檩�� 5 �w�˵{���ӥ��s�w�˵o�檩�� 5 Application Server�C��O�A�p�G�w�g�ϥ� [�H��t�m] �ﶵ�w�ˤF�o�檩�� 4 Application Server�A����b�Ѱ��w�˵o�檩�� 4 Application Server ���e�A�z������إ� $HOME/.asadminprefs �ɮ� (�䤤 $HOME �O�w�ˤΰ�� Application Server ���ϥΪ̪��D�ؿ�)�C�ɮפ����H�U���G
AS_ADMIN_PASSWORD=password
AS_ADMIN_USER=admin2�p�G�z�n�b Solaris ���x�W�q�o�檩�� 2 Application Server �ɯšA�ЯS�O�p�ߡA�]�� Solaris �H���� Application Server �P Java ES �o�檩�� 2 Application Server �æs�b�z���q���W�C�аѾ\�� 11-3 �Ψ�᪺�`�N�ƶ��C
�Ƶ�
�p�G�z�n�b Solaris ���x�W�q�o�檩�� 2 Application Server �ɯšA�ЯS�O�p�ߡA�]���H���������P Application Server �� Java ES �����æs�b�z���q���W�C�]���z������Ѱ��w���H�������� (�Υ���3�����) �~���~��q�o�檩�� 2 �����ɯšC�аѾ\�ȭ��� Solaris OS�G��ʲ����H����@�~�t�Ϊ� Application Server �M�˳n���C
Application Server ���
�U����ܥi���ɯ� Application Server �n��v�T����������C
Application Server �ɯŵ���
Application Server ���ɯŵ����@���M��b�� 1 ���u�ɯųW���v�����Ъ��\�h�Ҷq�]�!G�ɯŸ�|�BJava ES �������̩ۨʡB��ܩʤɯŻP����ɯŤ��t���B�h����ҳ��p���C
���`�N�|���X�i��v�T Application Server �ɯųW�������D�A�ǥH�� Application Server �i��@��ʪ����СC
�ۮe�ʰ��D
�o�檩�� 5 Application Server �S���%X�����Y��o�檩�� 4 �εo�檩�� 3 �������ܧ�C��O�A�b�o�檩�� 5 �P�o�檩�� 2 �������ܤj�������ܧ�A�ϱo�o�檩�� 5 �P�o�檩�� 2 ���ۮe�C
��O�A�o�檩�� 5 Application Server �ä��䴩�o�檩�� 4 Service Registry�C�p�G�N Application Server �ɯŨ�o�檩�� 5�A�]�����N Service Registry �ɯŨ�o�檩�� 5�C
Application Server �̩ۨ�
Application Server ���L Java ES ���̩ۨʥi��|�v�T�ɯũM���s�t�m Application Server �n�骺�{�ǡC�Ҧp�AApplication Server �����Υ\��W���ܧ�i��ݭn Application Server �̤ۨ����ɯŪ����C�ɯŦ������ݨD��M����骺�ɯŸ�|�C
Application Server ��U�C Java ES ���̩ۨʡG
- �@�Τ���C Application Server ��S�w�� Java ES �@�Τ��̩ۨ� (�аѾ\�� 1-9)�C
- Message Queue�C Application Server �̾a Message Queue �Ӵ��� J2EE Java Message Service �ۮe���D�P�B�ǰT�䴩�C
- High Availability Session Store�C Application Server �̩ۨ� High Availability Session Store (HADB) �Ӻ��b��Ҥ����䴩�e����һݪ����q�@�~���A��T�C
- Java DB�C Application Server �̾a Java DB �����w�]�}�o�̸�Ʈw���x�s�d��3�ε{����ƥH�Υ�~ Java Bean �p�ɾ��һݪ���ơC
- Web �e�� (��ܩʬ̩ۨ�)�C Application Server �̩ۨ� Web �e���A�ȡA�H��o������ܩʭt��ť~���{���C���䴩�i�� Java ES Web Server �Ψ�O�t�� Web �e�� (���O Apache Web Server �� Microsoft IIS) ���ѡC
��ɯ�
�b��ɯŤ��AApplication Server �P�@�~�t�Χ��|�i��ɯ� (�p��ɯšJ Java ES �P�@�~�t�γn�����ҭz)�A�o�ؤɯťi�ĥΤU�C��ؤ覡���@�Ӱ��G
���s�w�˧@�~�t��
- �ƥ�{���� Application Server ��ơC
�p�ݥ��n��ƪ���m�A�аѾ\ Application Server ����C
- �w�˷s���@�~�t�ΡC
�u��b�P�@�x�q���w�˧@�~�t�ΡA���|���л\�{�����ɮרt�ΡC
- �_���B�J 1 ���ҳƥ� Application Server ��ơC
- �w�˵o�檩�� 5 Application Server�C
�Юھ��B�J 1 ���ҳƥ� Application Server ��ƪ����A�ϥΥ�������ɯŤp�`���ҭz���{�ǡC
��a�ɯŧ@�~�t��
- �ƥ�{���� Application Server ��ơC
�p�ݥ��n��ƪ���m�A�аѾ\ Application Server ����C
- �ɯŧ@�~�t�ΡC
�ɯŮɷ|��˫O�d�{�����ɮרt�ΡC
- �ɯŨ�o�檩�� 5 Application Server�C
�ЮھڤɯŸ�|�A�Ѿ\����������`�C
�q Java ES �o�檩�� 4 �ɯ� Application Server���`�]�A�N Application Server �q Java ES 2005Q4 (�o�檩�� 4) �ɯŨ� Java ES 5 (�o�檩�� 5) �������T�C���`�[�\�H�U�D�D�G
²��
�N Java ES �o�檩�� 4 Application Server �ɯŨ�o�檩�� 5 �ɡA�ЦҼ{�ɯŵ{�Ǫ��U�C�h���G
- �@��ɯŤ�k�C �ϥ� Java ES �w�˵{���Ӱ��ɯšC�N Application Server �q�o�檩�� 4 �ɯŨ�o�檩�� 5 ���ݭn���s�t�m Application Server �έ��s�t�m�ξE�� J2EE ����C
- �ɯŬ̩ۨʡC Application Server ��\�h Java ES �@�Τ���㦳�̩ۨ� (�аѾ\�� 1-9)�A��z�ɯ� Application Server �ɡAJava ES �w�˵{���|�N��̪ۨ��Ҧ��@�Τ���۰ʤɯŨ�o�檩�� 5�CApplication Server �u�� NSS �@�Τ��w�ʤɯŬ̩ۨʡC
���~�A�p Application Server �̩ۨ��ҭz�A�o�檩�� 5 Application Server �� Message Queue�BHADB �M Java DB ���̩ۨʡC�o�ǬO�w�ʤɯŬ̩ۨʡG�����������ɯŨ�o�檩�� 5�C
���~�AApplication Server ��ܩʦa�� Java ES Web Server �Ψ�O�t�� Web �e�����̩ۨʡC���L�A�o�ǨëD�w�ʪ��ɯŬ̩ۨʡF�ɯ� Web �e����N Application Server �ɯŨ�o�檩�� 5 �Ө��O��ܩʪ��C
�ɯŵo�檩�� 4 Application Server
���`�y�z�p��b Solaris �� Linux ���x�W�N Application Server �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�@�~
�ɯ� Application Server �n�餧�e�A3�Ӱ��U�C�@�~�G
���ҥثe������T
�z�i��J�U�C��O������ Application Server ���ثe�����G
AppServer8-base/bin/asadmin version --verbose
�ɯ� Application Server �̤ۨ���
�@�몺��ij�O�N�q���t�� (�ιB�����) �����Ҧ� Java ES ���ɯŨ� Java ES �o�檩�� 5�CApplication Server �� NSS �@�Τ���� Message Queue�BHADB �P Java DB ���~���w�ʤɯŬ̩ۨʡC
�ɯ� Application Server �̤ۨ���ɡA�b�ɯ� Application Server ���e�A3��ӤU�C���ǰ�� (���L�i��w�ɯŹL�����̤ۨ���)�C��O�A�ɯ� Application Server �ɡA�@�Τ���BMessage Queue�BHADB �M Java DB ���ɯųq�`�i�� Java ES �w�˵{���۰ʧ����C
- �@�Τ���C �b�ɯ� Java ES �@�Τ��������ѤF�N Java ES �@�Τ���P�o�檩�� 5 �P�B����ܡC��O�A��z�N Application Server �ɯŨ�o�檩�� 5 �ɡAApplication Server �һݭn���Ҧ��@�Τ���|�� Java ES �w�˵{���۰ʤɯšC
- Message Queue�C �b�� 10 ���uMessage Queue�v�����ѤF�N Message Queue �ɯŨ�o�檩�� 5 ����ܡC
- High Availability Session Store (HADB)�C �b�� 9 ���uHigh Availability Session Store�v�����ѤF�ɯ� HADB ����ܡC
- Java DB�C �b�� 8 ���uJava DB�v�����ѤF�ɯ� Java DB ����ܡC
- Web �e���n�� (�D�w�ʤɯŬ̩ۨ�)�C �b�� 7 ���uWeb Server�v�����ѤF�ɯ� Web Server ����ܡC
�ƥ� Application Server ���
Application Server �q�o�檩�� 4 ��o�檩�� 5 ���ɯŤ��|�ק�t�m��ơC�]�����ݭn�ƥ�ثe����ơC
��o�һݪ��t�m��T�M�K�X
�z3�Ӫ��D Application Server �ثe�w�˪������z��ϥΪ� ID �M�K�X�C
�ɯŵo�檩�� 4 Application Server
���`�Q�v�T Application Server �ɯŵ{�Ǫ��`�N�ƶ��A���۴��ѹ�{�ǥ���������C
�ɯŪ`�N�ƶ�
�N Application Server �n��ɯŨ� Java ES �o�檩�� 5 �ɭn�Ҽ{�U�C�`�N�ƶ��G
�ɯŵ{��
�U�z�{�ǾA�Ω�����ɯŪ��q������W�� Application Server ��ҡC
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- ��n�ɯŪ� Application Server ��Ҥ����b��檺�Ҧ� J2EE ����C
- ����n�ɯŤ��q���W���Ҧ� Application Server ��ҡC
- ����Ҧ���椤���`�I�N�z�{���C
AppServer8-base/bin/asadmin stop-node-agent --user admin_ID
nodeagentName�䤤 nodeagentName ���Φ��� hostName_domainName�A��²��w�]�� hostName�C
- ���� Domain Administration Server (DAS)�C
AppServer8-base/bin/asadmin stop-domain --user admin_ID
domainName- ���� PointBase ��Ʈw��A�� (�p�G���b�ϥΤ�)�C
AppServer8Config-base/appserver/pointbase/tools/stopserver.sh
- �Ұ� 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)
- �b����������� Application Server�C
�]�|�۰ʿ��w�ʤɯŬ̩ۨʡBMessage Queue�BHADB �M Java DB �H�i��ɯšC
- ��� [�ߧY�t�m]�C
- ��w�ШD���t�m�ȡC
�z�N�|�ݨ�@�ǰt�m���O�C
- �T�{�ɯſ�ܡC
�N�|�ɯ� Application Server �M�˳n�� (�p�����n�A�]�|�ɯ� Message Queue�BHADB �M Java DB ���M�˳n��) ����ܤɯźK�n�C
- ���� Java ES �w�˵{���C
- ���s�Ұʤɯū᪺ Domain Administration Server (DAS)�C
AppServer8-base/bin/asadmin start-domain --user admin_ID
domainName- ���s�Ұʧ�s�� Application Server ��ҡC
AppServer8-base/bin/asadmin start-node-agent --user admin_ID
nodeagentName�䤤 nodeagentName ���Φ��� hostName_domainName�A��²��w�]�� hostName�C
���Ҥɯ�
�z�i�ϥΤU�C��O�����ҤɯŬO�_���\�G
AppServer8-base/bin/asadmin version --verbose
�аѾ\�� 11-5 ������X�ȡC
�ɯū�@�~
�p�G�z�n�~��ϥΤ��O�����o�檩�� 4 PointBase ��Ʈw�ӫD Java DB (�@�ӷs���o�檩�� 5 Java ES ���~����)�A�h������ʽs��ɯŪ� AppServer8-base/config/asenv.conf �ɮסC
�q�o�檩�� 4 �ɯ� Application Server ����Aasenv.conf ���� PointBase �]�w�p�U�G
�N�o�dz]�w�ܧH�U�ȡG
AS_POINTBASE="AppServer8-base/pointbase"
AS_POINTBASE_SAMPLESDB="AppServerConfig8-base/var/appserver/pointbase"�^�_�ɯ�
���䴩�o�檩�� 5 �ɯŪ��^�_�C
�q Java ES �o�檩�� 3 �ɯ� Application Server�N Java ES 2005Q1 (�o�檩�� 3) Application Server �ɯŨ�o�檩�� 5 ���{�ǻP�N�o�檩�� 4 Application Server �ɯŨ�o�檩�� 5 ���{�ǬۦP�C
�Y�n�N�o�檩�� 3 Application Server �ɯŨ�o�檩�� 5�A���F�N�ѷӪ��Ҧ��o�檩�� 4 ��N���o�檩�� 3 �H�~�A��L�п�`�q Java ES �o�檩�� 4 �ɯ� Application Server ������ܡC
�q Java ES �o�檩�� 2 �ɯ� Application Server���`�]�A�N Application Server �q Java ES �o�檩�� 2 �ɯŨ� Java ES 5 (�o�檩�� 5) �������T�C���`�[�\�H�U�D�D�G
�Ƶ�
�p�G�z�n�b Linux ���x�W�q�o�檩�� 2 Application Server �i��ɯšA�h���������ɯšA�]�N�O Application Server �M�@�~�t�γ��n�i��ɯ� (�b RHEL 2.1 �W���䴩�o�檩�� 5 Application Server)�C�p�ݧ�h��T�A�аѾ\��ɯ��C
²��
�N Java ES Application Server �q�o�檩�� 2 �ɯŨ�o�檩�� 5 �ɡA�ЦҼ{�ɯŵ{�Ǫ��U�C�h���G
- �@��ɯŤ�k�C �ǥѨϥ� Java ES �w�˵{���ÿ�� [�H��t�m] �ﶵ�w�˵o�檩�� 5 Application Server �Ӱ��ɯšC���ۨϥ� asupgrade ���ε{���������s�t�m�C�b�ɯ� Application Server ����A�����N�o�檩�� 2 �� J2EE �����3�ε{���E���ܵo�檩�� 5�C
- �ɯŬ̩ۨʡC �b�q���W�q�o�檩�� 2 �ɯť�� Java ES ���ݭn�ɯŸӹq���N�ު��Ҧ���L Java ES ����A���䴩��ܩʦa�N Java ES ����q�o�檩�� 2 �ɯŨ�o�檩�� 5�C
- �V�U�ۮe�ʡC �o�檩�� 5 Application Server ���V�U�ۮe�o�檩�� 2 �����C�ݭn�E�� J2EE �����3�ε{���~��b�o�檩�� 5 Application Server ��Ҥ����C
- �ɯŦ^�_�C �q�o�檩�� 5 ��o�檩�� 2 ���ɯŪ��^�_�u�ݴ_���o�檩�� 2 �w�˴N�i�F�� (�ɯŹL�{�å������o�檩�� 2 �t�m���)�C
- ���x���D�C �b Solaris OS �W�ɯ� Application Server ����k���ઽ���M�Ψ� Linux OS �W�GLinux2.1 �W�u�䴩 Java ES �o�檩�� 2�A�� Linux2.1 �W���䴩 Java ES �o�檩�� 5�C�]���ݭn��ɯšG�@�~�t�ΩM Application Server �������ɯ� (�аѾ\��ɯšJ Java ES �P�@�~�t�γn��)�C
- ��Ʀ�m�C ���B���s���o�檩�� 5 ���t�m��ơB���p��ƩM�s��O���ɪ���m�A�p�� 11-4 �ҫ�w�C
�ɯŵo�檩�� 2 Application Server
���`�y�z�p��b Solaris �� Linux ���x�W�N Application Server �q Java ES �o�檩�� 2 �ɯŨ� 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�@�~
�ɯ� Application Server ���e�A3�Ӱ��U�C�@�~�G
�ȭ��� Solaris OS�G��ʲ����H����@�~�t�Ϊ� Application Server �M�˳n��
�w�˵o�檩�� 2 Application Server �ɨèS������ Solaris OS �H���� Application Server �����C�Y�n�N�o�檩�� 2 Application Server ���T�ɯŨ�o�檩�� 5�A�z�������U�C�B�J�C
- ��ʲ��� /usr/appserver �ؿ��3 Application Server �M�˳n��H�Ѱ��w���H���������G
pkgrm SUNWascmnse SUNWaslb SUNWasut ...
�䤤������M�˳n��i�ϥΤU�C��O��o�G
pkginfo -i|grep -i application server
���G3�|�]�t�Ҧp�H�U���M�˳n��G
SUNWasacee�BSUNWascmnse�BSUNWasu�BSUNWasuee�BSUNWasac�BSUNWascmn�BSUNWasdb�BSUNWasdem�BSUNWasdemdb�BSUNWasr�BSUNWasut�BSUNWasman�BSUNWasjdoc
�]�i��]�t���g�ƮM�˳n��G
SUNWLocaleasacee�BSUNWLocaleascmnse�BSUNWLocaleasu�BSUNWLocaleasuee
- �p�G�w�g�ϥΤF�H���������A�ЧR������T�G
rm /usr/appserver/domains
���ҥثe������T
�z�i��J�U�C��O������ Application Server ���ثe�����G
AppServer7-base/bin/asadmin version --verbose
�аѾ\�� 11-5 ��o������X�C
�ɯ� Application Server �̩ۨ�
�ɯ� Application Server �̩ۨʻݭn�N Application Server �̥ۨB���W���Ҧ��o�檩�� 2 ����ɯŨ�o�檩�� 5�A�S�O�O Message Queue �M�@�Τ���C��O�A�b�i��ɯŵ{�Ǵv��AJava ES �w�˵{���|�۰ʤɯŦ@�Τ��� (�аѾ\�ɯŵ{��)�C
���~�A�ɯ� Application Server �ݭn�w�˵o�檩�� 5 Application Server �̪ۨ� HADB �M Java DB�C��O�A�b�i��ɯŵ{�Ǵv��AJava ES �w�˵{���|�۰ʿ��M�w�˳o�Dz��~���� (�аѾ\�ɯŵ{��)�C
�@��Ө��A��ɯ� Application Server �̩ۨʮɡA�b�z�ɯ� Application Server ���e�A3�H�U�C���� (��L���i��w�g�ɯŪ�����) ���C��O�A�ɯ� Application Server �ɡA�@�Τ��ɯŻP HADB �M Java DB ���w�˳q�`�i�� Java ES �w�˵{���۰ʰ��C
- �@�Τ���C �b�ɯ� Java ES �@�Τ��������ѤF�N Java ES �@�Τ���P�o�檩�� 5 �P�B����ܡC��O�A��z�N Application Server �ɯŨ�o�檩�� 5 �ɡAApplication Server �һݭn���Ҧ��@�Τ���|�� Java ES �w�˵{���۰ʤɯšC
- Message Queue�C �аѾ\�q Java ES �o�檩�� 2 �ɯ� Message Queue�CMessage Queue �L�k�ϥ� Java ES �w�˵{���q�o�檩�� 2 �ɯšC
- High Availability Session Store (HADB)�C HADB �����s�w�˷|��ɯ� Application Server �ɥ� Java ES �w�˵{�����C
- Java DB�C Java DB �����s�w�˷|��ɯ� Application Server �ɥ� Java ES �w�˵{�����C
- Web �e���n�� (�D�w�ʤɯŬ̩ۨ�)�C �аѾ\�q Java ES �o�檩�� 2 �ɯ� Web Server�C
�ƥ� Application Server ���
Application Server �q�o�檩�� 2 ��o�檩�� 5 ���ɯŤ��мg�o�檩�� 2 ���t�m��ơC��O�A���F�w���_���A�b�ɯŨ�o�檩�� 5 ���e�A3�ӳƥ�㪺 domains �ؿ�G
��o���n���t�m��T�M�K�X
�z3�Ӫ��D���ثe�w�˪������U�C��T�G
�ɯŵo�檩�� 2 Application Server
���`�Q�v�T Application Server �ɯŵ{�Ǫ��`�N�ƶ��A���۴��ѹ�{�ǥ���������C
�ɯŪ`�N�ƶ�
�N Application Server �n��ɯŨ� Java ES �o�檩�� 5 �ɭn�Ҽ{�U�C�`�N�ƶ��G
�ɯŵ{��
�U�z�{�ǾA�Ω�����ɯŪ��q������W���Ҧ� Application Server ��ҡC
- �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
su -
- �p�G�w�N Java ES �@�Τ���ɯŨ�o�檩�� 5 (�S�O�O�N J2SE �ɯŨ� JDK 1.5)�A�ӵo�檩�� 2 Application Server ���b��椤�A�h�нs�� asenv.conf �ɮץH������V JDK 1.4�C
AS_JAVA=/usr/java
�p�G asenv.conf ���b�ѷ� JDK 1.5�A�h�L�k�� Application Server (�p�U���B�J 3)�C
- ����Ҧ� Application Server �M����{�ǡC
AppServer7-base/bin/asadmin stop-appserv domainName
- �w�˵o�檩�� 5 Application Server�C
���U�C�B�J�G
- �b�N�o�檩�� 2 Application Server ���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) Application Server ���|��ܬ��i�q�o�檩�� 2 �ɯšC
- �q����������� Application Server�C
��ܦܤ֦w�˫e�T�Ӥl����A�]�A�u�`�I�N�z�{���v����C
- �� [�U�@�B]�C
�p�G�|���N Message Queue �ɯŨ�o�檩�� 5�A�|�X�{�@�ӿ�~�T����n�D�z�ɯ� Message Queue�C�b�����p�U�A�� [�T�w] �äɯ� Message Queue�C�{�Ǧp�ɯŵo�檩�� 2 Message Queue ���ҭz�C
- ��w�P�w�˵o�檩�� 2 Application Server ���ؿ�P���w�˥ؿ�C
- ��� [�H��t�m] �ﶵ�C
�Ƶ�
�p�G�z�ϥΪ��O Solaris 9 OS �t���H���� Application Server �����A�B�q���ϥιL������ (�|���إߥ�����T)�A�h�z�i�H��� [�ߧY�t�m] �ìٲ��B�J 5 �Ϋ���B�J�C
- �p�����n�A�п��w�˥��g�ƮM�˳n�骺�ﶵ�C
- �w�˧����ɵ��� Java ES �w�˵{���C
- ���H�U�w�˫�{�ǡG
- ��� Java ES �o�檩�� 5 �o�檫�� Application Server �u��ؿ� postInstall Ū���ɮסG
Java ES Release 5 distribution/os_arch/Product/application_svr/Tools
�䤤 os_arch �P�z�Ҧb���x�۲šA�Ҧp Solaris_sparc�C
- �аѾ\ ReadMe �ɮרð�� postInstall �{���ɡC
cd Java ES Release 5 distribution/os_arch/Product/application_svr/Tools
./postInstall AppServer8Install-base AppServer8Config-base�o�ǵ{���ɷ|�q�w�˴v��Ҧw�˪��d���t�m�ëإ� AppServer8-base/bin/* shell �{���ɩM�@�� config/asenv.conf �ɮסC(Java ES �w�˵{���q�`�|�إ� bin/* shell �{���ɡA��p�G��� [�H��t�m]�A�h������ӻ���覡�إߥ��̡C)
�Ƶ�
��z�N Application Server �ɯŨ�o�檩�� 5 �ɡA�|�N�D�z�s���� 8080 (�w�]) �M 8181 (�w��) �0t�� Domain Administration Server (DAS)�C�o�dzs���𪺫�w�i��|�P�0t���o�檩�� 2 Application Server ��Ҫ��s����Ĭ�C�p�G�J��o�ر��ΡA�z�����ܧ� DAS �s����H�קK�Ĭ�C�p�ݻ���A�аѾ\�uSun Java System Application Server Enterprise Edition 8.2 �z��n�v(http://docs.sun.com/doc/820-0848) ������ק� http ��ť�{���ݩʪ����`�C
- �Y�ݭn�A�Эק� AppServer8-base/config/asenv.conf �ɮפ�����ҳ]�w�C
�z������ʽs��o���ɮסC
�Ƶ�
�Y�n�t�m Application Server �H�ϥέt��ť\��A�аѾ\�uSun Java System Application Server Enterprise Edition 8.2 ���i�Ωʺz��n�v���uApplication Server ���i�Ωʥ\��v�@�������u�� HTTP �t��Űt�m Web ��A���v�@�` (http://docs.sun.com/doc/820-0852)�C
- ��� asupgrade ���ε{���C
asupgrade ���ε{���|�إߤ@�ӵo�檩�� 5 �`�I�N�z�{���A�ΨӾE���o�檩�� 2 Application Server ��ҡC
�Ӥ��ε{����� Application Server �ؿ�U�A�Ҧp�G
- �ɯź��F�Ҧ��GAppServer8-base/bin/asupgrade
- �ɯťD���x�Ҧ��GAppServer8-base/bin/asupgrade -c
�ɯź��F�ΤɯťD���x�N�|�ɱz������ӤɯŨB�J�C
- �w�����T���E���ХܥؼлP�ӷ��ؿ�G
- ���ѵo�檩�� 2 Application Server ���z�ϥΪ̡B�z�K�X�M�D�K�X�C
�p�G�n�D�z��J�D�K�X�A�Ы�w changeit�A�p�G�z�ϥΪ��D�K�X���O changeit �����_�w�A�h3�N�K�X�ܧ� changeit�C
jdk-home/bin/keytool -storepasswd -new changeit -keystore keystore -storepass oldpasswd
�p�ݦ��� Application Server asupgrade ���ε{������h��T�A�аѾ\�uSun Java System Application Server Enterprise Edition 8.2 Reference Manual�v(http://docs.sun.com/doc/819-4736) �P�uSun Java System Application Server Enterprise Edition 8.2 Upgrade and Migration Guide�v(http://docs.sun.com/doc/819-4737/6n6sao3ju?a=view) �����ϥΪ̫�O���`�C
- �p�G�z�w�g���s�ɦV�B�J 2 ���� asenv.conf �ɮסA�бN��_�쬰��V JDK 1.5�C
AS_JAVA=/usr/jdk/entsys-j2se
�p�G asenv.conf ���b�ѷ� JDK 1.4�A�h�L�k�Ұ� Application Server (�p�U���B�J 8 �M�B�J 9)�C
- �Ұ� Domain Administration Server (DAS)�C
AppServer8-base/bin/asadmin start-domain --user admin_ID
domainName- ���s�ҰʤɯŪ� Application Server ��ҡC
���覡�O�ҰʾE�����w�ɯ� Application Server ��ҩ��ݪ��`�I�N�z�{���C
AppServer8-base/bin/asadmin start-node-agent --user admin_ID
nodeagentName�䤤 nodeagentName ���Φ��� hostName_domainName�A��²��w�]�� hostName�C
���Ҥɯ�
�Ұ� [�z�D���x] �����ҳo�Ǧ�A���w�ҰʡC�p�G�����@�Ӧ�A��������A�h���ˬd�U�C�O���ɬO�_���]���s����Ĭ�y�������ġG
�p�G���s����Ĭ�y�������ѡA�Шϥ� [�z�D���x] �ק�s���H��Ĭ�A�M�ᰱ��í��s�Ұʸ`�I�N�z�{���C
�z�i��J�U�C��O���� Application Server �O�_�ɯŨ�o�檩�� 5�G
AppServer8-base/bin/asadmin version --verbose
�аѾ\�� 11-5 ������X�ȡC
�ɯū�@�~
���F�ɯŵ{�����y�z���B�J�H�~�A�z�٥�������Ӥɯū�@�~�G
�� JSS ���ѷ�
�Y�n�� Application Server �ѷӥ��T������ JSS �@�Τ���A�z�����ΥH�U��m�� Application Server domain.xml �ɮפ��� jss4.jar ��N jss3.jar�G
AppServer8Config-base/domains/domainName/config/domain.xml
�E���o�檩�� 2 J2EE ����
�z�����E���o�檩�� 2 J2EE �����3�ε{���A�H�b�o�檩�� 5 Application Server ��Ҥ����A�ñN���̭��s���p��A�? Application Server ��ҡC�p�����E�� J2EE �����3�ε{������h��T�A�аѾ\�uApplication Server Enterprise Edition 8.2 Upgrade and Migration Guide�v������ 4 �� (http://docs.sun.com/doc/819-4737)�C
�^�_�ɯ�
�o�檩�� 5 Application Server ���^�Фɯŵ{�ǥu�O�N�o�檩�� 5 �_�쬰Application Server ���o�檩�� 2 �����A�ɯŨ�o�檩�� 4 �ɥ������o�檩�� 2 �����C
�b Solaris 10 �h���ϰ���Ҥ��ɯ� Solaris �H���� Application ServerSolaris 10 OS �H���� Application Server (�H�� Application Server �Ҩ̦s�� Message Queue)�C���D�q����ϰ줤�����A�_�h��إߦ����ϰ�ɡA�|�N�H���� Application Server �ǻ��ܫD����ϰ�C�b�Ҧ��ϰ줤�s�b���H���� Application Server �|�v�T Application Server ����ɯŨ�o�檩�� 5�G
���ѤF�H�U�d�ҨӰO��b Solaris 10 �h���ϰ���Ҥ��ɯ� Application Server �ɩҲo�A���@�DzӷL���B�C(�p�ݦ��� Java ES �M Solaris 10 �ϰ쪺��ԲӪ����СA�аѾ\ Java ES 5 �ɯŻP Solaris 10 �ϰ��C)
�d�Ҥ����ؼЬO�b Solaris 10 �}���ڰϰ줤�ɯŨ� Solaris �H�����o�檩�� 5 Application Server (���� 8.0.0_01)�C
�z�L�k�b�}���ڰϰ줤�����ɯ� Application Server�A�]�� Solaris �H���� Application Server �w�w�˨�q����ϰ줤�����Ū�ؿ�C�]���A�Y�n�N�}���ڰϰ줤�� Application Server �ɯŨ�o�檩�� 5�A�z���������ϰ줤���H�������C
���~�AMessage Queue �|�w�˨����ϰ줤�A�o�P��ڦ��Ұ���A�]���@�뱡�p�U�u���@�Τ��� (�D���~����) �~�|�w�˨����ϰ줤�C�o�O�]���ѩ��Ū�ؿ���Y�A�b�}���ڰϰ줤�L�k�w�˩Τɯ� Message Queue�C
�b Solaris 10 �}���ڰϰ줤�N Solaris �H���� Application Server (���� 8.0.0_01) �ɯŨ�o�檩�� 5 ���{�Ǧp�U�G
- ���Ҩt�Ϊ���l���A�C
���d�Ұ��]����z��w�g�t�m�B�w�ˤαҰʤF�t�}���ڰϰ쪺 Solaris 10 �������C
�}���ڰϰ�]�t�w�w�˩����ϰ줤���Ҧ� Java ES ����A��Y�H���� Solaris 10 �� Message Queue �M Application Server �������C
���~�A�d�Ұ��]�ϥΪ̤��e�w�b�}���ڰϰ줤�ϥΤF�H���� Application Server�A�B�w�إݭn�O�d���z����T�C
- �b����ϰ줤�ɯ��H���� Application Server �����C
���@�~�N�����H���� Application Server �M�˳n��åεo�檩�� 5 �M�˳n��Ө�N���̡C�������H���M�˳n��|�ǻ���}���ڰϰ�A�b�}���ڰϰ줤���ĸѰ��w�� Application Server �M�˳n��A��o�檩�� 5 �M�˳n�餣�|�ǻ���D����ϰ줤�C
- �b����ϰ줤��� Java ES �w�˵{���C
- �b����������� Application Server�C
�N�|�۰ʿ�� Message Queue�BHADB �M Java DB�A�ñN Application Server �M Message Queue �аO���i�ɯšC
- �����ɯšC
�o�檩�� 5 Message Queue �|�ǻ���}���ڰϰ�A�� Application Server�BHADB �� Java DB ���|�ǻ��C���~�A�Ҧ��@�Τ���|�P�o�檩�� 5 �P�B�A�öǻ���}���ڰϰ�C
- �b�}���ڰϰ줤�w�� Application Server�C