Sun ONE Application Server 7 �����`�N�ƶ�

Sun™ ONE Application Server 7 �����`�N�ƶ�

Version 7 Update 1

��󸹽X 817-3014-10

2003 �~ 10 ��

�o�Ǫ����`�N�ƶ��t�A�F�o�G Sun™ Open Network Environment (ONE) Application Server Version 7 Update 1 ���~�ɥi�Ϊ����n��T�C�P���٤��ФF�s�\��M�W�j�\��B�w�˪`�N�ƶ��B�w�����D�H�Ψ�L�̷s���D�C�b�}�l�ϥ� Sun ONE Application Server 7 Update 1 ���~���e�A�Х�\Ū�����M������C

�����]�t�H�U���`�G


Sun ONE Application Server 7 ���~���s�W�\��

���� Sun ONE Application Server 7 Update 1 ���~�s�W�\�઺��T�A�i�H�q Sun ONE Application Server ���u�s�W�\��v��󤤧��A�Ӥ����G


���x�K�n

���� Sun ONE Application Server 7 Update 1 ���~�䴩���x����T�A�i�H�q Sun ONE Application Server ���u���x�K�n�v��󤤧��A�Ӥ����G


������

�Ҧ� Sun Microsystems �����~�����󧡥i�H�b�H�U��m���G

���`�]�t�H�U�D�D�G

Sun ONE Application Server 7 ������

���o�Ǫ����`�N�ƶ����~�ASun ONE Application Server 7 Update 1 ���~�٧t�A�@��M������CUpdate 1 ��󪺤�󸹽X�P Sun ONE Application Server ���~�̪쪩������󪺤�󸹽X���P�C


�`�N

���Ǥ��i��|�b�o�� Sun ONE Application Server 7 Update 1 ����A�o�G�A�]�Ӧp�G���B�C�X�����b Sun �����������䤣��A�ХH��A��C

�p�G�o�{���j���D�A�i��|�׭q���C�b�o�ر��p�U�A�׭q�����|�o�G�b����W�C�̫�@����s����qN��ܦb�Ӥ�� HTML �����e�����k�W���C


Sun ONE Application Server 7 Update 1 ���i�b�H�U��m���G

�U�����M�洣�ѤF Sun ONE Application Server ���X���C�Ӥ�󪺤�󸹽X�M²�n����G

�Ѧһ�����

�b Sun ONE Application Server �����󤤸g�`�ѦҪ���L Sun ONE ���~������C

Sun ONE Message Queue ������

�P Sun ONE Application Server ��X�� Sun ONE Message Queue (�Y iPlanet Message Queue) �l�t����M��������A�i�b�H�U��m���G

Sun ONE Studio 4 ������

�H���� Sun ONE Application Server �� Sun ONE Studio 4 Enterprise Edition ���~����M��������A�i�b�H�U��m���C


�i�s���

Sun ONE Application Server ���~�����󪺮榡���i�s��榡�A�z�L���U�޳N�K�iŪ��C

�����~���Ѧh�إi�s��ʥ\��A�i��z�ξA��K�aŪ��M�ϥβ��~�C�o�ǥ\��]�A�G

�p�G�n�ק� Sun ONE Application Server HTML �u�W����A�i�H��������ؿ�ýs��˦���A�Ӽ˦�����Gserver_root/lib/install/applications/admingui/adminGUI_war/help

���s�Ұʺ޲z��A���A�H���ܧ�ͮġC


�n��M�w��ݨD

���� Sun ONE Application Server 7 Update 1 ���~�����x�ݨD��T�A�i�H�b�uSun ONE Application Server ���x�K�n�v��󤤧��A�������G

�U�?�A�F Sun ONE Application Server ���ݨD�C

�@�~�t��

�[�c

�̤p�O����

��ij���O����

�̤p�Ϻ��Ŷ�

��ij���Ϻ��Ŷ�

UNIX

  • �Ω� SPARC® �� Sun Solaris 8 �� 9

32 �M 64 �줸

256 MB (���a Sun ONE Studio)

512 MB (�a�� Sun ONE Studio)

512 MB

250 MB �i�ΪŶ�

500 MB �i�ΪŶ�

  • Sun Solaris x86 Version 9, Update 2 (�ȭ��� Solaris �H���n��M Sun Java Enterprise System)

32 �줸

Microsoft Windows

  • Windows 2000 Advanced Server, SP2
  • Windows 2000 Server, SP2
  • Windows 2000 Professional, SP2
  • Windows XP Professional

Intel 32 �줸

256 MB (���a Sun ONE Studio)

256 MB (�a�� Sun ONE Studio)

256 MB (���a Sun ONE Studio)

512 MB (�a�� Sun ONE Studio)

250 MB �i�ΪŶ�

500 MB �i�ΪŶ�

Solaris �׸ɵ{��

Solaris 8 �ϥΪ̥����w�� Sun ��ij���׸ɵ{���O���A�b���H�U��m���u��ij���w���׸ɵ{���v�U�i���ӭ׸ɵ{���O���G

Solaris 8 ���ݪ��׸ɵ{���O 109326-06�B108827-26 �H�� 110934 (�i�H�O��󪩥��A�ȥΩ���M�˳n�骺�w��)�C�w�˵{���|�ˬd�O�_���o�ǭ׸ɵ{���A�p�G�S���A�N�L�k�w�˩ΰ�� Sun ONE Application Server �n��C�o�ǭ׸ɵ{���w�]�t�b��ij���̷s�׸ɵ{���O�����C


�ɯŪ`�N�ƶ�

�p�G�z�n�N Sun ONE Application Server 7 ���{�������ɯŬ� Sun ONE Application Server 7 Update 1�A�h�n�b�U���W���ɯ��k���ɮסC����ɯŨ� Sun ONE Application Server Update 1 �����㻡��A�]�t�b���H�U��m���uSun ONE Application Server Update 1 �w�˫�n�v���G


�w�ѨM�����D

���`�C�X�F Sun ONE Application Server 7 Update 1 ���~���w�ѨM�����D�C

ID

�K�n

4717324

�Ӧ� RMI-IIOP �Τ�ݪ��w���ʸ�T���ǰe���A���C

4735625

�u�W�����p��ϥ� �޲z���� ��q�{���������$���M���C

4737808

�L�Ī� JAR �G�p�N�ɭP�O�H�x�b���T���C

4740476

�u�W����S�������羹�M�w��sĶ JSP �i�满��C

4742620

asadmin deploy ��O�����󤺮e�����T�C

4745637

�M�ɵ{���M��ܾ���k�W��ް_�Ѽƿ�~�C

4748351

�D����ݤW�h����M��D�����C

4755711

�b Sun ONE Application Server 7 �����3�ε{���ɡA�X�{ '<' ���L�Ĥ޼ơC

4756093

��A�����s�Ұʫ�A��w�G�p����� CMP ��3�ε{�����s�G�p���ѡC

4756981

�b�G�p�{�Ǥ��o�ͳ\�i�v���D�C

4758671

��ڤơGasadmin ����S�� JA �y����Ҫ��u�W���U���C

4764931

�G�p����ACMP 11 �M�ɵ{���o�ͭ��ơC

4765588

�N�z�~���{���t�m���]�w�B�J���ǽT�C

4766638

Sun ONE Studio 4 �~���{���w�˵e���򥢡C

4768721

�D�M�˳n��w�˨S����J libnspr_flt4.so�A�ɭP�į�U���C

4768847

�L�k�G�p�]�t�l�ؿ� EAR �ɮסC

4769194

Sun ONE Application Server 7 �xսsĶ JSP �ɡA�o�Ͳ��`���p�C

4770733

�b��ӿW�ߪ�椤�����n�a�֨�F CORBA Tie ����C

4770939

EJB �� Commit C �ﶵ�����IJv�C�U�C

4771005

�ϥ� ClientRequestInterceptor �ɡAPIORB �t�׫ܺC�C

4774848

�Τ�ݻ{�ҵL�k�q�L�N�z�~���{���@�~�C

4776350

com.sun.enterprise.util.Utility.getPropertiesFromFile �M JavaWebStart �@�_�ϥεo�Ϳ�~�C

4778410

�p�G�d�߭�������Ӷ��X��Y�A�h EJBQL ��v�N���ѡC

4782108

��ϥ� RequestDispatcher �I�s Web 3�ε{�������� servlet �ɡA�|�o�Ϳ�~�C

4783983

��ڤơG�ϥ� sendredirect �L�k���s�ɦV�ܤ���ɦW�� URL�C

4787940

�Τ�ݦb Sun ONE Application Server JVM �H�~�@���W��3�ε{�����ɡA�C�Ӱ���Τ�ݵ{���n�J�L�k���`�u�@�C

4811414

�w�]�������ɮרϱo�L�k�ϥ� IasUtilDelegate �̨ΤơC

4812427

��ڤơG�b Microsoft Windows �W�G�Ȧs�ؿ�H�^����ܡC

4812717

��ڤơG��s��T������ܭ^�孶���C

4813680

�q Sun ONE Web Server 6 �� Sun ONE Application Server 7 ���q�D���ॿ�`�@�~�C

4823065

��ڤơG�Ȧ��y�� (���O��a/�a��) �Ω��J�Y�Ǻ޲z�������C


�w�����D�M����

���`���� Sun ONE Application Server 7 Update 1 ���~���w�����D�M����ѨM��k�C


�`�N

�p�G���D�ԭz�����S�w�����x�A�h�Ҧ����x���i��X�{�����D�C


�o�Ǹ�T��p�U���`�i������G

�w�˩M�Ѱ��w��

���`���Фw�����w�˩M�Ѱ��w�ˤ譱�����D�H�ά���ѨM��סC

ID

�K�n

4403166

�b Microsoft Windows ���A�ʸ�/��|/3�ε{���W�٪�� 255 �Ӧr���N�ɭP�L�k�G�p3�ε{���C

�Ȧb Microsoft Windows ���A�ѩ� JDK ����A���䴩��ʸ�/��|�W�١C�b�G�p�v��A�G�p�u��|�xձq�k���ɮפ��^�����O�ɮסC�p�G�X�R���W�٦h�� 255 �Ӧr���A�^��N�|���ѡC

  • ��3�ε{���W�٪��d�ҡG

�W�� servlet_jsh_HttpServletRequestWrapper.ear �� J2EE 3�ε{���C

  • ��ʸ˦W�٪��d�ҡG

Servlet ���H�U�ʸˤ��G

servlet_jsh_HttpServletRequestWrapper_1\servlet_jsh_HttpServletRequestWrapper_servlet_war\WEB-INF\classes\tests\javax_servlet_http\HttpServletRequestWrapperHttpServletRequestWrapperConstructorTestServlet.class

  • ���|�W�٪��d�ҡG

Sun ONE Application Server �w�˸�|�� drive \:>Sun \ApplicationServer

�ѨM���

�ЦҶq�H�U�ѨM��סG

1.  �b�w�˴v��A�إ߸�u���ؿ�c�C�Ҧp�A�� drive:>App\ ��N�w�]�� drive:\>Sun\Apsserver7�C

2.  �ϥ� create_instance ��O���s�R�W��ҡA�H�Y�u�Y�ǦW�١C�Ҧp�A�i�H�N /instance1/domain1/ �ܧ� /i/d�C

3.  �ϥθ�u���ʸ˦W�١B��|�W�٩M3�ε{���W�١C

4687768

�b Solaris ���]�w SDK/JDK �ɡA�p�G�b�S�� Xwindows ����W�ϥΫ�O��Ҧ����w�ˡA�h�|���Ϳ�~�C

�b���]�t X Windows �{���w���[�T Solaris �t�ΤW�A�Y�ϬO�b��O��Ҧ��U�A�]�L�k��� Sun ONE Application Server �w�˵{���C�b��Ҥ� SetupSDK/Webstart ���F�w�˵{���ج[�ϥΪ� AWT ����ɡA�w�˵{���|�˱� java.lang.UnsatisfiedLinkError�C

�ѨM���

1.  ��Ȯɦw�� X Windows �䴩�M�˳n��A�b�w�� Sun ONE Application Server ���~����A�A�N��R���C

2.  �ϥ� pkgadd ��O�w�� Sun ONE Application Server �M�˳n��A�èϥ� asadmin ��O�إߪ�l���C

4719600

�w�˴v��X�{ĵ�i�T���C

�b�w�˴v��A�i��|�X�{�@�ǵL�Ī���~�T���C�Ҧp�G

ĵ�i�G�L�k�M���t�ΰ��n�]�w�Gjava.util.prefs.BackingStoreException�G�L�k��w�ɮסC
ĵ�i�G�L�k��w�t�ΰ��n�]�w�CUnix ��~�X -223460600�C

�ѨM���

�����o��ĵ�i�T���A�Ϊ̥i�H�إߤ@�Өt�ΰ��n�ؿ� (�@�묰 /etc/.java/.systemPrefs)�C�@��� JDK �w�˵{���ɧ��������@�~�C

4737663

�b Solaris ���A�p�G�P�ɦw�ˤF���M�˳n�骺�w�˩M�@��w�ˡA�N�|�o�ͽĬ�C

�p�G�P�ɦw�ˤF���M�˳n�骺�w�� (Solaris 9 �H��) �M���~���D�y�w�˵{�������A�h�s�b��b���Ĭ�C�o�Ǧw�˪� Sun ONE Message Queue �N�z�{�����i�H�@�ΡA�ҥH�p�G���M��Ҫ��W�٤��ߤ@�A�b�Ұʨ㦳�ۦP���/��ҦW�٪��ĤG�ӹ�ҮɡA�i��|�ݨ�H�U�T���G

�Y����~�GJMS5024�GJMS �A�ȱҰʥ��ѡC
�Y����~�GCORE5071�G�b��l�Ƶ{�Ǥ��X�{��~�C

�S�O�O�b�o��ئw�˪��w�]���M��ҦW�ٳ��ۦP�����p�U�C

�ѨM���

�Ы�ӡuSun ONE Application Server �޲z���n�v���uJMS �޲z�v�@������������C

4742038

�p�G�w�˥ؿ�]�t�D�r�<Ʀr���r���ASun ONE Application Server �N���|�ҰʡC

Sun ONE �p�G�w�˥ؿ�]�t�Ѧp #�B�Ů�Ψ�L�D�r�<Ʀr�r���A�h Application Server �N�L�k�ҰʡC�b�o�ر��p�U�A���|�إߦ�A����x�ɡCSun ONE Application Server �w�˥ؿ�ȥi�]�t�U�C�r���G�r�<Ʀr�B- (�}�鸹) �� _ (���u)�C���W�h�]�A�Ω�b�w�˵{�Ǥ���J�{���� Java 2 SDK �ؿ�C

�ѨM���

�b�w�˵{�Ǥ��A�Ы�w�@�Ӥ����W�ٶȥ]�t�r�<Ʀr�B�}�鸹�Ω��u�r�����ؿ�C

4742828

�R�Ħw�˵{�����ˬd�ϥΪ̳\�i�v�C

��M���ʦ��w�˵{�� (GUI �Ϋ�O��) �|�ˬd�O�_���A�?�ϥΪ̳\�i�v (Windows ���x�O�޲z�ϥΪ̡ASolaris ���M�˳n�骺�w�ˬO root �ϥΪ�)�A��b�R�Ħw�˵{�Ǥ�����榹�ˬd�C�]���A�᭱���w�˷|�]���z�S������\�i�v�Ӧw�ˮM�˳n�� (Solaris) �ΫإߪA�� (Microsoft Windows) �ӥ��ѡC

�ѨM���

�T�w�H�A�?�ϥΪ̨������R�Ħw�ˡC

4741190

��� Solaris �ӻ��A�w�˵{���|���� JDK_LOCATION �ȡA�Y�Ϧw�˦�m�]�t�ª����� (Solaris 1.2 ���e������)�C

Sun ONE Application Server 7 �n�D Java 2 SDK �������� 1.4.0_02 �Χ󰪡C��O�A�b Solaris ���A�p�G�ϥΪ̿�ܭ��ƨϥβ{���� Java 2 SDK (Solaris 1.2 ���e������)�A�w�˵{���i�ण�|���ĵ�i�T���C�w�˥i��|���Q�����A��O Sun ONE Application Server �i��L�k���`�@�~�C�o�O�]����Ҥ��w�g�� JAVA_HOME�C

�ѨM���

�b�Ұʦw�˵{�����e�A�Ш��]�w JAVA_HOME�A�p�U�ҥܡG

(On ksh):unset JAVA_HOME
(On csh):unsetenv JAVA_HOME

4742171

�b�{�������w�˰�¦�W�A�H�R�ļҦ��w�˶}�o�w�ˡA�S����i����~�C

�v�T�b�R�ļҦ��U��檺�w�˵{���C�p�G�ϥΪ̹xզb Sun ONE Application Server 7 (�b�ۦP���ؿ�) �{�������w�˰�¦�W�i��w�ˡA�R�Ħw�ˤ��|��i����~�A�åB�~�򥿱`���C�{�������w���ɮ׷|�O�d�U�ӡC

�ѨM���

�b�P�@��m�w�˷s���}�o�w�ˤ��e�A�иѰ��w�˲{�������w�ˡC

4742552

�b��O��M�R�ļҦ��U���P�@�w�˶��q�@�~���A�L�k���T�a��� Application Server �M Support for Sun ONE Studio 4, Enterprise Edition for Java �ե�C

�v�T�}�o�M�@�~���w�ˡC�b��O����R�ļҦ��U���w�ˮɡA�i�H��ܦb�P�@�Ӧw�˶��q�@�~���A�P�ɦw�� Application Server �M Support for Sun ONE Studio 4, Enterprise Edition for Java �ե� (�b GUI �Ҧ��U�A�o�Dzե�O������)�C�w�˵{���L�k���T�B�z�ե�̩ۨʡA�ùxզw�˺޲z�Τ�ݲե�A�Ӥ��O��� Sun ONE Application Server �ե�C

�ѨM���

���� GUI �Ҧ��A����b��O����R�ļҦ��U�w�� Sun ONE Application Server �ե�A�M�����L�w�ˡA�æw�� Support for Sun ONE Studio 4, Enterprise Edition for Java �ե�C

N/A

�b Solaris ���A�p�G Sun ONE Application Server �w�˵{���N�{���� Sun ONE Message Queue 3.0 �ɯŨ� 3.0.1�A�h�b�Ѱ��w�� Sun ONE Application Server �ɱN�����w�����w�ˡC

�v�T Solaris �}�o�M�@�~�w�˵{���C�p�G�b�t�ΤW�����w�w�˪� Sun ONE Message Queue 3.0�A�h�t�η|���z���Ѧ۰ʱN���w�ˤɯŨ쪩�� 3.0.1 ���ﶵ�C�p�G��ܦ��ﶵ�A�h�b�Ѱ��w�� Sun ONE Application Server �ɡA�N�Ѱ��w�ˤw���� Sun ONE Message Queue 3.0.1 �w�ˡC

�ѨM���

�Y�n�b�Ѱ��w�� Sun ONE Application Server ����O�d Sun ONE Message Queue �w�ˡA�СG

1.  �b�ù���ܦ۰ʤɯſﶵ�ɡA����w�˵{���C

2.  �̾� Sun ONE Message Queue ������A�N Sun ONE Message Queue �ɯŬ� 3.0.1 �����C

3.  �A����� Sun ONE Application Server �w�ˡC

4746410

�b Solaris ���A�Y�b�D�w�]��m�w�� Sun ONE Application Server�ASolaris �W���M�˳n�骺�w�˵{�����|�ˬd���T��m���ϺЪŶ��C

�xզb Solaris ���D�w�]��m�W�w�� Sun ONE Application Server �� (�ϥΰ��M�˳n�骺�w�˵{��)�A�w�˵{�����|�ˬd��w�ؼХؿ�ϺЪŶ��A�ӬO���ˬd�w�]��m���ϺЪŶ� (/opt)�C

�ѨM���

�}�l�w�˫e�A�нT�w /opt ��������ϺЪŶ� (85 MB)�A�Y�K�z������b /opt ���w�ˤ]�n������ϺЪŶ��C���~�A�нT�w�ؼХؿ�]������ϺЪŶ� (85 MB)�C

4748404

�b Microsoft Windows XP ���A�L�k�~��w��3�ε{���d�ҩM PointBase 4.2 �ե�C

�����D�|�v�T Windows XP ���x�C�p�G�xզb�w�w�� Sun ONE Application Server �ե󪺰�¦�W�A�~��w��3�ε{���d�ҩM/�� PointBase 4.2 �ե�A�w�˵{�����|���T�����{���� Sun ONE Application Server �w�ˡA�ó�i�u����� Application Server�v�C�w�˵L�k�~��i��C

�ѨM���

�b�w�� Sun ONE Application Server �ե�ɡA�w��3�ε{���d�ҩM PointBase 4.2 �ե�C�p�G�t�ΤW�w�g�w�� Sun ONE Application Server�A�иѰ��w�ˡA�M�᭫�s�w�ˡA�P�ɿ��Ҧ����ݪ��ե�C

4748455

�@��b�R�Ħw�˴v��A�|�o�ͥؿ��~�C

�����D�|�v�T�Ҧ����x�W���R�Ħw�ˡC�p�G�w�˵{���o�{���w���w�˥ؿ���D�A�|��i�@���~�T���u�w�˥ؿ�L���v�C�b�U�C���p�U�|�X�{����~�T���G

  • ���ؿ�i�g�J�C
  • ���ؿ�r�ꬰ�ũΥ]�t�Ů�r���C

�ѨM���

�ˬd�X�{�o��ر��p�ɩҴ��Ѫ��w�˥ؿ�A�H�T�w��~��]�C

4749033

�b Microsoft Windows XP �W�A�L�k�ϥθѰ��w�˵{���ӸѰ��w�˿W�ߪ��޲z�Τ�ݦw�ˡC

�����D�|�v�T�b Windows XP ���x�W���W�ߺ޲z�Τ�ݦw�ˡC�p�G�ϥΪ̹xճq�L���Ѫ��Ѱ��w�˵{���ӸѰ��w�˿W�ߪ��޲z�Τ�ݡA�h�Ѱ��w�˷|�xոѰ��w�ˤ@�դ����T���ե�A�M���a�m�C

�ѨM���

��ʸѰ��w�˿W�ߪ��޲z�Τ�ݡC3�ӧR�� install_dir �ؿ��ɮסC�P�ɡA��3�ӧR������ [�{���s�աv��Ƨ� ([�}�l] -> [�{����] -> [Sun Microsystems] -> [Sun ONE Application Server])�C�W�ߪ��޲z�Τ�ݲե�S������ Microsoft Windows �n��ءF�o�ǨB�J�|�N�t�Χ����_���w�˺޲z�Τ�ݤ��e�����A�C

4749666

�p�G�~��w��3�ε{���d�Ҳե�A�h�d�һ����󤣷|�o�G���l��A����ҡC

�����D�|�v�T�Ҧ����x�W���}�o�M�@�~�w�˵{���C�p�G�b�w�w�� Sun ONE Application Server ����¦�W�A���W���w�˶��q�@�~���w�˽d��3�ε{���A�h�d�һ����󤣷|�o�G���l��A����ҡA�åB�]�L�k�z�L http://hostname:port/samples URL �Ӧs��C���L�A������w�w�˨��ɮרt�ΤW�A�i�H�q����H�U��m�s��Gfile:///install_root/samples/index.html

�ѨM���

�b����s��d�һ�����C

4754256

�b Solaris ���A�w�˵{����� Sun ONE Message Queue �ɯŴv��A���|�O�d Sun ONE Message Queue �t�m�ɮסC

�p�G�b�t�ΤW�����{���� Sun ONE Message Queue 3.0 �M�˳n��A�w�˵{���|�N���w�ˤɯŨ� Sun ONE Application Server �i�H�ϥΪ� 3.0.1 �����C�b�ɯŴv��A�N�R���{���� 3.0 Solaris �M�˳n��A�o�|�ɭP�����U�C�t�m�ɮסG

/etc/imq/passwd
/etc/imq/accesscontrol.properties

�p�G�w�g�ק�o���ɮסA�ק�N�|�򥢡A�åB Sun ONE Message Queue 3.0.1 �w�˱N�]�t�w�]���t�m�ȡC

�ѨM���

�إߥѨϥΪ̭ק諸�Ҧ��ɮת��ƥ�ƥ��A�æb�ɯŤ���A�^�_�o���ɮת��ƥ�ƥ��C�Y�n��o��h�ԲӸ�ơA�аѾ\�uSun ONE Message Queue 3.0 �w�˫�n�v�C

4754824

�b Solaris ���A�q CD ���w�ˮɷ|�X�{�w�˵{����~�T���C

�N CD ���J CD-ROM ��о�ɡASolaris �ϺЮe��޲z�|�����w�U�@�ӲŸ��W�١C�Ҧp�A�p�G��� CD-ROM ���ŦX�w�]�����W��ܦ��A�h��W�٬� cdrom0 �M cdrom�C�Ҧ��ŦX�s�W���W��ܦ��� CD�A��W�ٳ��H cdrom2 �}�Y�C�ðO��b vold.conf �u�W���U���W�C�C���q CD �w�� Sun ONE Application Server �ɡACD-ROM �˸��I���|�b���ҦW�٫���[�@�ӼƦr�C�Ĥ@���˸� CD �ɡA�@�v��Q�C�b����˸�A�w�˵{���Ұʫ�|�X�{�H�U��~�T���G

IOException:java.io.FileNotFoundException:/cdrom/appserver7 (No such file or directory) while loading default flavormap.properties file URL:file:/cdrom/appserver7#4/AppServer7/pkg/jre/lib/flavormap.properties

�ѨM���

�w�˵{���\�ण�|�����v�T�C���L�A���M���ѨM��k�G

1.  �b��O���ܤU�A��J su ��O�H�� root �K�X�A�����W�ŨϥΪ̡A�Ϊ̥H root ����n�J�C��O���ܱN�ܧ󬰽S�Ÿ� (#)�C

2.  �p�G���s�b /cdrom �ؿ�A�п�J�U�C��O�ӫإߦ��ؿ�G

   # mkdir /cdrom

3.  �˸� CD-ROM ��о�C

�`�N�Gvold �{�Ƿ|�޲z CD-ROM ��о�ð��˸�CCD-ROM �i��|�۰ʸ˸�� /cdrom/cdrom0 �ؿ�C

�p�G���b����ɮ׺޲z�{���A�|���@�ӿW�ߪ� [�ɮ׺޲z�{��] ����� CD-ROM �����e�C

4.  �p�G /cdrom/cdrom0 �ؿ�]�S���˸� CD-ROM �Ӭ��šA�Ϊ��ɮ׺޲z�{���S���}����� CD-ROM ���e����A�п�J�U�C��O�A�H�T�{ vold �`�n�{���O�_�b���G

   # ps -e | grep vold | grep -v grep

5.  �p�G vold ���b���A�t�η|��� vold ���{���ѧO�X�C�p�G�t�Υ���ܥ�󤺮e�A��J�U�C��O�H�פ�`�n�{���G

   # ps -ef | grep vold | grep -v grep

6.  ��J�H�U��O�H���� vold �{�ǡG

   # kill -15 process_ID_number

7.  ��ʸ˸� CD-ROM�G

   # mount -F hsfs -r ro /dev/dsk/cxtyd0sz /cdrom/cdrom0

�䤤 x �O CD-ROM ��о����X�Ay �O CD-ROM ��о� SCSI ID ���X�Az �O CD-ROM �Ҧb�3ΰϪ��ϺФ�q�C

�{�b�A�w�g�˸�F CD-ROM ��о�C�аѦҡu�b Solaris �W�w�˩M�]�w CD 1�v�A�H��o�w�˵{�ǡC

4755165

�b Microsoft Windows ���A�p�G�Ȧb��� setup.exe �ɤ~���Ѻ޲z��ϥΪ̾��ҡA�w�˵{���\��|���v�T�C

�����D�|�v�T Microsoft Windows ���x�W���Ҧ��w�ˡC�p�G�ϥΪ̵n�J�ɤ���ƺ޲z��\�i�v�A�t�η|�b�L/�o�xհ�� setup.exe �ɡA���ܿ�J�޲z��ϥΪ̾��ҡC�p�G��J�����ҥ��T�A�w�˵{���N�q�L�ϥΪ̳\�i�v���ˬd�A���~����w�ˡC���L�A�Y�Ǧw�˵{���\��N�|���v�T�G

  • �p�G�b�w�˥ؿ���ù�W���F [�s��] ��s�A�w�˵{���N�|�a�m�C
  • �i�ण�|�إ� Sun ONE Application Server ���ت��{���s�ն��ءC

�ѨM���

���w�ˮɡA�ХH�㦳�޲z��\�i�v���ϥΪ̨���n�J�C

4757687

�b Solaris ���A�p�G�b��e�w�w�˺޲z�Τ�ݲե󪺨t�ΤW�~��w�� Sun ONE Application Server �ե�A�i��|�ɭP�w�˵L�k�ϥΡC

�����D�|�v�T�b Solaris ���x�W����� Solaris �M�˳n�骺�w�ˡC�p�G�ϥΪ̹xզb�w�w�˿W�ߺ޲z�Τ�ݲե󪺨t�ΤW�w�� Sun ONE Application Server �ե�A�åB���w�˥ؿ�P�̪�Ω�w�˺޲z�Τ�ݪ��ؿ�P�A�h�w�˫᪺ Sun ONE Application Server �N���i�ΡA�Y�ϳ�i�w�˦��\��O�p���C�o�O�]���w�˵{���N�b�t�ΤW�����w�w�˺޲z�Τ�� Solaris �M�˳n��A�]�����|�N��@�� Sun ONE Application Server �w�˪��@���(Ӧw�ˡC�ҥH�A�N�򥢹ﲣ�~�\��D�`���n���ɮסC

�ѨM���

�xզb�P�@�� Solaris �t�ΤW�w�� Sun ONE Application Server ���e�A��Ѱ��w�˿W�ߪ��޲z�Τ�ݡC

�Ϊ̡A�i�H�xհl�[�w�ˡA��O����w�� Sun ONE Application Server 3�ӨϥλP�w�˺޲z�Τ�ݬۦP���w�˥ؿ�C

4762118

�b Solaris ���A�p�G���ۭq�t�m�ؿ�O�ҿ�w�˥ؿ�l�ؿ�A�ú٧@ 'etc'�A�h�w�˷|���ѡC

�����D�|�v�T�b Solaris ���x�W����� Solaris �M�˳n�骺�w�ˡC�p�G�w�g���U�C�ۭq�ؿ��m���զX�A�w�˷|�]�ۦP�ؿ�s�թ��ݸ�T���@�P�ӥ��ѡG

  • �w�˥ؿ�Ginstall_dir
  • �t�m�ؿ�Ginstall_dir/etc

/var/sadm/install/logs �ؿ� pkgadd ��x�ɱN�]�t�H�U��~�T���G

pkgadd:��~�G���ƪ���|�W�� /install_dir/etc
pkgadd:��~�G�L�k�B�z pkgmap

�ѨM���

��ܤ@�Ӥ��P�� install_dir/etc ���ۭq�t�m�ؿ�C

4724612

�b Solaris ���A�p�G PointBase Shell �{���ɤ��O�Ѧw�˨ϥΪ̰�檺�A���N���ѡC

�����D�ȷ|�v�T Solaris �����w�ˡC�Ҧ� PointBase Shell �{���ɳ��]�w���ȥѦw�˨ϥΪ̰��C

�ѨM���

�p�G�w�˲��~�ϥΪ̥H�~���H��ݭn���o�ǵ{���ɡA�бN�\�i�v�ܧ� 0755�C

4762694

�b Solaris �W�A��ɯ� Message Queue �ɡA���|���� Sun ONE Message Queue �M�˳n�� SUNWiqsup�C

�Ȧ� Solaris �s�b�����D�CSun ONE Application Server 7 �w�˵{�ǥ]�A�w�� Sun ONE Message Queue 3.0.1 �����C�b Solaris ���A�p�G����� Sun ONE Message Queue 3.0 �����A�|��N��Ѱ��w�� (�ϥΪ̽T�{����)�A�M��A�w�� 3.0.1 �����C

���ɷ|���@�Ӥp���M�����D�G�@�����ɯŵ{�Ǫ��@���!ASolaris �w�˵{��3�ӧR�� Sun ONE Message Queue 3.0 ���@�� Solaris �M�˳n�� (SUNWiqsup)�A��O�o�S���R���C���L���M�˳n�骺�s�b�õL�jê�A�����|�v�T Sun ONE Message Queue �� Sun ONE Application Server 7�C

�ѨM���

�ϥΥH�U��O (�H root ����)�A��ʲ��� SUNWiqsup �M�˳n��G

# pkgrm SUNWiqsup

��A�����ҰʩM��

���`���Фw�����ҰʩM��譱�����D�H�ά���ѨM��סC

��x�A�� create-console �ݩʪ��欰

�b Microsoft Windows ���A�p�G�N server.xml �� log-service ���*� create-console �ݩʳ]�w�� True (�w�]��)�A�|�b�ୱ�W��ܤ@�ӵ�A�䤤��ܦ�A���ƥ��x�����e�C�G�N��ӵ��|�ɭP3�ε{����A����ҵ{�Ǫ��ä[�ʲפ�C��D���x��|�פ� appservd.exe �{�ǡA��O watchdog �{�� (appservd-wdog.exe) �|�ߧY���s�Ұʦ�A����ҵ{�ǡC

��}�o�̨ӻ��A���Ҫ��ƥ��x��i�H�@���ֳt���s�Ұ�3�ε{����A����Ҫ��@�ؤ�k�C

���L�A�Y�n��������3�ε{����A����� (�H�Φ��H�� watchdog �{��)�A�ШϥΥH�U��k���@�G

�Q�� [�޲z�D���x]�A�i�H�z�L�ק� [3�ε{����A�����] �� [��x] ���ҤU�� [�إߥD���x] �]�w�A�ӱҥ�/���ΥD���x�ƥ��x��C

ID

�K�n

4725893

Solaris �W����ܱ��v��x�T�C

�o�|�v�T Solaris �����v�C���v�N�n��� (��d骺 14 �ѥH��) ��ĵ�i��T�A���|�z�L��O�椶���M����s������i���i�C�ӬO��ܦb��A����x�ɤ��C

�ѨM���

�ˬd��A����x�ɡC

4738648

JMS �A��/Sun ONE Application Server �Ұʥ��ѡC

�p�G JMS ��3�� (Sun ONE Message Queue �N�z) ���j�q���e�X������ʰT���ASun ONE Application Server ��l�ƥi��|�]�U�C���D�ӥ��ѡG

1.  �xոˤJ�Ҧ��xm�T���ɡAMQ �N�z�{���i��|�O���餣���ä���C

�ѨM���

�� MQ �N�z�{���{�ǨϥΧ�h�� Java ���|�Ŷ��C�Y�n��榹�@�~�A�бN JMS �A�Ȫ� Start Arguments �ݩʳ]�w�� -vmargs -Xmx256m�C

�uSun ONE Application Server �޲z���n�v���u�ϥ� JMS �A�ȡv�@���N���г]�w���ݩʪ��{�ǡC

2.  �p�G MQ �N�z�{���b�S�w�ɶ����L�k�������l�ƧǦC�ASun ONE Application Server �N�|�O�ɨä���C

�ѨM���

�W�[ JMS �A�� Start Timeout �ݩʭȪ��j�p�C�uSun ONE Application Server �޲z���n�v���u�ϥ� JMS �A�ȡv�@���N���г]�w���ݩʪ��{�ǡC

4762420

������W�h�i��|�ɭP Sun ONE Application Server �Ұʥ��ѡC

�p�G�z�w�w�˭ӤH������A�i��|�J�즹���D�C�p�G�b�w�� Sun ONE Application Server ����W���Y�檺������W�h�A�h�i��|�ɭP�޲z��A���M3�ε{����A����ұҰʥ��ѡC�ר�O�A�޲z��A���M3�ε{����A����ҹxզb Sun ONE Application Server ��Ҥ��إߥ���s���C�]���o�dzs���xըϥΨt�ΥD��W�٦Ӥ��O����D��W�٨Ӧs��s����A�ҥH������W�h�i��|�����xաC

��������٥i��|�L�N������ĵ�ܡA�q���o�ͤF�uPortal of Doom Trojan�v��; (�Ҧp�A�b�s���� 3700 �W�xնi�� TCP �s��) �������;�A�ӹ�ڤW�o�Ǧs��xլO�� Sun ONE Application Server ��檺�A���|�����w���ʺc�����¯١C�b�Y�DZ��p�U�ASun ONE Application Server �Ω�U������q�T���s���𸹡A�i��|�P�w���`����;�ϥΪ��s���𸹬ۭ��|�C�X�{�����D���x��O�G

  • �ϥ� Microsoft Windows �{���s�ն��� [�Ұ�3�ε{����A��] �Ұ� Sun ONE Application Server ���xե��ѡA����ܥH�U�T���G

   �L�k�Ұʹ�ҡGdomain1:admin-server
   ��A���L�k�ҰʡG���`�l�{�Dzפ�
   ...

  • �޲z�M��A����Ҥ�x�ɥ]�t�s�����`��T�A�ê������T���GCORE3186�G�L�k�]�w�t�m

�ѨM���

�ק慨���𵦲��A���\ Sun ONE Application Server �xչ糧��t�ΤW���s����إ߳s���C

���קK�X�{���i���;�����ǽTĵ�ܡA�i�H�ק����W�h�A�Ϊ��ܧ� Sun ONE Application Server �ϥΪ��Ĭ�s���𸹡C

�Y�n�T�w�޲z��A���M3�ε{����A����ҨϥΪ��s���𸹡A�аѾ\ server.xml �ɮסA����� Sun ONE Application Server �w�˪��H�U��m�G

   domain_config_dir/domain1/admin-server/config/server.xml
   
domain_config_dir/domain1/server1/config/server.xml

�䤤 domain_config_dir �O��l��A���t�m����m�C�Ҧp�G

Microsoft Windows�Ginstall_dir/domains/...
Solaris 9 �H�ΤW������X�w�ˡG/var/appserver/domains/...
Solaris 8�B9 �H�ΤW�����D�H���w�ˡG/var/opt/SUNWappserver7/domains/...

�d�� <iiop-listener> �M <jms-service> ���$����s����]�w�C�i�H�N�o�dzs�����ܧ󬰨�L���ϥΪ��s���𸹡A�Ϊ̭ק慨���𵦲��A�H���\�����W���Τ�ݹxչ�P�@��W���o�dzs���𸹫إ߳s���C

4780076

�b Solaris ���ASun ONE Application Server �H root ����ҰʩҦ���ҡA�]���� root �H�~���ϥΪ̨㦳 root �s���v���C

�N Sun ONE Application Server �@�� Solaris �w�� (�H��) ���@���6i��w�ˮɡA�X�{�ƭӻP3�ε{����A���Ұʦ�����D�G

  • �b Solaris �t�αҰʴv��A�Ҧ�3�ε{����A����ҩM�޲z��A����ұN�۰ʱҰʡC�b�\�h��ҤU�A�ä��Ʊ�Ҧ���Ҧb Solaris �t�αҰʮɧ��۰ʱҰʡC�ҰʨC�өw�q����ҹ�t�ΤW���i�ΰO���馳���Q���v�T�C
  • ��3�ε{����A����ҩM�޲z��A����Ҧ۰ʱҰʮɡA�C�ӹ�Ҫ��Ұʵ{���ɳ��@�� root ���C�z�L�ק��Ҽh�Ū��Ұʵ{���ɡA���D root �֦�����ұҰʵ{���ɡA�i�H��D root �ϥΪ̦s�� root �ϥΪ̡C

�I��

�b�N Sun ONE Application Server �@�� Solaris �w�˪��@���6i��w�ˮɡA�N�w�� /etc/init.d/appserv �{���ɩM��V /etc/rc*.d/ �ؿ� S84appserv �� K05appserv �{���ɪ��Ÿ��s���C�o�ǵ{���ɥi�H�Ϥw�w�q��3�ε{����A���w�ˤ@���*��Ҧ�3�ε{���A�ȹ�ҩM�޲z��A����ҡA�b Solaris �t�αҰʩM���v��۰ʱҰʩM����C

/etc/init.d/appserv �{���ɥ]�t�H�U�{���X�Ϭq�G

...
case "$1" in
'start')
    /usr/sbin/asadmin start-appserv
    ;;
'stop')
    /usr/sbin/asadmin stop-appserv
    ;;
...

��� asadmin start-appserv ��O�i�H��Ҧ��޲z��줤�w�q���޲z��A����ҩM�Ҧ�3�ε{����A����ҡA�b Solaris �t�αҰʮɱҰʡC�]���t�αҰʩM��{���ɬO�@�� root �����檺�A�ҥH�C��3�ε{����A����ҩM�޲z��A����Ҥ]�N�H root ������C��Ҽh�űҰʵ{���ɦW�٬� startserv�A��� instance-dir/bin/startserv�C�]����Ҧ��i���ݩ� root �H�~���ϥΪ̡A�ҥH�D root �ϥΪ̥i�H�ק� startserv �{���ɡA�ӧ@�� root �ϥΪ̰���O�C

�p�G��Ҩϥα¤��S�v�����s����A�h��Ҫ� startserv �{���ɥ����H root ������C��O�b�o�ر��p�U�A�u�H�ϥΪ̨�����v�q�`�]�w�b��Ҫ��t�m���A�H�j���Ҧb�Ĥ@���� root �ϥΪ̱Ұʫ�A�n�ѫ�w�ϥΪ̰��C

(��)

�ѨM���

�Ш̾ڱz����ҡA���H�U�ѨM��k���@�G

  • �p�G�z����Ҥ��n�D�H root ����ҰʩҦ�3�ε{����A����ҩM�޲z��A����ҡA�h3�Ӧb etc/init.d/appserv �{���ɤ����%X asadmin start-appserv �M asadmin stop-appserv ��O�C
  • �p�G�z����ҭn�D�ҰʯS�w�޲z��� (�]�A�C�ӻ�쪺�޲z��A����ҩM�Ҧ�3�ε{����A�����) �Ϊ̤@�өΦh�Ӻ޲z��줤����w��ҡA�h3�ӭק� /etc/init.d/appserv �{���ɥH�Ұʩһݪ����M/�ι�ҡA�Ϊ̩w�q������һݨD���s /etc/rc*.d/ �{���ɡC
  • �ҰʯS�w�����C�p�G�z�n�D�Ұʺ޲z���ΥH�D root �ϥΪ̪�����ҰʯS�w��ҡA�h3�ӽT�w�ϥαa -c �ﶵ�� su ��O�i�H�Ұʩһݪ����M/�ι�ҡC

�d��

�ҰʯS�w�޲z��� — �p�G�Ʊ�H root �ϥΪ̪�����ҰʯS�w�޲z��쪺�޲z��A����ҩM�Ҧ�3�ε{����A����ҡA�i�H�ק� /etc/rc*.d/ �{���ɡA�p�U�ҥܡG

...
case "$1" in
'start')
   /usr/sbin/asadmin start-domain --domain production-domain
   ;;

'stop')
   /usr/sbin/asadmin stop-domain --domain production-domain
   ;;
...

(��)

  • �p�G�Ʊ�H�D root �ϥΪ̪�����ҰʯS�w3�ε{����A����ҡA�Эק� /etc/rc*.d/ �{���ɡA�H�ϥαa -c �ﶵ�� su ��O�G

...
case "$1" in
'start')
   su - usera -c "/usr/sbin/asadmin start-instance --domain test-domain instance-a"
   su - userb -c "/usr/sbin/asadmin start-instance --domain test-domain instance-b"
   ;;

'stop')
   su - usera -c "/usr/sbin/asadmin stop-instance --domain test-domain instance-a"
   su - userb -c "/usr/sbin/asadmin stop-instance --domain test-domain instance-b"
   ;;
...

�аѾ\�uSun ONE Application Server �޲z���n�v�A�H��o����z�L asadmin ��O�椶���ϥαҰʩM����O����h��T�C

��Ʈw�X�ʵ{��

���`���Фw������Ʈw�X�ʵ{�����D�H�ά���ѨM��סC

ID

�K�n

4700531

�b Solaris ���A�X�{ ORACLE JDBC �X�ʵ{����~�C

�o�ӷs�� Java ��Ʈw�s�� (JDBC) �X�ʵ{���O Oracle® �b�ϥ� JDK1.4 �ɨϥΪ��{���C���D�D�n�O�ѩ󵲦X�ϥ� Oracle 9.1 ��Ʈw�M ojdbc14.jar �ް_���C�M�έ׸ɵ{���i�H�ץ���� Oracle 9.0.1.3 ��Ʈw�� Solaris 32 �줸��W�����D�C

�ѨM���

�q Oracle ���o�ץ���~ 2199718 ���׸ɵ{���A�îM�Ψ��A���W�C�а��H�U�B�J�G

1.  ���� Oracle ��C

2.  ��@�U [�׸ɵ{��] ��s�C

3.  �b [�׸ɵ{���s��] ��줤�A��J 2199718�C

4.  ��@�U [32 �줸 Solaris OS �׸ɵ{��]�C���� Metalink.oracle.com�C

5.  ��@�U [�׸ɵ{��]�C

6.  �b [�׸ɵ{���s��] �U�A��J 2199718�C

7.  ��@�U [32 �줸 Solaris OS �׸ɵ{��]�C

4707531

�b Solaris ���A�ϥ� Oracle 9.2 �Τ�ݦs�� Oracle 9.1 ��Ʈw�i��|�ɭP��Ʒl�a�C

�p�G�ϥ� Oracle® 9.2 �Τ�ݦs�� Oracle 9.1 ��Ʈw�A��s������ɶ��W�O�椧��ɡA�i��|�o�͸�Ʒl�a�C

�����D�i��ѩ�P�ɨϥ� ojdbc14.jar �ɮשM Oracle 9.1 ��Ʈw�Ҥް_�C�M�έ׸ɵ{���i�঳�U��ѨM��� Oracle 9.1 ��Ʈw�� Solaris 32 �줸��W�����D�COracle �b�ϥ� JDK1.4 �ɷ|�ϥΦ� JDBC �X�ʵ{���C

�ѨM���

�q Oracle ���o Oracle �w���~ 2199718 �o�G���׸ɵ{���A�ñN��M�Ψ��A���W�C

Web �e��

���`���Фw���� Web �e�����D�H�ά���ѨM��סC

ID

�K�n

4740477

sun-web-app_2_3-0.dtd �ɮפ��� Web �֨�O����d�ҡA���Ѫ� timeout ���;y�k�����T�C

timeout ���$w��w���b XML �֨�O���骫�󤤨ϥΡG
<timeout> 60 </timeout>

�]���W�ٰѼƬ��������A�ҥH3�Ӽg���G
<timeout name="foo">60</timeout>

�ѨM���

�ФŻP���羹�P�ɨϥΡC

EJB �e��

���`���Фw���� Enterprise JavaBeans™ (EJB™) �e�����D�H�ά���ѨM��סC

ID

�K�n

4735835

�L�k���T�B�z ejbFind ��k�Ǧ^���� PK�C

�U�C�e���޲z��������� (CMP) �d�ҥi�q ejbFind (���]�q EmployeeEJB Bean �I�s�A�Ǧ^��������������P Bean �ۦP) �Ǧ^�@�өΦh�ӪŭȡG

1.  find insurance.employee where insurance.id == 10

�p�G���O�I�S���P�����p������A�h�|�Ǧ^�ŭȡC

2.  find all insurance.employee where insurance.id > 10

�o�N�Ǧ^�@�ӥi��]�t�ŭȪ����X�A�]�����O�I�S������C

��󵲪G�����X�{���Ĥ@�Ӫ� PC �ƥ�ACMP �Τ�ݷ|�o�� JDOFatalInternalException�uparam0 ���ର�šv�C

BMP �Τ�ݱN�o���@����M�ɵ{���� EJBException�u�q ejbFind ��k�Ǧ^�ťD��v�A�åB (�i��) �o��h����M�ɵ{���� NullPointerException�C

�ѨM���

�L�C

4744434

�b�ϥΪ��A���q�@�~ Bean �ɡASun ONE Application Server ���ɷ|�ߥX�u�ū�в��`�v�C

Sun ONE Application Server ���� EJB �e���|�֨�A���q�@�~ Bean�A�H��i�į�C�p�G�֨�O���鷸�� (�Y�A�֨�O���餤 Bean ���ƶq�W�X max-cache-size)�A�h�e���|�N Bean ���_��ϺСC��A�����ɷ|�ߥX NullPointerException�C�� max-cache-size �P cache-resize-quantity ���t�p�� 8 �ɡA�|�X�{�����D�C

�ѨM���

�T�w max-cache-size �P cache-resize-quantity ���t�j�� 8�A�Ϊ̱N max-cache-size �]�w�� 0�A�H�ϥεL����֨�O����C

�e���޲z���������

���`���Фw�����e���޲z��������� (CMP) ���D�H�ά���ѨM��סC

ID

�K�n

4732684

����l�� Oracle JDBC �X�ʵ{�����̨ΤơC

�Y�n�Q�� Oracle® ��Ʈw�̨ΤƻP�e���޲z��������� (CMP) Bean�A�����b server.xml �ɮת� classpath-suffix �ݩʤ���w classes12.zip �ɮסA�Ӥ��O�N��m���Ҫ� /lib �ؿ� (��O�t�ӵ{���w���w�]�ؿ�)�C

�ѨM���

�b server.xml �ɮת� classpath-suffix �ݩʤ��A�[�J classes12.zip �ɮסC

4734963

�ۨ��Ѧ� CMR �ɭP�b�G�p�v��X�{���D�C

EJB �G�p�y�z������R�� ejb-jar.xml �S�����T�B�z�ۨ��ѦҮe���޲z����Y (CMR)�A�Y ejb-relationship-role�C�ø�L [�@��] ���C

�ѨM���

�t� ejb-relationship-role ���!A�� [�@��] (�㦳 <multiplicity> Many) ��� ejb-relation ���Ĥ@��C

4742757

���ƧR���ﭫ�| PK/FK �� CMR ���_�@�ΡC

�p�G CMR ����M��㦳���|�D��/�~�䭭���󪺸�Ʈw��n�A�h�L�k�ϥ� cascade-delete �\��R���e���޲z����Y (CMR) ��쪺����!C

����n���@�ӽd�ҬO Order-LineItem ��Y�C�p�G�㦳����n��3�ε{���xէR�� Order Bean�A�B��3����Y�аO�� cascade-delete�A�h�I�s�̷|�o��U�������\�D���s����~�T���G

java.rmi.RemoteException:Bean �ҵo�ͪ����`���p�F�O�M���`���G
javax.ejb.EJBException:�O�M���`���G
com.sun.jdo.api.persistence.support.JDOUserException:�q�޲z��Y��������Ҫ��xդ����T�C

����Y�ѥt�@�����D����w�q�C�ﶰ�X���R���@�~�n�D��s�t�@������A��\�D���s�C�]���A�u����T�R����ҩΨϥ� cascade-delete�A�~��q�D��w�q���޲z��Y���X�������ӹ�ҡC

NestedException:
com.sun.jdo.api.persistence.support.JDOUnsupportedOptionException:
�����\��s�D�����C

�ѨM���

�U�C���@�ظѨM��׳��i�H�ѨM���D�G

1.  ����M��㦳���| PK/FK ����檺��Y�A�ФŨϥ� cascade-delete�C���йL�,��� Bean�A���'O�I�s������A�������ݪ� Bean�C

2.  �ܧ���w�q�A�Ϩ䤣�㦳���|�� PK/FK�C

4747222

�b Oracle �W�A�p�G����w -schemaname�A�h capture-schema ���ε{���L�k�@�~�C

�p�G�b�q Oracle® ��Ʈw���^���Ʈw��n��T�ɥ���w -schemaname �ﶵ�A�h capture-schema ���ε{���|�o�ͥH�U���D�G

1.  �p�G�x��^��Ҧ���� (�Y����T��ܥ����)�G

bin/capture-schema -dburl jdbc:oracle:thin:@oraserver:1521:ora -username scott -password tiger -driver oracle.jdbc.driver.OracleDriver -out test.dbschema

�z�N����G
java.sql.SQLExceptions
ORA-00942:���ε�Ϥ��s�b�C

���G��X�ɮױN���_�C

2.  �p�G�ϥ� -table �ﶵ��w�@�өΦh�Ӫ��G

bin/capture-schema -dburl jdbc:oracle:thin:@oraserver:1521:ora -username scott -password tiger -driver oracle.jdbc.driver.OracleDriver -table DEPT -out test.dbschema

�o�쪺�ɮר㦳��w�����A��S�����T�A�o��ܸ��ɮפ���Ω� CMP ��M�C

�ѨM���

�q Oracle ��Ʈw�^���n�ɡA�l�רϥΥH�j�g�r�(ϥΪ̦W�٧@���Ȫ� -schemaname �ﶵ�G

bin/capture-schema -dburl jdbc:oracle:thin:@oraserver:1521:ora -username scott -password tiger -driver oracle.jdbc.driver.OracleDriver -schemaname SCOTT -out test.dbschema)

4751235

��� capture-schema ���ε{���G�p�G�b Oracle �M/�� PointBase �����H�j�g�r�+�w -table �ﶵ���ȡA�h�o�쪺�ɮױN�|���_�C

Oracle® �M PointBase �b�����N�Ϥ$j�p�g���ѧO�X�ഫ���j�g�r�!A���D�ѧO�X�� " " �A�_�C�b�q Oracle �� PointBase �^���Ʈw��n�ɡAcapture-schema ���ε{���L�k���T�N�Ѥp�g�r�)Τj�p�g�V�X�r�2զ������W�٧@�� -table �ﶵ���޼ƳB�z (�Ҧp�A-table student �� -table Student)�C���ͪ���Ʈw��n�ɮפ��]�t��3��檺������T�C

�ѨM���

�ϥΤj�g�r�(ӫ�w���W�� (�Ҧp�A-table STUDENT)�C

4852757

CMP bean �G�p���ѡC

�]�� sun-ejb-jar.xml �ɮפ��e���޲z��������� (CMP) bean ���㦳 <query-params> ���ءA�ҥH�|�ߥX�H�U��~�G

��� ejbc �ɵo�Ϳ�~�C�Ӧ� EJB �sĶ�����Y����~ ---- �B�z CMP bean �ɵo�Ϳ�~�C

�ѨM���

��� CMPbean�A�Y�Ϥ����n�A�]�Цb sun-ejb-jar.xml �ɮפ��A�H�ŰѼƬ��M�ɵ{���[�J query-params ���ҡC

�T���A�ȩM�T���X�ʪ� Bean

���`���Фw���� Java �T���A�� (JMS)�BSun ONE Message Queue �M�T���X�� Bean �����D�A�H�ά���ѨM��סC

ID

�K�n

4683029

�p�G�Ȥ��t���Ů�A�h�Ҧ� MQ Solaris/Microsoft Windows �{���ɤ��� -javahome �X�бN���_�@�ΡC

Sun ONE Message Queue ������O�椽�ε{�����@�� -javahome �ﶵ�A�i��z��w�%Ϊ� Java ���v��C�ϥΦ��ﶵ�|���@�w������A�Y��w���%� Java ���v���|����]�t�Ů�C�]�t�Ů檺��|�d�Ҧp�U�G

  • Microsoft Windows�GC:\jdk 1.4
  • Solaris:/work/java 1.4

Sun ONE Application Server ��ұҰʮɷ|�X�{�����D�C�Ұ� Sun ONE Application Server ��ҮɡA�̹w�]���3�� Sun ONE Message Queue �N�z��Ҥ]�|�ҰʡC�N�z�{���`�O�ϥ� -javahome ��O��ﶵ�ҰʡA�H�T�w�ҨϥΪ� Java ���v��P Sun ONE Application Server �ϥΪ��ۦP�C�p�G�� Sun ONE Application Server �t�m�� (�B�ѥN�z�{���ǰe�H�Ѩϥ�) �� Java ���v��Ҧb��|�]�t�Ů�A�h�N�z�{���Ұʷ|���ѡA�þɭP Sun ONE Application Server ��ұҰʥ��ѡC

�ѨM���

�T�w Sun ONE Application Server �ϥΪ� Java ���v��Ҧb��|���]�t�Ů�C

Java �ưȳB�z�A�� (JTS)

���`���Фw���� Java �ưȳB�z�A�� (JTS) ���D�H�ά���ѨM��סC

��_

�Y�� JDBC �X�ʵ{������ư��{�����s�b�@�Ǥw�����D�C���o�Ǥw�����D�ASun One Application Server ���ѤF�@�ǸѨM��k�C�̹w�]�A�p�G�S����T��ܭn�ϥγo�ǸѨM��k�A�N���|�ϥγo�ǸѨM��k�C

�ưȳB�z

�b server.xml �ɮפ��Ares-type �Ω�Ϥ3s�����D XA �s���� XA �s���C���Ϥ<зǥΩ��ѧO��ƨӷ��t�m�A�H�X�ʸ�ơC�Ҧp�A�b Datadirect �X�ʵ{�����A�ۦP����ƨӷ��i�H�@�� XA �ΫD XA�C

��ƨӷ����w�]�欰�O�D XA�C�Y�n�ϸ�ƨӷ����欰�b�ưȳB�z�� connpool ���$��@�� XA�A�h�ݭn res-type�C�Y�n�� connpool ���0_�@�ΨðѻP�ưȳB�z�A�Цb server.xml �ɮת� res-type �ݩʤ��[�J�H�U���e�G

res-type="javax.sql.XADataSource"

ID

�K�n

4689337

�L�k�ϥΨӦ۫D txn ��Ҥ��� XADatasource �s���C

�o�O�w������Ʈw�X�ʵ{�����D�C��㦳 XADataSource ���D txn ��Ҥ��s�b�s���ɡA�̹w�]�|�N Autocommit �]�w�� False�C

�ѨM���

�ϥΫD XA DataSource ���O��T�I�s�T�w/���{���A�Ӥ��O�z�L�ưȳB�z�I�s�C

4700241

�D�s�ưȳB�z�O�ɳ]�w�|�ɭP���a�ǻ��t�״�C�C

�ثe�A���a�ǻ��޲z�{�����䴩�㦳��T�O�ɪ��ưȳB�z�C�p�G�N transaction-service ���$��� timeout-in-seconds �ݩʳ]�w���j�� 0 ���ȡA�h�|�N�Ҧ������a�ǻ��@������ǻ��ӳB�z�A�o�N�ݭn�ܪ�ɶ��C�p�G��ƨӷ��X�ʵ{�����䴩����ǻ��A�h���a�ǻ��]�i��|���ѡC�O�ɭȬ� 0 ��ܡA�p�G�ưȳB�z�޲z�{������ť��Ӧ۰ѻP��ƨӷ����^3�A���|�L���u��ݡC

�ѨM���

�N timeout-in-seconds �ȭ��]���w�]�� 0�C

3�ε{���G�p

���`���Фw�����G�p���D�H�ά���ѨM��סC

ID

�K�n

4403166

Microsoft Windows ���䴩���|�W�١C

�аѾ\�w�˩M�Ѱ��w���A�H��o������D����T�C

4703680

���s�G�p EJB �Ҳ� (�㦳 MDB) �|�ߥX�귽�Ĭ𲧱`���p�C

�b�㦳 Sun ONE Studio 4 �� Microsoft Windows 2000 �W�A��ϥΰT���X�ʪ� Bean (MDB) �ɡA�|�o�ͳo�ر��p�C�p�G EJB �Ҳե]�t�Q�ίS�w��C�� MDB�A�h���s�G�p�㦳�ۦP MDB (�Q�άۦP��C) ���P�@�� EJB �Ҳշ|�ް_�귽�Ĭ�C�o�|�� (�ק諸) �Ҳդ��i�ΡC

�ѨM���

�L�C

4725147

�L�k��ܥΩ�G�p���S�w���&�A���C

�b�o�ر��p�U�A�|�ϥΧ����ۦP���D��M��ť�{���t�m��ӵ��&�A���C�p�G�ȹ�ĤG�ӵ��&�A���G�p3�ε{���A�h�L�k�F��Ӧ�A���A�]���D��:�s����զX�|�ɦV�Ĥ@�ӵ��&�A���C

�ѨM���

���&�A���D��W�٤�3�ӻP��l�D��W�٬ۦP�A�ר�O�b�ϥάۦP�� HTTP ��ť�{�������p�U�C

4734969

�L�k�ϥ� Bean �M�˳n�餤�ϥΪ̪��d�����O�ӧG�p3�ε{���C

��� concreteImpl ���� JDO Query �ܼơA�e���޲z��������� (CMP) code-gen �S���ϥΧ����X�檺�W�١C�p�G�P��H Bean �ۦP���M�˳n�餤���d�����O�A�h�|�o�ͽsĶ��~�C

�ѨM���

�N�d�����O�����L�οW�ߪ��M�˳n�餤�C

4750461

�b Solaris ���ASun ONE Application Server �b�ʺA���s��J�v��i��|���C

���j��3�ε{�� (�㦳�\�h��~ Bean)�A�ʺA���s��J3�ε{���v��i��|�o�ͷ��C�b�}�o��Ҥ��ϥΰʺA���s��J�\��A�i�H�ֳt��չ�3�ε{�����ӷL�ܧ�C�ɭP����]�O�xըϥΪ��ɮ״y�z���h��i�Ϊ��y�z���C

�ѨM���

1.  �ϥγo�خ榡�V /etc/system �ɮץ[�J��A�|�W�[�ɮת��y�z������C�Ш̾�3�ε{�����j�p�A�]�w��θ�C���ȡC

  set rlim_fd_max=8192
  set rlim_fd_cur=2048

2.  ���s�Ұʨt�ΡC

4744128

EJB �sĶ���L�k�鷺�����O���ͦ��Ī� JAVA �{���X�C

EJB �sĶ���L�k��N�������O�@���Ǧ^��������~ Bean ���{���A���ͦ��Ī� JAVA �{���X�C

public interface IStateServer {
   ....
   public StateProperties getProperties (String objectID, String variantName, IToken securityToken) throws RemoteException;

   public class StateProperties implements Serializable {
      public StateProperties () {
      }
      public String description = "";
      public String owner = "";
      public Date modifyTime = new Date () ;
      public String accessPermissions = "";
   }
}
public interface IStateServerEJB extends EJBObject, IStateServer {
   ....
}

�е�N�AgetProperties ��k�Ǧ^�@�Ӥ������O�C

��~�d�ҡG

D:\AppServer7a\appserv\domains\domain1\server1\generated\ejb\j2ee-apps\smugglercom\spss\ssp\state\ejb\StateServerEJB_EJBObjectImpl.java:133:

�����\�����ϥΦX���������O�W�١G
com.spss.ssp.state.IStateServer$StateProperties

���ͪ��{���X3�Ӭ�
com.spss.ssp.state.IstateServer.StateProperties

�ӫD
com.spss.ssp.state.IstateServer$StateProperties

�ѨM���

�N StateProperties ���ܳ�W�� (�W�ߥB�D������) ���O�C

���羹

���`���Фw�������羹���D�H�ά���ѨM��סC

ID

�K�n

4742545

�W�����羹��ܡu����� EJB ���O�v��~�C

���羹�ϥΥH�U��մy�z�T����ܬY�ǥ��Ѫ���աG����� EJB ���O�C�� EJB JAR �ɮרϥΰѦҥt�@�ӥ�~ Bean (�b�P�@ EAR 3�ε{�����M�˩��L�W�� EJB JAR �ɮפ�) ����~ Bean �ɡA��շ|���ѡC�p�G�x����һP�s���� (RAR) �̪ۨ� EAR �ɮסA�]�N�X�{���ѰT���C�o�O�]�� RAR �H���n��L�ݫʸ˩� EAR �ɮ� (�]�t�P RAR �H���ɮ׬̪ۨ���~ Bean) ���C�Ȧ��ϥοW�����羹�ɡA�~��o�{���� (�s����������Ѱ��~)�C�q�L�G�p��O�κ޲z�����I�s�����羹����ܥ��ѡC

�ѨM���

�T�w3�ε{�� EAR �ʸˤ覡���T�A�p�G�z�ϥΥ�󤽥ε{�� JAR �ɮסA�h�|�ʸ˨� EAR �ɮפ��C�Y�n�ѨM�Ѧҿ�~�A�i�H�ϥ� asadmin �κ޲z�����A�t���q�L�G�p��ݩI�s�����羹�C���P�s����������ѡA�бN�]�t�һ����O�� JAR �ɮ׸m�����羹�����O��|�C�z�i�H�}�� install_root/bin/verifier[.bat] �ɮסA�ñN LOCAL_CLASSPATH �ܼƥ[�J�� JVM_CLASSPATH �ܼƪ����!C�b����N���O�[�J�� LOCAL_CLASSPATH �ܼơA�M�������羹�C

4743480

���羹�L�k����쥻��D�������W�Ť������ŧi����k�C

���羹�|�b����D�����W����աA�H�ˬd�����O�_�ŦX J2EE �W��C�p�G�s�b�ɥX������D�����A�B�D�������W�Ť��������ѩһݪ���k�A�h findByPrimaryKey ��k���Y�Ǵ�շ|���ѡC���Ѫ���եѦW�� HomeInterfaceFindByPrimaryKeyArg�BHomeInterfaceFindByPrimaryKeyName�BHomeInterfaceFindByPrimaryKeyReturn �M PrimaryKeyClassOpt ����հ��C�p�G�N -verify �ﶵ�P�Ҳթ�3�ε{���@�_�ϥΡA�G�p�]�|���ѡC

�ѨM���

�p�G����D�������W�Ť��������T�ŧi�F�禡�A�h�i�H������յ��G�C�b�o�ر��p�U�A�ФŻP�G�p��O�@�P�ϥ� -verify �ﶵ�C�G�p�N���T�����C�@�ظѨM��k�O�b�ɥX���D�������A���ŧi�ۦP���禡�A�H�q�L�����աC

�t�m

�U�?�ФF�w���� Sun ONE Application Server 7 �t�m���D�Ψ�ѨM��סC

ID

�K�n

4742559

�p�G�z�������ϥ� IPv6�A�h���|�J�즹���D�C

�`�N�G�p�G�z�������ϥ� IPv6�A�h���|�J�즹���D�C

�̹w�]�ASun ONE Application Server �ϥ� IPv4�C�i�H�ϥ� Sun ONE Application Server ���Ҧ����x���䴩 IPv4�C�b�Y�ǯS�w���x�W�]�䴩 IPv6�C�b�o�ر��p�U�A�ݭn�ܧ� Sun ONE Application Server ���t�m�A�H�O��@�P�C

�`�N�G�p�G�n�ܧ�o�ǰt�m�A��������T�w���x�䴩 IPv6�C�p�G�N IPv6 ����t�m�M�Ψ�Ȥ䴩 IPv4 ���t�ΤW�A�h�i�ण�|�Ұʦ�A����ҡC

�ѨM���

�а��U�C�t�m�ܧ�G

1.  �Ұʺ޲z��A���C

2.  �Ұʺ޲z�����C(�q�L�s��s����޲z��A�� http �D��/�s����)�C

3.  ��� [3�ε{����A��] ��Ұt�m IPv6�A�Ҧp server1�C

4.  �i�}���˹Ϥ��� [HTTP ��ť�{��] �`�I�C

5.  ��� [HTTP ��ť�{��] �t�m IPv6�A�Ҧp http-listener1�C

6.  �b [�@��] �Ϭq�A�N [IP ��}] ��줤�����ܧ� [ANY]�C

7.  �b [�i��] �Ϭq�A�N [�a��] ��줤�����ܧ� [INET6]�C

�N [�a��] ���]�w�� [INET6] ���|���� IPv4 ���\��A���D�w�� IP ��}���F IPv6 ��}�C�N IP ��}��� [ANY]�A�N�ŦX��� IPv4 �� IPv6 ��}�C

8.  ��@�U [�x�s]�C

9.  �b�����椤�A���z����A����ҡC

10.  ��@�U [�M���ܧ�]�C

11.  ��@�U [����]�C

12.  ��@�U [�Ұ�]�C�o�|���s�Ұʦ�A���è��ܧ�ͮġC

�G�p�y�z��

���`���Фw���G�p�y�z�������D�C

sun-cmp-mapping.xml ���D

sun-ejb-jar.xml ���D

�ʵ�

���`���Фw�����ʵ���D�H�ά���ѨM��סC

ID

�K�n

4734595

�`�s���������Ҥ���ܭȡC

�Ӱ��D���H�Ѧҹ�I (RI) ���T������E���D�X�{�C

�ѨM���

�L�C

4737227

FlagAsyncEnabled �b http-server �����]�w�� 1�C

�o�O�w���� Sun ONE Web Server ���D�C

�ѨM���

�L�C

4752199

����� getPrimaryKey()�BgetEJBMetaData()�BgetHomeHandle() ��k���ʵ� Bean ��k�ݩʭȡC

�ʵ�u��C�X��~ Bean ���i�ʵ��k�C��� getPrimaryKey()�BgetEJBMetaData() �M getHomeHandle()�A��k�h�źʵ��ݩʩl����ܬ� 0�C

�ѨM���

�L

��A���޲z

���`�]�t�H�U�Ϭq�G

��O�椶�� (CLI)

���`���Фw������O�椶�����D�H�ά���ѨM��סC

ID

�K�n

4676889

�p�G��O�]�t���r���h�� 256 �ӡA�h CLI ��O�b��@�Ҧ��U�|����C

�b UNIX® ���A��b��@�Ҧ��U���]�t�h�� 256 �Ӧr���� CLI ��O�ɡA��O�|���ѡA����ܤU�C��~�G...������O...

�o�O��׺ݾ����A�ӫD CLI ����C

�d�ҡG

create-jdbc-connection-pool --instance server4 --datasourceuser admin --datasourcepassword adminadmin --datasourceclassname test --datasourceurl test --minpoolsize=8 --maxpoolsize=32 --maxwait=60000 --poolresize=2 --idletimeout=300 --connectionvalidate=false --validationmethod=auto-commit --failconnection=false --description test sample_connectionpoolid)

�ѨM���

1.  ���ݭn�h�� 256 �Ӧr������O�A�Шϥ� CLI �h��Ҧ��C

2.  �p�G�����ϥγ�@�Ҧ��A�Шϥ� OpenWin cmdtool ����O�C

4680409

�N��Ұt�m���ϥ� SSL ��A�޲z��N�L�k�q CLI ���s��Τ�ݦs��޲z��A���C

�ѨM���

�N Sun ONE Application Server �ҮѶפJ��C�Өϥ� SSL �s��޲z��A�����Τ�ݡA�ë�ܭn�H��㦳�o���ҮѪ���A���C�p��b�s��W��榹�@�~�]�s��Ӳ��F�Ьd�\�z�s��u�W����A�H�A�Ѧp��פJ�i�H���ҮѡC

��� CLI�A�p�G��A�����ҮѦ��Y�� servercert.cer �ɮפ��A�B�w�˥ؿ�O /INSTALL�A�h��O���G

keytool -import -file servercert.cer -alias server -keystore /INSTALL/jdk/jre/lib/security/cacerts

�`�N�G���קK�N�ӵo�ͦ����D�A�нT�w�O��b��A���M �Τ�ݤW�w�ˤF�޲z��A���ҮѡA�M��~�N�޲z��A���t�m���ϥ� SSL�C

4688386

�b��@�Ҧ��� CLI ��O���ϥάP�� (*)�A�|���ͷN�Q���쪺�欰�M/�ο�~�T���C

��¦ Shell �w�N�P���X�i���W�ٲM��A�o�ǦW�ٴN�O��O�椶�� (CLI) ��O�n�d�ݪ����e�C�b�P������[�W�޸��i���� Shell �X�i�P���A�o�� CLI �K�i�ݨ�P�������C

�ѨM���

�b�P������[�W�޸� (��޸�����޸�)�C

4701361

�����ҮM�έ����ܧ�A�̲׷|�ɭP�O���餣������~�C

�޲z��A���|�O�d��t�ΰ�檺�Ҧ��ܧ�O��A�o�K�ݭn�O����C�b���s�t�m�v��|�˱��ܧ�O�� (��R���ܧ󥻨�)�A�o�ˤ~���)�O����H�ѨϥΡC

�ѨM���

�w�hϥ� asadmin ���s�t�m��O�A�˱��ª��ܧ�O��C

4704328

��إ߭��ƻ�쪺�I�s���ѮɡA���|���M���@�~�C

�p�G�إߪ����w�s�b�A�|���ͬ�3����~�T���C��|�إ� create-domain ��O�� -path �ﶵ��w���ؿ� (�p�G�����e���s�b)�C�]����O�w���ѡA�ҥH3�ӱN��R���C

�ѨM���

�����ϥ� -path �ﶵ��i��إߪ��Ҧ����[��w���ťؿ�C

4708813

�L�k�ʵ�w�] (Pointbase) �s���� JDBC �귽�C

JDBC �s���Ϸ|�̻ݭn�ʺA�إߡA�o�N��۲Ĥ@���ϥήɫK�|�إ��x�s�ϡC�p�G�|���إ� (���ϥ�) �x�s�ϡA�N�L�k���ʵ�C

�ѨM���

�إߩһݪ��s���ϡA�H�K���ʵ�C

4722007

�ʵ�G�L�k��q���� 1 �@�?���ɶ��C

�ʵ���� Bean ��k�ɡAexecution-time-millis �ݩ���� -1�C�Ҧp�A�����O�G

iasadmin>get -m server1.application.usecase1app.ejb-module.UseCase1Ejb_jar.entity-bean.BeanOne.bean-method.method_create0.*

�N�Ǧ^�H�U�ݩʡG

Attribute name = total-num-errors Value = 0
Attribute name = method-name Value = public abstract
com.iplanet.ias.perf.jts.UseCase1.ejb.BeanOneRemote
com.iplanet.ias.perf.jts.UseCase1.ejb.BeanOneHome.create () throws
javax.ejb.CreateException,java.rmi.RemoteException
Attribute name = total-num-calls Value = 0
Attribute name = total-num-success Value = 0
Attribute name = execution-time-millis Value = -1

�}�l�ʵ�e�Aexecution-time-millis ���w�]�ȱN�]�w�� -1�A��ܸ��ݩʪ��ȥثe�L�ġC�w�]�� 0 �|��H�~�H���w��q�F���ɶ��A�B�ɶ��ȫD�`�p�C

�ѨM���

�L�C

4733109

���˵�q�L��O�椶���إߪ��u����ʺ޲z�{���u�t�v�귽�ɡA�|�b [�޲z] ��������i���羹��~�C

�b [�޲z] �������˵�u����ʺ޲z�{���u�t�v�귽�ɡA�p�G�Ӹ귽�O�q�L��O�椶���إߪ��A�h�|��i�U�C��~�G

ArgChecker ���ѡGjndiName ���ҥ��ѡG���󥲶��D��

�ѨM���

�L�C

4742993

�b Solaris ���A�Y�b��X�� Solaris ���� Sun ONE Application Server �W�ϥ� flexanlg ��O�A�|�ɭP�}�ҥ��ѡC

�p�G��檺�O�w��X�� Solaris �@�~��Ҫ������A�B�q /usr/appserver/bin �ϥ� flexanlg ��O�A�h�|��ܶ}�ҥ��ѿ�~�C

ld.so.1:/usr/appserver/bin/flexanlg:fatal:libplc4.so:open failed:�L�����ɮשΥؿ�
���

�ѨM���

�����U�C�B�J�C

1.  �N�U�C���إ[�J�� LD_LIBRARY_PATH �ɮסG

usr/lib/mps

2.  �M���� flexanlg ��O�C

% /usr/appserver/bin/flexanlg

4750518

���� CLI ��O�L�k�b�ؼк޲z��A���W�@�~�C

create�Bdelete �� list ��O�L�k�b�ؼк޲z��A���� CLI �W�إ�/�R��/�C�ܺ޲z��A�� server.xml �ɮפ����s���� (�Ҧp�ASSL�Bmime�B��q�{���B�귽��)�C

�ѨM���

�ϥκ޲z�����إߡB�R���M�C�ܺ޲z��A���������!C

�޲z��¦�[�c

���`���Фw�����޲z��¦�[�c���D�H�ά���ѨM��סC

ID

�K�n

4676888

�b Microsoft Windows 2000 �W�A�N JVM ���|�j�p�]�w����j���ȮɡA�N�L�k�إ� JVM�C

�p�G�xզb Windows 2000 �W�]�w��j�� JVM ���|�j�p�A�i��|����H�U��~�T���G

��l�� VM �v��o�Ϳ�~�A
�L�k��������|�O�d����Ŷ�
������~�G�L�k�إ� JVM

�ѨM���

�Y�n�b Windows 2000 �W�t�m JAVA ���|�j�p��j�� Sun ONE Application Server�A�ݭn���w Sun ONE Application Server DLL ���򥻭ȡC

Rebase ���ε{�� (�P Microsoft Framework SDK �M Microsoft Visual Studio �@�P����) ���\�z�q�Y�@��}�}�l���\�h DLL �]�w�̨ΰ�¦��}�A�åѦ��W�[ JVM ���|���i�ΩʡCSDK Help Rebase �D�D��ij�ϥΦ�} 0x60000000�C�Y�n��o���� Rebase ���ε{������h�ԲӸ�ơA�аѾ\�G

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tools/tools/performance_tools.asp

�ݨD�G

  • �㦳 2 �� 4 GB �O���骺 Window 2000 �t��
  • Visual Studio/Microsoft Framework SDK Rebase ���ε{��

�Y�n�N Rebase �M�Ψ� S1AS �ʺA�{���w���A�а��H�U�@�~�G

1.  cd into install_dir\bin

2.  rebase -b 0x6000000 *.dll

3.  cd ..\lib

4.  rebase -b 0x6600000 *.dll

4686003

HTTP �A�ȫ~�譭����C

�A�ȫ~�� (QOS) �t�A��w HTTP �s�����̤j�ȩM�W�e�����k�C��W�X�o���ݩʮɡA�|�V�Τ�ݶǦ^ 503 ��~�C���L�A�z�L�޲z�����ҥ� QOS ��A��A�����|��� QOS ����C

�ѨM���

�Y�n�����ҥ� QOS �\��A������ʱN AuthTrans fn=qos-handler ��[�J����&�A�� obj.conf �ɮפ����w�]���󳻳��C�uDeveloper's Guide to NSAPI�v�����ФF qos-handler ��A��3�ε{���\�� (SAF) �M obj.conf �t�m�ɮסC

4692673

�p�G��ҳ̪�b�D����Ҧ��U���A�h�b����Ҧ��U���s�Ұʹ�ҥi��|���ѡC

�p�G�Ұʹ�ҮɨS���֨�/��� [�b����Ҧ��U�Ұ�/���s�Ұ�] �֨���A�h���֨������]�w�N���_�@�ΡC�Y�Ϥw�g�֨�F [�ҥΰ���] �֨���A��O�b [�޲z] �������A���֨�����ܬ����֨�Cserver.xml �ɮ��ٷ|��� debug-enabled=false�C

�ѨM���

�L�C

4699450

�b Microsoft Windows 2000 ���A�p�G�b�G�p�v������ɮת��`��|��׶W�L 260 �Ӧr���A�h EAR �ɮת��G�p�N�|���ѡC

�b Windows 2000 ���x�W�AJava ���>� (JVM) �N�����ɮת���|�W�٪�׭�� 260 �Ӧr���C�o�O���� JVM �� Microsoft Windows �䴩�����D�A�b J2SE 1.5 �������i��|�o��ץ��C

�ѨM���

�G�p3�ε{���ɡA�ϥΪ���|�M�ɮצW�٦r�����`�M��3�W�L 260 �Ӧr���C

4723776

�b Solaris ���A�ഫ��ҥ� SSL ����ҮɡA�L�k���s�Ұʦ�A���C

�p�G�xզb�w���ҮѨñҥΦw���ʫ᭫�s�Ұ� Sun ONE Application Server�A���s�ҰʱN�|���ѡC���ɡA�|��ܤ@��T���A��X��A���L�k�����K�X�C�A����@�U [�Ұ�] ��s�|�Ұʦ�A���C�p�G���ҥ� SSL�A�h���|�֨�O����K�X�A�o�N�ɭP���s�Ұʥ��ѡC���s�Ұʫ�O���䴩�q�D SSL ��ҥ� SSL �Ҧ����ഫ�C

�`�N�G�����D�Ȧb�Ĥ@�����s�Ұʦ�A���ɵo�͡C�H�᪺���s�Ұʳ��|���`���C

�ѨM���

�p�G�z�w�g�J�즹���D�G

   ��@�U [�Ұ�] ��s�C

���קK�o�ͦ����D�A�Ы�ӥH�U�B�J�ާ@�A�Ӥ��n��@�U [���s�Ұ�] ��s�C

   ��@�U [����] ��s�C
   ��@�U [�Ұ�] ��s�C

4724780

�p�G���O�b��L�t�Τ��إߪ��A�h�L�k�Ұʺ޲z��A���C

  • �p�G�b�˸� PCNFS ���Ϻо�W�إ߻��A�h�|�]���P PCNFS �Ϻо���w�� Microsoft ���D�A�ӵL�k�Ұʸӻ�줤���޲z��A���M����ҡC
  • �p�G���إߦb�P���~�w�˦�m�ۦP������Ϻо�W�A��b�P�@�ӥؿ��|�A�h��ҩM�޲z��A���i��w�d覡�u�@�A�åB�����i�H����C

�ѨM���

�L�C

4734184

�b Microsoft Windows 2000 ���A���ɷ|���ΥD���x�C

�b�G�p�v��ΰ���O�ɡA�޲z��A����3�ε{����A����Ҧ��� (�ܤ�) �|�a�m�C��q�D���x��x�����$�r�ɡA�i��|�o�ͦ����p�C�p�G����ܥD���x��x�W����r�A�{�ǥi�H�~����C

�ѨM���

�N log-service create-console �ݩʳ]�w�� False�A�K�i���Φ۰ʫإ� server1 ��ҥD���x�C�b�D���x��x�W��@�U�ƹ��Ϋ�U Enter�A�]�i�H�ѨM�����D�C

4736554

�q��A���R���w���� http ��ť�{����A�t�Τ����ܺ޲z���J (���A�ݭn��) �K�X�C

�ѨM���

������Ӧ�A���A�M��A���s�[�J�C

�`�N�G���קK�N�ӷ|�X�{���D — �b���� http ��ť�{�����e�A�Х�ϥΥH�U��O���Φw���ʡG

/export2/build/bin/> asadmin set --user admin --password adminadmin
server1.http-listener.http-listener-1.securityEnabled=false
securityEnabled �ݩʳ]�w�� False�C
/export2/build/bin/> asadmin delete-http-listener --user admin --password adminadmin ls2
�R�����O id = ls2 �� Http ��ť�{��

4737756

�b Microsoft Windows 2000 ���A�D���x���|��ܷ��l�T���C

�b Windows 2000 ���A�p�G�O�D�^��y����� (�p���)�A�h�z�i��|�ݨ�D���x�W��ܷ��l�T���C

�ѨM���

�ϥ� [�޲z] �����˵��x�T���C

4739831

���'R������ҷ|�ɭP�Y�� CLI ��O���^3�����T�C

�p�G�S�������R����A����ҡA�h���Y�� CLI ��O�|�X�{�H�U���D (�C�Ӱ��D�����Ф������Ѧ��ѨM���)�G

1.  �Y�Ϲ�Ҹ�Ƨ��U�S���l�ؿ�A�b����Ҧ��U��� create-instance ��O�]�|��i�ӹ�Ҥw�s�b�C

�ѨM���

��ʲ����Ѿl����ҥؿ�A�M���� create-instance ��O�C

2.  ����Ҧ��U�� list-instances ��O�]�A���'R������ҦW�٩M���p�C

�ѨM���

��ʲ����Ѿl����ҥؿ�A�M���� list-instances ��O�C

3.  �b Microsoft Windows 2000 ���A���ݼҦ��U�� start-instance ��O�|��ܪŦr����C

�ѨM���

��ʲ����Ѿl����ҥؿ�A�إ߷s����ҡA�M���� start-instance ��O�C

4.  �b Microsoft Windows 2000 ���A����M���ݼҦ��U�� stop-instance ��O���|��i�X�{�����T�����`���p�C�b����Ҧ��U�A�ӫ�O�|��ܤ@���T���T���A��X������ҡC�b���ݼҦ��U�A�ӫ�O��ܬ��Ŧr����C

�b Solaris ���A����Ҧ��U�� stop-instance ��O�|��~�a��i�ϥΪ̵L�v�s���Ҫ� config �ؿ� (��M config �ؿ�ä��s�b)�C

�ѨM���

��ʲ����Ѿl����ҥؿ�C

4739891

�p�G���&�A���ҰѦҪ��w�] Web �Ҳդ��s�b�Ω|���G�p�A�h�L�k�R�����&�A���C

�ѨM���

�N���&�A���� [�w�] Web �Ҳ�] ���]�w�� [������󶵥�]�A��@�U [�T�w] �x�s�ܧ�A�M��R�����&�A���C

4740022

SNMP�G�[�J�M�Ұʷs��Ҧ�A���ɡA�|�Ǧ^ END OF MIB�C

�p�G�b�[�J�M�Ұʷs��Үɥ����Ҧ�A���M�l�N�z�{���A�h�|�Ǧ^ END OF MIB �T���C

�ѨM���

1.  �Y�n�˵�s��ҡA�нT�w�w��l�N�z�{���M�Ҧ���Ҧ�A���{�ǡC�b�C�Ӧ�A�� -> [�ʵ�] -> [�ҥ� SNMP Statistics Collection:�}��] �U�A�M���ܧ�A�M�᭫�s�ҰʨC�ӹ�Ҧ�A���A�M��ȦA���Ұʤ@�Ӥl�N�z�{���{�ǡC

2.  �p�G�l�N�z�{���w�g���A�Ф��n�Ұʥ���Ҥ�������L�l�N�z�{�ǡCSun ONE Application Server �w�˥u�i�H���@�ӥD�N�z�{���M�@�Ӥl�N�z�{�� (�Ҧ����/��ҳ��O�p��)�C

4737138

���v�L�pT�����|��ܦb Microsoft Windows �A�ȩ� DOS ���ܤU�C

���v�L�k�A�q Windows �A�ȩ� DOS ���ܫ�O (startserv.bat) �Ұʦ�A���ɡA����ܬ�3�����v�L�pT���C

�ѨM���

�q CLI (asadmin) �αq Sun �{���ϥܱҰʦ�A���C

4780488

�s�b�h�� obj.conf �ɮ׷|�ް_�V�áC

�b�إ߷s�� Sun ONE Application Server ��ҮɡAinstance-dir/config/ �ؿ�N�]�t��� obj.conf �ɮסGobj.conf �M virtual-server-name-obj.conf�A�䤤 virtual-server-name ���ȻP�إ߹�Ҥ��۰ʫإߪ����&�A������ҭȬۦP�C�����󤤩ҫ�u�ק� obj.conf �ɮסv�A��ڤW�O��u�ק�P�һݵ��&�A�����p�� obj.conf �ɮסv�C

�w�� Sun ONE Application Server ����Aobj.conf �M server1-obj.conf �ɮצ�� /domains/domain1/server1/config/ �ؿ�U�C�ɮ� obj.conf �������e�N�Q�b���&�A���h�ū�w�� server1-obj.conf �ɮפ��e�m���C��ڤW�ASun ONE Application Server ��Ҥ��ϥ� obj.conf �ɮסC

�Ҧp�A�p�G�b�t�m Sun ONE Application Server �q�D�~���{���ɭק�F obj.conf �ɮסA�h�q�D�]�w�N���ͮġA�]���ק諸 obj.conf �ɮפ����T�C

�ѨM���

�p�G�ݭn�ק�Y��Ҫ� obj.conf �ɮסA�Эק�H�һݵ��&�A���W�٬��r�����ɮסC

�޲z����

�ϥ� [�޲z] �����ɡA�нT�w�w�N�s��t�m���ˬd�Ӧۦ�A������s���������A�Ӥ��O�q�֨�O�����ܡC�@�뱡�p�U�A�w�]�s��]�w���|�X�{���D�C

���`���Фw���� Sun ONE Application Server 7 �޲z�ϧΨϥΪ̤������D�H�ά���ѨM��סC

ID

�K�n

4722607

�b Microsoft Windows 2000 ���A�L�k�s��β����s�� MIME �ɮ� (�ٲ� .types ���ɦW) �������ءC

�b Windows 2000 �W�AMIME �ɮצb�ɦW���ᥲ���� .types ���ɦW�A�~��ק��ɮפ������ءC�Ҧp�Amime2.types �Ӥ��O mime2

�ѨM���

��� MIME ���ɦW���ϥ� .types �@�����ɦW�C

4725473

�~���ҮѤp�W�S����ܦb�޲z������ [�p�W] �M�椤�C

�p�G�q�L Sun ONE Application Server [�޲z] �����w�˥~���ҮѡA�h��z�xըϥΦw�˦b�~���K�X�ҲդW���ҮѬ� http ��ť�{���ҥ� SSL �ɡA�|�J����D�C�Y�϶��Q�����w���ҮѡA�ҮѤp�W�]���|��ܦb [�޲z] �������C

�ѨM���

1.  �H�޲z�ϥΪ̨���n�J�� �w�� Sun ONE Application Server �n�骺�t�ΡC

2.  �N http ��ť�{���s����w�˦b�~���K�X�ҲդW���ҮѤW�C��� asadmin ��O�C�Y�n��o���� asadmin ��O����h��T�A�аѾ\ asadmin(1M) �u�W���U���C

/sun/appserver7/bin/asadmin create-ssl
   --user admin --password
password
   --host
host_name
   --port 8888
   --type http-listener
   --certname nobody@apprealm:Server-Cert
   --instance server1
   --ssl3enabled=true
   --ssl3tlsciphers +rsa_rc4_128_md5
   http-listener-1

����O�|�إ��ҮѻP��A����Ҥ������s���A��ä��w���Ү� (�ϥκ޲z�����i�H�w���Ү�)�C�Y�ϱN�Үѳs���� http ��ť�{���Ahttp ��ť�{���]�|�b�D SSL �Ҧ��U�i�氻ť�C

3.  �ϥΥH�U CLI ��O�A�� http ��ť�{���b SSL �Ҧ��U��ť�C

/sun/appserver7/bin/asadmin set
   --user admin
   --password
password
   --host
host_name
   --port 8888
   server1.http-listener.http-listener-1.securityEnabled=true

����O�i�N��A����Ұ�ť���A�q�D SSL �t��� SSL�C

�����e�����B�J��A�ҮѱN��ܦb�޲z�������C

4.  �{�b�A�K�i�H�̻ݭn�ϥκ޲z�����s�� http ��ť�{���C

4728718

�إ߷s�����&�A���ë�w��x�ɪ���m�ȮɡA��i [������ɮ�] ��~�C

�b [�޲z] �������A����ϥΤ�x�����[�J���ȡC

�ѨM���

�R����إߪ����&�A���A�إߩһݪ��ɮסA�M�᭫�s�إߵ��&�A���C

�`�N�G���קK�N�ӥX�{���D — �@�ߥ�إߤ�x�ɡA�M��A�xիإ߷s�����&�A���C

4741123

�b Solaris 9 update 2 ���A�w�]�s��P Sun ONE Application Server 7 ���ۮe�C

��z�x��ǥ� Solaris 9 4/03 �@�~��ҹw�]�s��ϥ� Sun ONE Application Server �޲z�����ɡA�t�η|��ܥH�U��~�T���G

���䴩���s��GNetscape 4.78�C

��ij�N�s��ɯŦ� Netscape 4.79 �� Netscape 6.2�A�H��� Sun ONE Application Server �ϥΪ̤����C��ܤ��~����M���ɯŪ��ϥΪ̡A�i��|��N��į�U���M/�ΥX�{�D�w�j��欰�C

�`�N�G��z��檺�O�t�A�b Solaris 9 4/03 �@�~��Ҥ��� Sun ONE Application Server �޲z�����ɡA�ݭn�ϥ� Netscape 4.79 �� Netscape 7.0�C

�ѨM���

  • ��� Sun ONE Application Server 7 ���A�ɯŦ� Netscape 4.79 �� Netscape 6.2 — �Шϥ� /usr/dt/bin/netscape6 �ӫD /usr/dt/bin/netscape�C
  • �p�G�ϥ� Solaris �H���� Sun ONE Application Server 7�A�ɯŦ� Netscape 4.79 �� Netscape 7 — �Шϥ� /usr/dt/appconfig/SUNWns/netscape �ӫD /usr/dt/bin/netscape�C

4750616

�Y�Ǫ����� Netscape Navigator ���䴩�s��s���M�� (ACL)�C

�p�G�ϥ� Netscape Navigator ���� 6.x �� 7.x �ɹxսs�� ACL ���ءA�i��|�J�춡���ʪ����D (�Ҧp�A�s���A�Υä���� ACL �s��ù�)�C

�ѨM���

�п�ܥH�U�ѨM��k���@�C

  • �ϥΤ䴩�� Netscape Navigator 4.79 �����C
  • ��ʽs�� ACL �ɮסC�Y�n��o���� ACL �ɮ׮榡�ƪ��ԲӸ�ơA�аѾ\�uSun ONE Application Server �޲z���n�v�C

4752055

Netscape 4.8 �|�b [�޲z] �����W���ĵ�i�T���C

�ϥ� Netscape 4.8 �s�� [�޲z] �����ɡA�|�X�{�@��ĵ�i�A��X Netscape 4.8 �O���䴩���s��C��M�ϥ� Netscape 4.8 ��� [�޲z] �����ɩ|���ѧO�X�����D�A��ݭn�b�������� Netscape �s��W������աC

�ѨM���

�qĵ�i�T������� [�~��] �W�s���A�H�~��ϥ� [�޲z] �����C

�ϥ� Netscape 4.79�A�ΤɯŨ� Netscape 6.2 �����C

4760714

[�w���Ү�] �ù�W�X�{�L�Ī� [����] ��s�C

�b��ܩҦ���J�ҮѸ�T�� [�w���Ү�] �ù�A�޲z�������X�{�L�Ī� [����] ��s�C�p�G��@�U����s�A�h�|��ܿ�~�T���A��X����컡��C�u�n��@�U��󭶭������ج[���� [����] �s���A�K�i�ϥ���Ҭ������C

�ѨM���

��@�U�������椤�� [����] �s���A�H��o��Ҭ������C

4760939

SSL�G�� certutil ���ͪ���ñ�W�Үѥ���ܦb [�ҮѤp�W] �M�椤�C

certutil ���ͤF��ñ�W�ҮѡA�� [�ҮѤp�W] ����ܦb�޲z�������C

�ѨM���

�Y�n�ϥΦ�ñ�W�ҮѡA������ʽs�� server.xml �ɮסC

4848146

�p�G�s��ϥΥN�z��A���A�h�b�s�� �޲z���� �ɷ|�o�Ϳ�~�C

�p�G�s��]�w���ϥΥN�z��A���A�ӥB�N�z��A�����t�m���������ݥD��A�h��z�q [�}�l] �\����� [�Ұʺ޲z�D���x] �ɡA�|�o�Ϳ�~�C

�ѨM���

���ΥN�z��A���C

�Ϊ�

�N���ݦ�A���[�J��N�z��A�����������M�椤�C

Sun ONE Studio 4 �~���{��

���`���Фw���� Sun ONE Studio 4, Enterprise Edition (��Ӻ٬� Forte for Java) ���D�H�ά���ѨM��סC

ID

�K�n

4689097

�� Sun ONE Studio 4 �ϥΪ��ؿ��w�Ů�ɡA�|�o�Ϳ�~�C

�p�G�ؿ�c���ϥΤF�Ů�A�h�L�k���T�w�� Sun ONE Studio 4�C�w�˵{���|�ˬd�w�˸�|���O�_���Ů�A�p�G�o�{���Ů�A�h�|��ܿ�~��ܤ��C

�ѨM���

�b��w Sun ONE Application Server �� Sun ONE Studio 4 �ե󪺦w�˥ؿ�ɡA�ФŨϥΪŮ�C

4720145

�إ߻P����{�����s���ɡA�ߥX ConnectionException�C

Sun ONE Studio 4 �|�h�����ܱz�A�߰ݬO�_�n�إ߷s������q�@�~�A�M��ߥX���`���p�C

�ѨM���

���s�Ұ� IDE�C

4727932

�b FFJ ���ϥ� MAD ��ҷ|���ͰƧ@�ΡC

�P�ɨϥ� MAD �t�m�M Sun ONE Studio 4 �ɡA�|�o�Ͷ����ʰƧ@�ΡC

�ѨM���

�ФŦP�ɨϥ� Sun ONE Studio 4 �M MAD �t�m�C

4733794

�b [3�ε{��] �`�I�M�Ϊ� ejb-name �ܧ�L�k�G�p�C

�b3�ε{����Ҥ��A�p�G���3�ε{���`�I����ҥ\��� (�ƹ��k��\���) �� [�˵� EJB �W��] ���خ���ܹ�ܤ��A�ϥθӹ�ܤ��i�H�ܧ� Bean �� ejb-name ���!C�o���ܧ�|�M�Ψ�b�ʸ˵{�Ǥ��إߪ� 'alt-dd' �W�C�W���ܧ����|�ǰe�� Sun ONE Application Server alt-dd�C

�ѨM���

�L�C

4745283

�p�G�Ȧw�˺޲z�Τ�ݡA�h3�ε{���Τ�ݵL�k���C

�p�G�Ȧw�˺޲z�Τ�ݩ� Sun ONE Studio �~���{���A�h�L�k���3�ε{���Τ��3�ε{���C3�ε{���Τ�ݬO�W�ߩ�޲z�Τ�ݪ��M�˳n��C

�ѨM���

�w��3�ε{���Τ�ݮM�˳n��C�q�w�� Sun ONE Application Server �����ݾ�W�i�H��o����w�� (appclient �{���ɦb SUNONE_INSTALL_ROOT/bin ���U) �� appclient �M�˳n��C

�Y�n��o appclient �M�˳n��G

1.  ��� SUNONE_INSTALL_ROOT/bin/package-appclient[.bat]�C

�o�|�b SUNONE_INSTALL_ROOT/lib/appclient/appclient.jar ������ appclient.jar �ɮסC

2.  �N appclient.jar �0t��|���w�� Sun ONE Application Server �����ݾ�A�M���#�Y appclient.jar�C�z��o�� appclient �ؿ�3�ӥ]�t�Ҧ�3�ε{���Τ�ݵ{���w�M JAR �ɮסC

3.  �����ϥΤ��e�A�Э���ק�#�Y�b appclient.jar �ɮפ��� bin/appclient �{���ɡC3�Өϥ� asenv.conf (�b Windows 2000 ���� asenv.bat) ����ڸ�|�%N %CONFIG_HOME% �r��C

4.  �t�m asenv.conf (�b Microsoft Windows ���� asenv.bat)�A�p�U�ҥܡG

%AS_INSTALL%=APPCLIENT_INSTALLED_ROOT
%AS_JAVA%=
Your_Installed_Java_Home
%AS_IMQ_LIB%=APPCLIENT_INSTALLED_ROOT/imq/lib
%AS_ACC_CONFIG%=
APPCLIENT_INSTALLED_ROOT/config/sun-acc.xml
%AS_WEBSERVICES_LIB%=
APPCLIENT_INSTALLED_ROOT/lib

�`�N�Gappclient.jar �ɮץu��q�P�إ߸��ɮפ��q���㦳�ۦP�@�~�t�Ϊ����ݹq���W���C�Ҧp�A�b Solaris ���x�W�إߪ� appclient.jar �b Windows 2000 �W�N�L�k���C

�Y�n��o�ԲӸ�ơA�аѾ\ package-appclient �u�W���U���C

4725779

�w��t�m�� Sun ONE �S�w�ʽ�Ȥ���ܦb�s�边���C

�p�G�z�w�� Sun ONE Application Server ���G�p�t�m�F RAR �ɮסA�ùxլd�ݩʽ譶�����ʽ�ȡA�h�N�ݨ�w�]�ȡA�Ӥ��O�b sun-ra.xml �ɮפ���w���ȡC

�ѨM���

�q RAR �^�� Sun �S�w���y�z�� XML �ɮסA�ñN��m�� RAR ���P�@�ؿ�C�o�˱z�K�i�s�� s1as �y�z���C

�`�N�G�ϥΪ̥H�o�ؤ覡�s�褣�|�ܧ� RAR �ɮת���l���e�A��O�ǰe���A���� RAR �ɮפ��N�]�t�w��s�� XML �ɮסC

4733794

�b [3�ε{��] �`�I�M�Ϊ� EJB �W���ܧ�L�k�G�p�C

�b3�ε{����Ҥ��A�p�G���3�ε{���`�I����ҥ\��� (�ƹ��k��\���) �� [�˵� EJB �W��] ���خ���ܹ�ܤ��A�ϥθӹ�ܤ��i�H�ܧ� Bean �� ejb-name ���!C�o���ܧ�|�M�Ψ�b�ʸ˵{�Ǥ��إߪ� alt-dd �W�C�W���ܧ󤣷|�ǰe�� Sun ONE Application Server alt-dd�C

�ѨM���

�L�C

3�ε{���d��

���`���Фw���� Sun ONE Application Server 7 Update 1 �d��3�ε{�����D�H�ά���ѨM��סC

ID

�K�n

4714439

�b PetStore ���A�L�k�[�J�w�g�s�b���ϥΪ̡C

�b PetStore 3�ε{���d�Ҥ��A�xե[�J�w�g�s�b���ϥΪ̮ɡA�ù�W�|��ܰ��|�l�ܡC

�ѨM���

�L�C

4726161

���쭫�s�G�p�A�ק諸�d�Ҥ~�|��s�C

�p�G�ϥΪ̹xզh���G�p�d�ҡA�h�b���ӷL�ܧ�í��s�ʸ�3�ε{����A�N��ܥH�U��~�T���C

     �u�w�G�p�v

�����D�|�v�T�j�h�ƽd�ҡA�]�����̨ϥ� Ant ���ε{���M common.xml �ɮסA�G�̳����u�G�p�v�ؼСA�]���|�N3�ε{�����G�p�M�귽�n��۲V�c�C

�ѨM���

�п�ܥH�U�ѨM��k���@�G

���ϥ� Ant ���ε{�� build.xml �ɮ� (�]�t common.xml �ɮ�) ���j�h��3�ε{���d�ҡA����J�H�U��O�C

% asant deploy_common

����L�Ҧ�3�ε{���d�ҡA����J�H�U��O�C

% asant undeploy
% asant deploy

4733412

3�ε{���d���ഫ�{���b Web �Ҳդ������l�� JAR �ɮסC

�ഫ�{��3�ε{���b WEB-INF/lib �ؿ�U�����l���L���A�ഫ�{�� EJB JAR �ɮסCEAR �ɮצ��3�ε{���d�ҥؿ�U�C�b�H���� Solaris �������A�����G

/usr/appserver/samples/ejb/stateless/converter/stateless-converter.ear

�^���ɮסA�ò����W���u�L���A�ഫ�{���v�� Web �Ҳդ� WEB-INF/lib �ؿ�A�K�i�ݨ���ɮסC�Ӥ��l�� JAR �ɮ׷|�M�Ψ�Ҧ��I�s EJB �Ҳժ� Web �ҲաC�����D���ڥ���]�O�ѥΩ�c��3�ε{���� common.xml �ɮשҤް_�C

�ѨM���

�L�C���3�ε{���d�Үɤ��|�v�T�\��C

4739854

�ϥ� asadmin �G�p�귽�����n����C

�b�Y�ǽd�Ҫ������󤤡A�|��ܱz�ϥ� asadmin ��O�G�p3�ε{���A��èS�����Ѧp��إߩһݸ귽������C

�ѨM���

�ϥ� asadmin ��O�A�i�H�G�p3�ε{��/�귽�F�Ѧҽd�Ҫ� build.xml �ɮסA�i�H����h��T�C�q��� asant deploy ���C�L���G���٥i�H����h��T�C

��� JDBC/BLOB �d�ҡA�U�C�B�J�ϥ� asadmin (���]�D��W�٬� jackiel2�A�B�޲z��A�����ϥΪ̦W��/�K�X/�s����O admin/adminadmin/4848) �إ߸귽�G

asadmin create-jdbc-connection-pool --port 4848 --host jackiel2 --password adminadmin --user admin jdbc-simple-pool

--datasourceclassname com.pointbase.jdbc.jdbcDataSource --instance server1

asadmin set --port 4848 --host jackiel2 --password adminadmin --user admin

server1.jdbc-connection-pool.jdbc-simple-pool.property.DatabaseName=jdbc:pointbase:server://localhost/sun-appserv-samples

4747534

lifecycle-multithreaded 3�ε{���d�ҭn�D��J 8 ���޲z�ϥΪ̱K�X�C

�ϥ� asant deploy ��O�G�p3�ε{���d�� lifecycle-multithreaded.jar �ɮ׮ɡA�t�η|���ܱz��J 8 ���޲z�ϥΪ̱K�X�C

�ѨM���

�L�C

4748535

�U���d���ɮװ��D�C

1.  �ϥβĥ|�ӰO��ﶵ�ɡA�O��d�ҷ|���ͦh�Ӥ�x�ɡC

2.  �O��d�Ҧ����l�� log.properties �ɮסC

3.  �d�һ����󤤪��w���ʱ¤����������T�C

�ѨM���

1.  �����B�z�{�����e��N����C�аѾ\ GreeterServlet.java ���� initLog() ��k�C

private void initLog (String log_type) {
   //�����Ҧ��B�z�{��
   Handler[] h = logger.getHandlers ();
   for (int i = 0; i < h.length; i++) {
      h[i].close () ; //�������
      logger.removeHandler (h[i]) ;
   }
   ...
}

�P�ɡA�ϥΪ��[�ﶵ�}���ɮ׳B�z�{���C�аѾ\ GreeterServlet.java ���� addHandler()�C�g�J�G

Handler fh = new FileHandler (log_file, true);

�ӫD

Handler fh = new FileHandler(log_file);

2.  �s�� build.xml �ɮסA�p�U�ҥܡG

< <fileset dir="${src.docroot}" excludes="cvs,annontation"/>

> <fileset dir="${src.docroot}" excludes="cvs,annontation,log.properties"/>

3.  �b [���3�ε{���d��] �Ϭq���A�q��O������ domains/domain1/�A�b server.policy �ɮפ��[�J�w���ʱ¤����ءC

4752731

�H PointBase 4.4 ��N PointBase 4.3�C

�U��æw�� PointBase �M�d�ҡA(http://hostname:port/samples/docs/pointbase.html) �ɡA�o�ǫ�O�O�w�� PointBase 4.3�C��O�APointBase 4.4 �w�g��N�F PointBase 4.3�C

�ѨM���

�b [��s�d�� Ant �ɮ�] �Ϭq���A�ϥ� pbtools44.jar �M pbclient44.jar �ɮסA�Ӥ��O pbtools43.jar �M pbclient43.jar �ɮסC

�b [�Ұ� PointBase] �Ϭq���A�� UNIX ���x�W�W�ߤU��æw�˪� PointBase�A�ϥ� pointbase_install_dir/tools/server/start_server �Ұ� PointBase�C

ORB/IIOP ��ť�{��

���`���Фw���� ORB/IIOP ��ť�{�����D�H�ά���ѨM��סC

ID

�K�n

4743366

�b server.xml �ɮפ��Aiiop-listener ���$�����}�ݩʤ��䴩 ANY�C

�b�w�]�t�m���A�ϥ� iiop-listener ���$�����}�ȡu0.0.0.0�v�t�m Sun ONE Application Server�C���w�]�t�m���|��ť IPv6 �����A�Ȱ�ť�t�ΤW���Ҧ� IPv4 �����Ciiop-listener ����}���$��� ANY ���Ȥ���䴩�A�]���䤹�\��A����ť�t�ΤW���Ҧ����� (IPv4 �� IPv6)�C

�b server.xml �ɮת� iiop-listener ���$��A���}�ݩʪ� ANY �Ȥ��\��ť�t�ΤW���Ҧ��i�Τ����A�]�A IPv4 �M IPv6 �����C

�ѨM���

��� IPv4 �M IPv6 �����A�Шϥ� iiop-listener ���&�}�Ȥ����u::�v�C���ѨM��׶ȾA�Ω� Solaris 8.0 �Χ󰪪����C

4743419

RMI-IIOP �Τ�ݤ���Ω� IPv6 ��}�A�]�� DNS ��}�d�� IPv6 ��}���ѡC

�p�G DNS �d�� IPv6 ��}���ѡARemote Method Invocation-Internet Inter-ORB ��w (RMI-IIOP) ���Τ�ݵL�k�ϥ� IPv6 ��}�C

�ѨM���

3�Ӧb�G�p��W�w�˻��W�٪A�� (DNS)�A�o�ˤ~��d�� IPv6 ��}�C

4810199

�̹w�]�A���|�ҥ��H���� Sun ONE Application Server 7.0 Standard Edition �B�g�L�̨Τƪ� CORBA Util Delegate�C

Sun ONE Application Server 7 ���w�]�w�ˤ��ϥΰ��į઺ CORBA Util Delegate�C�]���A�ϥ� JDK �H���� Sun ONE Application Server �H���� ORB �ɡA�z�|�o�{�į����U���C

�аѾ\�uSun ONE Application Server �į�վ��n�v���uORB �վ�v�Ҳդ����u���į� CORBA Util Delegate ���O�v�@�`�C

�ѨM���

�ϥΰ��į� CORBA Util Delegate ���{���i�H��۴����į�C�Y�n�ҥΨ�L CORBA Util Delegate�A�Цb Sun ONE Application Server �t�m�ɮ� server.xml ���[�J�H�U���e�G

<jvm-options>-Djavax.rmi.CORBA.UtilClass=com.iplanet.ias.util.orbutil.IasUtilDelegate</jvm-options>

��ڤ� (i18n)

���`���Фw������ڤư��D�H�ά���ѨM��סC

ID

�K�n

4757859

�D���x�W���h�줸�հT����ܬ��w���l�C

�p�G�t�ιw�]���s�X�覡���O UTF-8�ASun ONE Application Server ��X�i��ɭP�h�줸�զr���L�k���T��ܡC

�ѨM���

�b�s��}�� server.log �ɮסC

4761017

�b Solaris �H���������G�޲z�����H�^����ܡC

�ѩ�b Solaris �H���������S���޲z��A����Ҫ����y�����ءA�]���g�L���g�ƪ� Sun ONE Application Server �޲z�������H�^����ܡC

�ѨM���

��ʳ]�w server.xml �ɮפ����y����Ҷ��ءC

4783129

�b Microsoft Windows ���G�b ja �y����Ҥ���ܭ^�媺 about.html�C

�p�G�b ja �y����Ҥ��Ұ��s��Aabout.html ��N�H�^�� (�Ӥ��O���) ��ܡC

�ѨM���

�ܧ� URL�A�p�U�ҥܡG

�ۡG

.../about.html

�ܧ󬰡G

.../ja/about.html

4840621

�� Sun ONE Application Server �b�D�^��y����Ҥ����ɡA[�k��] ��s���_�@�ΡC

�� Sun ONE Application Server �b�D�^��y����Ҥ����ɡA�H�U��m�� [�k��] ��s�ä����x�ɶi���k�ɡG

[3�ε{����A�����] -> [�O��] -> [��x�����] -> [���Ƶ{�{������x����]

�ѨM���

1.  �����H�U�ؿ�G$install_dir/domains/domain1/server1/bin

2.  �}�� rotatelogs �ɮסC

3.  ��H�U������!G#LANG=C; export LANG

4.  �[�J�H�U��GLC_ALL=C; export LC_ALL

5.  �A��@�U [�k��]�C

N/A

�b Solaris ���A�s�b�P�s�� Netscape 4.79 �������C

  • �b Solaris ���ϥ� Netscape 4.79 �ɡA���g�ƪ� JavaScript �T���|��ܬ��ýX�CJavaScript �L�k�B�z UTF-8 �s�X�C
  • �󤤤� GB18030 �y����ҤU�A�b Solaris ���ϥ� Netscape 4.79 �ɡA������ GB18030 �r���C

�ѨM���

�Цb Sun ��W�� Solaris �U�� Netscape 6.23 �� 7.0�C�p���K�i�ѨM���D�C

Solaris x86 ���x (�ȭ��� Solaris �H���n��M Sun Java Enterprise System)

���`���� Sun ONE Application Server �� Solaris x86 �������w�����D�M����A�Ӫ����]�t�b Solaris �H���n��M Sun Java Enterprise System ���C

ID

�K�n

N/A

Solaris X86 ����

�L Sun ONE Studio �~���{���CSun ONE Studio �~���{�����O Solaris x86 ���x�W Sun ONE Application Server �������@���!A�]�� Sun ONE Studio �b Solaris X86 ���x�W���i�ΡC

Web ��A���~���{���C�ȷ�P Apache Web Server �@�P�ϥ� (�Ӥ��O�P Sun ONE Web Server �@�P�ϥ�) �ɤ~�䴩 Web ��A���~���{�� (���ɺ٬��ϦV�N�z�~���{��)�A�]�� Sun ONE Web Server �b Solaris X86 ���x�W���i�ΡC

Solaris �䴩�C�� Solaris 9 Update 2 �Χ�s�� Solaris �䴩 Solaris X86 �����A����ª� Solaris �����䴩�Ӫ����C

���w�ˡC�S���Ω� Solaris x86 ���x�����w�ˡC

4890285

��� Solaris x86 ����������D�C

Solaris x86 �i�ण�|�C����䴩�����x�C�b�C�X Sun ONE Application Server �䴩���x����󤤡A�i�ण�]�A Solaris x86 ���x�C�Y�n��o�̷s���x��T�A�аѾ\�u���x�K�n�v�C

�� SPARC ���ѦҡC�uDeveloper's Guide to NSAPI�v�]�A�� Solaris SPARC ���ѦҡA�o3�ӬO�� Solaris (Solaris �]�A SPARC �M X86) ���ѦҡC

����w�˪��ѦҡC�u�w�˫�n�v�M�u�ֳt�J���n�v���Хi�P�w�˵{���@�P�ϥΪ���� (�ֳt) �w�ˡC��� Solaris x86 ���x�W�� Sun ONE Application Server�A���w�˿ﶵ���A�ΡC

Sun ONE Studio �~���{���C��������]�t�� Sun ONE Studio �~���{�����ѦҡA�ӥ~���{���b Solaris x86 �W���i�ΡC

Web ��A���~���{������P Sun ONE Web Server �@�P�ϥΡC��������]�t�N Web ��A���~���{���P Sun ONE Application Server �@�P�ϥΪ��ѦҡC

������

���`���Фw������������D�H�ά���ѨM��סC

ID

�K�n

4720171

 

�S����������&p��ϥΤw�s�dު��G�p�ؿ�C

�G�p3�ε{���ؿ�W�٪��s����׳��$w�@���إ߯d޾����A�H�K��}�o�̭ק�P�G�p3�ε{�����p�� JAR �M/�����O�ɮסC�ѩ�b�x��мg�ˤJ�ɮ״v��|�o�ͦ@�ιH�W��~�A�]���W�z���e��� Windows ���x�ܭ��n�FWindows �|���@�w��J���ɮסC�b�Ұʶ��q�@�~�v��A�ɮ׷|��J���A����ҩ� IDE ���C�o�ͦ@�ιH�W��~�ɡA����ӿ�ܡG

  • �sĶ��s�����O�ɮ� (���O JAR �ɮת��@����)�A�ñN���m�����O��|���A�H�K�b��J�����O���e��J�s���O�ɮסA�M�᤹�\ Sun ONE Application Server ���s��J��3�ε{�� (�u�n�i�H�ϥέ��s�ˤJ�Y�i)�A�Ϊ�
  • ��s JAR �ɮסA�إ߷s�� EAR �ɮסA�M�᭫�s�G�p3�ε{���C

�`�N�G�b Solaris ���x�W�������s�G�p3�ε{���A�]�������x�W�S���ɮ���w������C

�ѨM���

����� IDE �w�ˡBANT �ɮ׽ƻs�B�sĶ�Ψ�L�@�~�A�Ӧb Windows ���x�W�ܧ�w�g�G�p��3�ε{���ɡA�Ъ`�N�t�η|�إߨ㦳���W�d޸��X���s�ؿ�A�H�ѨM�ɮ���w������D�C�Ҧp�G�b Solaris ���x�W�A�N J2EE 3�ε{�� helloworld �G�p�� Sun ONE Application Server ���p�U�ؿ�c�G

appserv/domains/domain1/server1/applications/j2ee-apps/helloworld_1

�M��A�惡�w�G�p��3�ε{�� (�Ҧp HelloServlet.java) ���� servlet �i���ܧ�C�N�Ұ� Sun ONE Studio IDE�A���ܧ�M�sĶ�� servlet ���ӷ��ɮסA�䤤 javac ���ؼг]�w���W�z�ؿ�C��ӷ��ɮ׽sĶ�쥿�T��m��A��3�ε{�������s��J�ɮקY�s�b�Aserver.xml �������s��J�X�г]�w�� True�F���A����Ұ��ɡA�L�ݭ��s�զX�έ��s�G�p3�ε{���Y�i���ܧ�ͮġC

��� Windows ���x�AJAR �����O�ɮץѩ��ɮ���w���D�ӵL�k�ܧ�M��s�C��� Windows �W�������D�A����سB�z��k�G

  • �sĶ�w�ܧ󪺨ӷ��ɮרùw��p���n���O��|�������O�ɮש� JAR�A�H�K3�ε{���ѧO�ӷ��ܧ�F�Ϊ�
  • �ܧ� helloworld �ӷ��A���i��զX�í��s�G�p�A���� helloworld ����e�G�p�C

�̦n�ϥβĤG�ؤ�k�A�]���Ӥ�k�|�b�G�p��3�ε{���ؿ�W�٤W���[���W���d޸��X�C�]���A�b�ĤG���G�p helloworld �H��A�ؿ�c�p�U�ҥܡG

appserv/domains/domain1/server1/applications/j2ee-apps/helloworld_1
appserv/domains/domain1/server1/applications/j2ee-apps/helloworld_2

�Цb helloworld_2 �U��� helloworld ���G���G�p�C

 

4717815

 

�ݭn��X Sun ONE Studio 4 �P Application Server 7�C

���� Sun ONE Studio 4 �P Application Server ����X��T������C�ݭn���ѧ��㪺����A�H�Φ�����󪺲M����|�C

�ѨM���

�аѾ\ Sun ONE Studio 4 �������A�H��o������󪺫�ܡC�b�uApplication Server �ֳt�J���n�v�P�u�޲z���n�v���A�i�H����h��T�C

 

4837479

 

�S������q�D ACC �Τ�ݦs�� JMS �ؼЪ�������C

����p��q�D ACC �Τ�ݦs�� JMS �ؼЪ���T�A�N�|�b Sun ONE Application Server 7 ���U�@�������[�J���uApplication Server �Τ�ݶ}�o�̫�n�v ���C

 

4849663

 

�������~�a��X�D ACC �Τ�ݨϥΨëD JNDI ���r��C

�b�uApplication Server �Τ�ݶ}�o�̫�n�v���uUsing the Application Client Container�v�@�����A�D ACC �Τ�ݿ�~�a�ϥΤF�ëD JNDI ���r�����o��l���R�W��ҡC

�ѨM���

�ϥ� JNDI �d�����o�R�W��l��ҡG

env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.cosnaming.CNCtxFactory");

env.put(Context.PROVIDER_URL, url);

 

4855015

 

���� DNS �y�z���w�]���z�����T�C

�b�uApplication Server �޲z��t�m�ɮװѦҡv���uSyntax and Use of init.conf�v�@�����ADNS �y�z�w�]�Q��~�a���z�� on�C���T���w�]�� off�C

 

N/A

 

�u�ֳt�J���n�v�C�X�� SDK �������~�C

�b���� Update 1 ���uApplication Server �ֳt�J���n�v���A�Q�C����䴩���O Java 2 Software Development Kit, Standard Edition 1.4.0_02�C�� Update 1 �䴩�������O 1.4.1_01

�ѨM���

�L�C

 


�p���i���D

�p�G�z���t�Φ����D�A�ШϥΤU�C�~�|���@�P�Ȥ�䴩�p���G

�b�p���䴩���e�A�Х�dzƦn�U�C��T�C�H�ϧڭ̪��䴩�H��i�H�󦳮Ħa0�U�z�ѨM���D�G


�Y�n��o��h��T

�i�H�b�U�C��ں���m�W��� Sun ONE �����θ�T�G


�׭q��{

���`�C�X�F�ۭ����o�G Sun ONE Application Server 7 ���~�H�ӡA��o�Ǫ����`�N�ƶ��Ұ����ܧ�C

�׭q���

���ܧ󪺴y�z

2003 �~ 4 ��

�Ĥ@�� Sun ONE Application Server 7 Update 1

2003 �~ 10 ��

�w�g�L��s�H�]�A���� Solaris �H���n��M Sun Java Enterprise System ���� Solaris x86 ���x������T


Copyright © 2003 Sun Microsystems, Inc.�C���v�Ҧ��C

Sun�BSun Microsystems�BSun 2�СBSolaris�BiPlanet�BJava �M Java �@�تM2�ЬO Sun Microsystems, Inc. �b���Ψ�L��a/�a�Ϫ��ӼЩε�U�ӼСC�ϥ� Sun ONE Application Server ������u�n���H�������v�X��ҭz����ڡC