Sun Java logo     �W�@��      �ؿ�      �d�      �U�@��     

Sun logo
�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


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

Application Server ���

�U����ܥi���ɯ� Application Server �n��v�T����������C

�� 11-4  Application Server ��ƥγ~ 

�������

��m

�γ~

����ܼ�

AppServer8-base/config/asenv.conf

�����ܼ�

�t�m���

�o�檩�� 3�B�o�檩�� 4 �M�o�檩�� 5�G
domain.xml �M server.policy �ɮסA���
AppServer8Config-base/domains/domainName/config ��

�o�檩�� 2�G
server.xml �M server.policy �ɮסA���
AppServer7Config-base/domains/domainName/
instanceName
/config

Application Server ��Ҫ��t�m

���p���

�o�檩�� 3�B�o�檩�� 4 �M�o�檩�� 5�G
AppServer8Config-base/domains/domainName/
applications

�o�檩�� 2�G
AppServer7Config-base/domains/domainName/
instanceName
/applications

�t�m J2EE �e���A�Ω�S�w�� J2EE �����3�ε{��

�s��O����

�o�檩�� 3�B�o�檩�� 4 �M�o�檩�� 5�G
AppServer8Config-base/domains/domainName/
logs/access/
�]�t����ɮסG
server_acces_log �M _asadmin_access_log

�o�檩�� 2�G
AppServer7Config-base/domains/domainName/
instanceName
/logs/access

�s��O��

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

��ɯ�

�b��ɯŤ��AApplication Server �P�@�~�t�Χ��|�i��ɯ� (�p��ɯšJ Java ES �P�@�~�t�γn�����ҭz)�A�o�ؤɯťi�ĥΤU�C��ؤ覡���@�Ӱ��G

���s�w�˧@�~�t��
  1. �ƥ�{���� Application Server ��ơC
  2. �p�ݥ��n��ƪ���m�A�аѾ\ Application Server ����C

  3. �w�˷s���@�~�t�ΡC
  4. �u��b�P�@�x�q���w�˧@�~�t�ΡA���|���л\�{�����ɮרt�ΡC

  5. �_���B�J 1 ���ҳƥ� Application Server ��ơC
  6. �w�˵o�檩�� 5 Application Server�C
  7. �Юھ��B�J 1 ���ҳƥ� Application Server ��ƪ����A�ϥΥ�������ɯŤp�`���ҭz���{�ǡC

��a�ɯŧ@�~�t��
  1. �ƥ�{���� Application Server ��ơC
  2. �p�ݥ��n��ƪ���m�A�аѾ\ Application Server ����C

  3. �ɯŧ@�~�t�ΡC
  4. �ɯŮɷ|��˫O�d�{�����ɮרt�ΡC

  5. �ɯŨ�o�檩�� 5 Application Server�C
  6. �ЮھڤɯŸ�|�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

�ɯŵ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

�ɯ� 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

  1. �@�Τ���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
  2. Message Queue�C  �b�� 10 ���uMessage Queue�v�����ѤF�N Message Queue �ɯŨ�o�檩�� 5 ����ܡC
  3. High Availability Session Store (HADB)�C  �b�� 9 ���uHigh Availability Session Store�v�����ѤF�ɯ� HADB ����ܡC
  4. Java DB�C  �b�� 8 ���uJava DB�v�����ѤF�ɯ� Java DB ����ܡC
  5. 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

  1. �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
  2. su -

  3. ��n�ɯŪ� Application Server ��Ҥ����b��檺�Ҧ� J2EE ����C
  4. ����n�ɯŤ��q���W���Ҧ� Application Server ��ҡC
    1. ����Ҧ���椤���`�I�N�z�{���C
    2. AppServer8-base/bin/asadmin stop-node-agent --user admin_ID
           nodeagentName

      �䤤 nodeagentName ���Φ��� hostName_domainName�A��²��w�]�� hostName�C

    3. ���� Domain Administration Server (DAS)�C
    4. AppServer8-base/bin/asadmin stop-domain --user admin_ID
           domainName

    5. ���� PointBase ��Ʈw��A�� (�p�G���b�ϥΤ�)�C
    6. AppServer8Config-base/appserver/pointbase/tools/stopserver.sh

  5. �Ұ� Java ES �w�˵{���C
  6. 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)

  7. �b����������� Application Server�C
  8. �]�|�۰ʿ��w�ʤɯŬ̩ۨʡBMessage Queue�BHADB �M Java DB �H�i��ɯšC

  9. ��� [�ߧY�t�m]�C
  10. ��w�ШD���t�m�ȡC
  11. �z�N�|�ݨ�@�ǰt�m���O�C

  12. �T�{�ɯſ�ܡC
  13. �N�|�ɯ� Application Server �M�˳n�� (�p�����n�A�]�|�ɯ� Message Queue�BHADB �M Java DB ���M�˳n��) ����ܤɯźK�n�C

  14. ���� Java ES �w�˵{���C
  15. ���s�Ұʤɯū᪺ Domain Administration Server (DAS)�C
  16. AppServer8-base/bin/asadmin start-domain --user admin_ID
         domainName

  17. ���s�Ұʧ�s�� Application Server ��ҡC
  18. 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

²��

�N Java ES Application Server �q�o�檩�� 2 �ɯŨ�o�檩�� 5 �ɡA�ЦҼ{�ɯŵ{�Ǫ��U�C�h���G

�ɯŵ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

  1. ��ʲ��� /usr/appserver �ؿ��3 Application Server �M�˳n��H�Ѱ��w���H���������G
  2. 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

  3. �p�G�w�g�ϥΤF�H���������A�ЧR������T�G
  4. 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

  1. �@�Τ���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

  2. �Ƶ�

    �N�@�Τ���ɯŨ�o�檩�� 5 �]�A�N J2SE �ɯŨ� JDK ���� 1.5�A�o�檩�� 2 Application Server ���䴩���ɯšC�]���A�b�ɯŦ@�Τ��󤧫e�A�z3�ӥ���o�檩�� 2 Application Server�C��ϥ� Java ES �w�˵{���Ӧw�˩Τɯť�� Java ES ���~���� (�Ҧp Directory Server�BMessage Queue�BHADB�BJava DB �Ψ�L����) �ɡA�|�N�@�Τ���ɯŨ�o�檩�� 5�C


  3. Message Queue�C   �аѾ\�q Java ES �o�檩�� 2 �ɯ� Message Queue�CMessage Queue �L�k�ϥ� Java ES �w�˵{���q�o�檩�� 2 �ɯšC
  4. High Availability Session Store (HADB)�C   HADB �����s�w�˷|��ɯ� Application Server �ɥ� Java ES �w�˵{�����C
  5. Java DB�C   Java DB �����s�w�˷|��ɯ� Application Server �ɥ� Java ES �w�˵{�����C
  6. 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

  1. �ХH�W�ŨϥΪ̨���n�J�Φ����W�ŨϥΪ̡C
  2. su -

  3. �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
  4. AS_JAVA=/usr/java

    �p�G asenv.conf ���b�ѷ� JDK 1.5�A�h�L�k�� Application Server (�p�U���B�J 3)�C

  5. ����Ҧ� Application Server �M����{�ǡC
  6. AppServer7-base/bin/asadmin stop-appserv domainName

  7. �w�˵o�檩�� 5 Application Server�C
  8. ���U�C�B�J�G

    1. �b�N�޵o�檩�� 2 Application Server ���q���W�Ұ� Java ES �w�˵{���C
    2. 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

    3. �q����������� Application Server�C
    4. ��ܦܤ֦w�˫e�T�Ӥl����A�]�A�u�`�I�N�z�{���v����C

    5. �� [�U�@�B]�C
    6. �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

    7. ��w�P�w�˵o�檩�� 2 Application Server ���ؿ�P���w�˥ؿ�C
    8. ��� [�H��t�m] �ﶵ�C

    9. �Ƶ�

      �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


    10. �p�����n�A�п��w�˥��g�ƮM�˳n�骺�ﶵ�C
    11. �w�˧����ɵ��� Java ES �w�˵{���C
  9. ���H�U�w�˫�{�ǡG
    1. ��� Java ES �o�檩�� 5 �o�檫�� Application Server �u��ؿ� postInstall Ū���ɮסG
    2. Java ES Release 5 distribution/os_arch/Product/application_svr/Tools

      �䤤 os_arch �P�z�Ҧb���x�۲šA�Ҧp Solaris_sparc�C

    3. �аѾ\ ReadMe �ɮרð�� postInstall �{���ɡC
    4. 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


    5. �Y�ݭn�A�Эק� AppServer8-base/config/asenv.conf �ɮפ�����ҳ]�w�C
    6. �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


  10. ��� asupgrade ���ε{���C
  11. 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�GAppServer7-base
      • �o�檩�� 5�GAppServerConfig8-base/domains
    • ���ѵ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

  12. �p�G�z�w�g���s�ɦV�B�J 2 ���� asenv.conf �ɮסA�бN��_�쬰��V JDK 1.5�C
  13. 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

  14. �Ұ� Domain Administration Server (DAS)�C
  15. AppServer8-base/bin/asadmin start-domain --user admin_ID
         domainName

  16. ���s�ҰʤɯŪ� Application Server ��ҡC
  17. ���覡�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 Server

Solaris 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

  1. ���Ҩt�Ϊ���l���A�C
  2. ���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

  3. �b����ϰ줤�ɯ��H���� Application Server �����C
  4. ���@�~�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

    1. �b����ϰ줤��� Java ES �w�˵{���C
    2. �b����������� Application Server�C
    3. �N�|�۰ʿ�� Message Queue�BHADB �M Java DB�A�ñN Application Server �M Message Queue �аO���i�ɯšC

    4. �����ɯšC
    5. �o�檩�� 5 Message Queue �|�ǻ���}���ڰϰ�A�� Application Server�BHADB �� Java DB ���|�ǻ��C���~�A�Ҧ��@�Τ���|�P�o�檩�� 5 �P�B�A�öǻ���}���ڰϰ�C

  5. �b�}���ڰϰ줤�w�� Application Server�C
    1. �b�}���ڰϰ줤��� Java ES �w�˵{���C
    2. �b����������� Application Server�C
    3. �p�G�۰ʿ��F Message Queue�A�Ш����A�p�G�S���۰ʿ�� HADB �M Java DB�A�п��̡C

    4. ���� Application Server ���w�ˡC
    5. ��� [�H��t�m] �H�Ϧw�˵{�Ǥ��|�мg����T�C

      �b�S���إߥ���쪺���p�U�A�z�i�H��� [�ߧY�t�m]�C



�W�@��      �ؿ�      �d�      �U�@��     


��󸹽X�G820-0891
2007 �~ 6 ��C  Copyright 2007 Sun Microsystems, Inc. ���v�Ҧ��C