Sun Java System Application Server 7 ��������

Sun™ Java System Application Server 7 ��������

(��Ӻ٬� Sun ONE Application Server)

Version 7, Update 3

��󸹽X 817-6317-01

2004 �~ 2 ��

�o�Ǫ�������t�A�o�� Sun Java System Application Server ���� 7 (��Ӻ٬� Sun™ Open Net Environment [ONE] Application Server) Update 3 ���~�ɴ��Ѫ����n��T�C


��

�b�����H�Τ�󶰪���L��󤤡A�����~���M�٬� Sun ONE Application Server�C


�P���٤��ФF�W�j�\��B�w�˻���B�w�����D�H�Ψ�L�̷s���D�C�b�}�l�ϥ� Sun ONE Application Server 7 Update 3 ���~���e�A�Х�\Ū�����M������C

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


��������׭q��{

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

��� 1 �׭q��{  

���

���ܧ󪺴y�z

2004 �~ 2 ��

�Ĥ@�� Sun ONE Application Server 7 Update 3�C


��� Sun ONE Application Server Version 7 Update 3

Sun™ ONE Application Server 7 ���Ѱ��į� J2EE ���x�A�ӥ��x�A��s�x���p3�ε{���A�ȻP Web �A�ȡC

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

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

���� Sun ONE Application Server 7 ���~�s�W�\�઺��T�A�i�H�q�uSun ONE Application Server What's New�v��󤤧��A�Ӥ����G

http://docs.sun.com/db/prod/s1.asse

�ݨD�P����

���� Sun ONE Application Server 7 Update 3 ���~�����x�ݨD��T�A�i�H�q�uSun ONE Application Server Platform Summary�v��󤤧��A�������G

http://docs.sun.com/db/prod/s1.asse

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

���x�ݨD

�U�?�A�F Sun ONE Application Server 7 Update 3 ���ݨD�C�Y�n��o���㪺���x��T�A�аѾ\�uSun ONE Application Server Platform Summary�v���A�������G

http://docs.sun.com/db/prod/s1.asse

��� 2 Sun ONE Application Server �����x�ݨD  

�@�~�t��

�[�c

�̤p�O����

��ij���O����

�̤p�ϺЪŶ�

��ij���ϺЪŶ�

UNIX

�� SPARC �� Sun Solaris 8 �� 9

32 �M 64 �줸

256 MB (���a Sun Java Studio)

512 MB (�a�� Sun Java Studio)

512 MB

250 MB �i�ΪŶ�

500 MB �i�ΪŶ�

Solaris x86 Version 9

32 �줸

Red Hat Linux 7.2, 7.3

Red Hat Enterprise Linux 2.1, 3.0

Microsoft Windows

Windows 2000 Advanced Server, SP2

Windows 2000 Server, SP2

Windows 2000 Professional, SP2

Windows XP Professional

Intel 32 �줸

256 MB (���a Sun Java Studio)

256 MB (�a�� Sun Java Studio)

256 MB (���a Sun Java Studio)

512 MB (�a�� Sun Java 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

http://sunsolve.sun.com/

Solaris 8 ���ݪ��׸ɵ{���O 109326-06�B108993-23 �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

Solaris x86 ����


���������ץ�����~

���`�C�X Sun ONE Application Server 7 Update 3 ���~���w�ѨM���ѫȤᴣ�X�����D�C

��� 3 Application Server 7 Update 3 ���ץ�����~  

��~�s��

����

4724728

�p�G�D�������w�q����k�ȬO�W�Ť������ҩw�q��k�����s�w�q�A�h Sun ONE Application Server �h�����Ͱ��{���X�C

4811431

�p�G server.xml ������m�ʽ�H�׽u (/) ���!A�h�L�k�s�� Web �ҲաC

4818853

ManagedConnection �P LocalTransaction �����p���b EJB �����O�d�C

4830338

cookie �����h�줸�զr���L�k�ϥΡA�åB�z�L�k�� cookie �� URL �s�X�C�p�ݨ�L��T�A�аѾ\��ڤ� (i18n)�C

4849513

�ʺA���s��J�b�Ĥ@����z sun-application.xml ���ܧ��N���A��z�C

4851218

��󥼸��&p��ϥΦ�ñ�W���ҡC

4853543

���䴩�b�W�����O���ŧi�Y�Ǥ��}��쪺 PK (�D��) ���O

4860400

�I�s Class.getPackage() �ɡAEJB Classloader �Ǧ^�ŭȡC

4861948

���s��l�ƤW�U�大��AgetEJBMetaData() ���ѨåX�{���`�C

4869664

��줸�զr���ɭP HTTP GET URL ���X�{���D�C

4870233

�a��������O�ubuffer=none�v�� JSP �b�q�D�N�z��ť�{���ᤣ�i��@�~�C

4884552

���� URI ���ˬ���Aauth-method=CLIENT-CERT ���j�� SSL �Τ�ݻ{�ҡC

4886253

�L�k�b�q�D�N�z��ť�{�����^�� X509 �Τ�ݾ��ҡC

4892587

Sun ONE Application Server ���j��ugrant signedby�v�����C

4893954

��󥼸��0�� Cron ����x����p�󭫷s�Ұ� Sun ONE Application Server�C

4895814

request.getRequestURI() �Ǧ^���@�P���ȡC

4904100

�״I���Τ�� (���㦳 ACC) �����s�� Sun ONE Application Server �W�ҳ��p��3�ε{���ɡA�l�ץX�{���`�C

4907283

�p�G JSP �n�D�����Ϥ&r�$j�p�g�A��A�� JVM �|�b�ϥ� JDK1.4.1 �ɷ��C

4909380

�Ѱ��w�˰�� Sun ONE Application Server �M�˳n�骺�D�H�����~�|�����@�ε{������C

4910686

�Y�� HTTP �𥼱ҰʥΤ�ݻ{�ҡASun ONE Application Server �����k�ʻ{�ҡC

4913290

��󥼫�ܰ���檺���Ҥ����� iPlanet Application Server 6.x �����ۦP�\��C

4913458

Web �e������W�٤��O�ߤ@���C

4917206

�ȯ�z�L�޲z GUI ����Ӧ�A���]�w ACL�A�Ӥ��ର����L���3]�w�C

4922884

�Ӧ� JAX-RPC �Τ�� (�ϥΰʺA�N�z��k) �� Web �A�ȩߥX�u������A����~�v

4925548

appclient �{���ɵL�k�P JDK 1.4.2 �t�X�ϥΡC

4930027

�ϥ� jsp:useBean �|���� Sun ONE Application Server �į���D�C�p�ݧ�h��T�A�аѾ\ JSP �sĶ���C

4937416

�ϥΡu�ۭq�ϥΪ̭�h�v���O�|�ߥX ClassCastException�C

4958393

ServletContext.getContext(String) �Q�q�ڤW�U��I�s�ɡA���Ǧ^��L�W�U��C


���n��T

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

������

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

http://docs.sun.com/

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

Sun ONE Application Server 7 ������

���o�Ǫ�������~�ASun ONE Application Server 7 Update 3 ���~�٥]�A�@��M���C�b Update 3 ����s�� Sun ONE Application Server 7 ���㦳�s����󸹽X�A�æb�H�U�M�椤�Q��ܬ��w�׭q�C���q��e��s�������ܧ󪺤��㦳�ۦP��󸹽X�C


��

�p�G�o�{���j���D�A�i��|�׭q���C�b�o�ر��p�U�A�׭q�����|�o�G�b����W�C�̫��s��w|�P���v��T�@�_��ܦb��� HTML �������C


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

http://docs.sun.com/db/prod/s1.asse

�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

http://docs.sun.com/db?p=prod/s1.s1msgqu

Sun Java Studio 5 Standard Edition ������

�z�i�H�P Sun ONE Application Server �t�X�ϥΪ� Sun Java Studio 5 Standard Edition ���~����M�Ϊ����A�i�H�b�H�U��m���G

�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�Ӽ˦�����G

server_root/lib/install/applications/admingui/adminGUI_war/help

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

�ɯŻ���

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

http://docs.sun.com/db/prod/s1.asse


��

�S��²�餤�媩�P��媩���ɯŵ{���C�]���A�p�G�z�n�q�{�����w�ˤɯŨ�²�餤�媩�Τ�媩�� Sun ONE Application Server 7 Update 3�A�h�ݭn�ϥθѰ��w�˵{���ӸѰ��w�˲{���� Sun ONE Application Server �����A�M��A��� Sun ONE Application Server 7 Update 3 �������w�ˡC�аѾ\�uSun ONE Application Server Installation Guide�v��������C



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

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


��

�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™ ����Ӥ��䴩��ʸ�/��|�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�ε{��

  • ��ʸ˦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�� (���a Solaris 9) �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�z�i��|�b�Ұʨ㦳�ۦP���/��ҦW�٪��ĤG�ӹ�Үɬݨ�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

�L�T���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�L�T���w�˵{�Ǥ�����榹�ˬd�C�]���A�᭱���w�˷|�]���z�S������\�i�v�Ӧw�ˮM�˳n�� (Solaris) �ΫإߪA�� (Microsoft Windows) �ӥ��ѡC

�ѨM���

�T�w�H�A�?�ϥΪ̨�����L�T���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 (�C�󪩥� 1.2)�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�L�T���Ҧ��w�˶}�o�w�ˡA�S����i����~�C

�v�T�b�L�T���Ҧ��U��檺�w�˵{���C�p�G�ϥΪ̹xզb Sun ONE Application Server 7 (�b�ۦP���ؿ�) �{�������w�˰�¦�W�i��w�ˡA�L�T���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�L�T���Ҧ��U���P�@�w�ˤu�@�ɬq���A�L�k���T�a��� Application Server �M Sun ONE Studio 4 Enterprise Edition for Java �{������C

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

�ѨM���

���� GUI �Ҧ��A����b��O��εL�T���Ҧ��U�w�� Sun ONE Application Server �{������A�M�����L�w�ˡA�æw�� Support for Sun ONE Studio �{������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�L�T���w�˴v��A�|�o�ͥؿ��~�C

�����D�|�v�T�Ҧ����x�W���L�T���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��] ��Ƨ� ([�}�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 Installation Guide�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 (��J�w�]�� flavormap.properties �ɮ� URL:file:/cdrom/appserver7#4/AppServer7/pkg/jre/lib/flavormap.properties �ɡA�L���ɮשΥؿ�)

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

�Ƶ�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 SPARC �M Linux ���A�p�G PointBase Shell �{���ɤ��O�Ѧw�˨ϥΪ̰�檺�A���N���ѡC

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

�ѨM���

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

4762694

�b Solaris ���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

4890289

�b Window 2000 Pro ���A�Ѱ��w�˵{���L�k��� JDK �Ӱ��Ѱ��w�ˡC

�b Windows 2000 Pro ���A�Ѱ��w�˥��Ѩ���ܥH�U�T���G

�Ѱ��w�˵{���L�k���A�? j2sdk�A�H���Ѱ��w�˵{���C�ϥ� -javahome �ﶵ�A�����Ѱ��w�ˡA�ӿﶵ�]�w���w�˦� j2sdk 1.4.0_02 �Χ󰪪������ؿ�C��U Enter �H����C

�ѨM���

�ϥ� -javahome JDK ��m�C

N/A

�b Red Hat Enterprise Linux AS 3.0 ���A�z�����b�w�� Sun ONE Application Server ���e�w�� compat-libstdc++ (�Ω��o�V�U�ۮe�ʪ��з� C++ �{���w)�C

�ѨM���

�b�w�� Sun ONE Application Server ���e�w�� compat-libstdc++�C�o�ǵ{���w�]�A�b Red Hat Enterprise Linux AS 3.0 CD �����C

��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 SPARC �����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�u�xըϥΨt�ΥD��W�٦Ӥ��O���a�D��W�٨Ӧs���A�ҥH�������W�h�i��|�����xաC

��������٥i��|�L�N�a����ĵ�ܡA�q���o�ͤF�uPortal of Doom Trojan�v��; (�Ҧp�A�b�� 3700 �W�xնi�� TCP �s�u) �������;�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���𸹽X�A�i��|�P�w���`����;�ϥΪ��𸹽X�ۭ��|�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:�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�� (���a��) ���@���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����Ҧ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

4780076
(��)

�Ѩ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
   ;;
...

4780076
(��)

  • �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(R) �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��Ʒ��a�C

�p�G�ϥ� Oracle(R) 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

4817642

���\�W�ߪ� Web 3�ε{���@�ΦP�@�u�@�ɬq ID �|�ɭP�w���ʳ��C

�ѨM���

�ھ� J2EE �W��A�C�ӳ��p�� Web 3�ε{�����|���@�W�ߪ��ߤ@�u�@�ɬq���� (�u�@�ɬq ID)�C�o�O Sun ONE Application Server ���w�]�B�@�覡�C��O�b�Y�ǹ�Ҥ��A�i��ݭn��W�ߪ� Web 3�ε{���@�ΦP�@�u�@�ɬq ID�C�b�o�ر��p�U�ASun One Application Server �i��z�b sun-web.xml ���p�y�z������w�S�w���p�S�ʡA�H�q��3�ε{����A���A���\���S��3�ε{���b��� Web 3�ε{���Ҳծɭ��ƨϥΤu�@�ɬq ID�C(�Ĥ@���s�� Web 3�ε{���N���ͷs���ߤ@�u�@�ɬq ID�C�y���㦳���S�ʳ]�w����L Web 3�ε{�����ШD�N�ϥθӬۦP�u�@�ɬq ID�A�Ӥ��|�����Τ�ݻP�� Web 3�ε{�����ͷs���u�@�ɬq ID�C)

�Y�n�o�˰��A���z�n���@�ΦP�@�u�@�ɬq���󪺨C�Ӥw���p Web 3�ε{���AreuseSessionId �S�ʥ����]�w�� true�C�Ҧp�G

<?xml version="1.0" encoding="UTF-8"?>
<sun-web-app>
   <session-config>
     <cookie-properties>
       <property name="cookiePath" value = "/" />
       <property name="cookieDomain" value = ".sun.com" />
    </cookie-properties>
   </session-config>
   <property name="reuseSessionID" value="true"/>
</sun-web-app>

�S�� reuseSessionID �b�˼ƲĤG�椤�]�w�� true�C

�`�N�G�ҥ� reuseSessionId �|�ɭP��b���w����w (���ޤ��O��ۨ����ʳ�)�C���S�ʤ�3�b�@����� (�p ISV) ���ϥΡA����Ҥ��\�h�ӫȤ�b�P�@ Sun One Application Server ��ҤW���L�̪�3�ε{���C �b�o�˪��]�w���A�ϥιw�]�� J2EE �B�@�覡 (�j��p�ܦP�@��A����Ҫ����P Web 3�ε{���ϥΤ��P���u�@�ɬq����) �|�w���o�h�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�u�@�ɬ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

4951476, 4967645

�ϥ� Java WSPD 1.2 �� 1.3 �ɷ|�ߥX���` javax.ejb.EJBException:org/dom4j/Element

�Ƶ�G�p�G�z��3�ε{�����ϥ� Java Web Services Developer Pack (Java WSDP) 1.2 �� 1.3�A�h���|�J�즹���D�C

�N Java WSDP 1.2 �� 1.3 �w�˨ðt�m���P Sun ONE Application Server 7 �t�X�ϥήɡAjavax.ejb.EJBException:org/dom4j/Element �i��|�� EJB �e���ߥX�C

�ѨM���

�N�̷s�� dom4j-full.jar �W�[�� server.xml �ɮפ��� server-classpath�C���i�H�b http://dom4j.org �U��A��3�u��ϥ� server-classpath ���� appserv-jstl.jar ���ءC

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

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

ID

�K�n

4732684

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

�Y�n�Q�� Oracle(R) ��Ʈ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 ���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

4747222

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

�p�G�b�q Oracle(R) ��Ʈ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(R) �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

�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 �мm�N���_�@�ΡC

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

  • Microsoft Windows:C:\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 �B��ɶ��P Sun ONE Application Server �ϥΪ��ۦP�C�p�G�� Sun ONE Application Server �t�m (�B�ѥN�z�{���ǰe�H�Ѩϥ�) �� Java �B��ɶ��Ҧb��|�]�t�Ů�A�h�N�z�{���Ұʷ|���ѡA�þɭP Sun ONE Application Server ��ұҰʥ��ѡC

�ѨM���

�T�w Sun ONE Application Server �ϥΪ� Java �B��ɶ��Ҧ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

JSP �sĶ��

���`���Фw���� JSP �sĶ�����D�H�ά���ѨM��סC

ID

�K�n

4930027

�ץ��� JSP �į���D�|�ɭP�� JSP �W�檺��Ķ���e Sun ONE Application Server ����������Ķ���Y��C

��z�b JSP �������ϥ� jsp:useBean �аO�ɡA�p�G���b��w�d�򤺧��P��w ID ��3������A�h�|�ϥ� Beans.instantiate() �إ߸Ӫ���A�ө�����w���ʽ�C

�ѨM���

Sun ONE Application Server 7.0 Update 3 ���ФF�s�� JVM �ﶵ (�٬� jasper.compiler.optimized)�A�ӿﶵ�u�� useBean �аO���B�@�覡�A�ù�{ JSP �W�檺���Y���Ķ�C�N jasper.compiler.optimized �мm���ȳ]�w�� true �|�ɭP Bean (�g�� useBean ���O�ʽ��w) �z�L�I�s�s�ȳг]�C�g�� beanName �ʽ��w�� Bean �z�L�I�s Bean.instantiate() �г]�C

jasper.compiler.optimized �мm���w�]�Ȭ� false�A�ɭP Beans.instantiate() �Q�I�s�A�Ӥ������O�� beanName �ʽ�O�_�b useBean �аO����w�C

�аѾ\�uJSP 1.2 �W��v���� 4.1 �`�A�H��o��L��T�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 {
   ....
}

�Ƶ�GgetProperties ��k�Ǧ^�@�Ӥ������O�C

��~�d�ҡG

D:\AppServer7a\appserv\domains\domain1\server1\generated\ejb\
j2ee-apps\smugglercom\spss\ssp\state\ejb\StateServerEJB_EJBObject
Impl.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 ���a�L�ݫʸ˩� EAR �ɮ� (�]�t�P RAR ���a�ɮ׬̪ۨ���~ 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

�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

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

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

���`�A�ΥH�U�譱�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(R) ���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

�Ƶ�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_tool s.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

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

�ѨM���

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

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

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

   ��@�U [����]�C
   ��@�U [�Ұ�]�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

�Ƶ�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��ܪ����a�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��

�ѨM���

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

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 Web ��A���~���{���ɭק�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

4938319

�ϥ� SSL �M Web ��A�� (�ϦV�N�z) �~���{���ɵo�Ϳ�~�C

�ϥ� SSL �M Web ��A���~���{���ɵo�� 502 ��~

�ѨM���

�N Sun ONE Web Server magnus.conf �ɮשM Sun ONE Application Server init.conf �ɮפ��� keepAliveTimout �ȳ]�w���ۦP���ȡC�p�G�o�ǭȤ��P�A�h�� Application Server �s�u�� Web Server �� Web Server �s�u�� Application Server �ɡA�s�u�i��|�Q��C�p�G�s�u�w�Q��A�z�|�ݨ� 502 ��~�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�u������ɮסv��~�C

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

�ѨM���

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

�Ƶ�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��B�@�覡�C

�Ƶ�G�p�G�z�n���t�A�b Solaris 9 4/03 �@�~��Ҥ��� Sun ONE Application Server �޲z�����A�N�ݭ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 ���a�� 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�ϥΤW�U��������C

�ѨM���

��@�U�������椤�� [����] �s���A�H��o�W�U��������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

4957860

�b Red Hat Enterprise Linux AS 3.0 ���A�L�k�W�[ MIME �����C

�xճz�L�޲z�����N MIME �����[�J MIME �����ɮ׮ɡA�|��ܿ�~�A�H����s�� [���� MIME ����] �����C

�ѨM���

�ѩ�w�]�y����ҳ]�w�� en_US.UTF-8 �ӫD en_US�A�]���|�X�{�o�ذ��D�C�ѨM��k�O�]�w export LANG=en_US�A�M�᭫�s�Ұʺ޲z��A���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

4725779

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

�p�G�z�w�� Sun ONE Application Server ���G�p�t�m�F RAR �ɮסA�ùxլd�ݯS�ʭ������S�ʭȡ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

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

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

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

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

�Ƶ�G appclient.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

3�ε{���d��

���`���Фw���� Sun ONE Application Server 7 3�ε{���d�Ұ��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���a�� 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

4965815

�O��/²��3�ε{������󤣥��T�C

�b�O��/²��3�ε{������� [���3�ε{���d��] �Ϭq���A��ܸ�3�ε{�����e��ӿﶵ���ݭn�b server.policy �ɮפ��i����ק諸�Ƶ��T�C�Ҧ��ﶵ���ݭn�� server.policy �i��ק�~����C

�ѨM���

���b���d�Ҥ��y�z���Ҧ��ﶵ�A�]�A�G

  • �ϥ� System.err.println �C�L��x�T�� (�Ӥ��O�ϥΰO��{��)
  • �ϥ� java.util.logging.Logger �C�L��T��x

�z�ݭn�ק� server.policy �ɮפ~���榹�d�ҡC�аѾ\��� install_dir/samples/logging/simple/docs/index.html ���d�Ҥ��A�H��o���㻡��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���p��W�w�˻��W�٪A�� (DNS)�A�o�ˤ~��d�� IPv6 ��}�C

4810199

�̹w�]�A���|�ҥΪ��a�� 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 ���a���� Sun ONE Application Server ���a�� ORB �ɡA�z�|�o�{�į����U���C

�аѾ\�uSun ONE Application Server Performance Tuning Guide�v���uORB Tuning�v�Ҳդ����uHigh performance CORBA Util Delegate Class�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>

4847269

J2SE 1.3.1_X �Τ�ݵL�k�P Sun ONE Application Server 7 �q�T�C

�p�G J2SE 1.3.1_X �Τ�ݻP Sun ONE Application Server 7 �q�T�A�ӥΤ�ݱN�o�ͰO����ɦL�C

�ѨM���

�N J2SE 1.3.1_04 �Ω�Τ�ݡC

��ڤ� (i18n)

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

ID

�K�n

4761017

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

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

�ѨM���

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

4830338

cookie �����h�줸�ո�ƥi��ݭn�b sun-web.xml ���i���ܧ�C

�i��ݭn�� sun.web.xml �i��Y���ܧ�A�H�K cookie �����h�줸�ո�ƥi�H���`�@�~�C

�ѨM���

�ھڱz�n�b cookie ���ϥΦh�줸�ո���٬O���Ʊ�� cookie �i��s�X�A����ظѨM��סC

�p�G�z�n�b cookie ���ϥΦh�줸�ո�ơA�h����ؤ�סG

  • �p�G�n�Ȩϥ� servlet API �ǰe�h�줸�� cookie (���b�Τ�ݤW�ϥ� JavaScript™ �]�w���h�줸�� cookie)�A�h sun-web.xml ���L�ݨ�L��T�C
  • �p�G�n�ϥ� servlet API �M JavaScript �ǰe�h�줸�� cookie�A�h�b sun-web.xml ���]�w�H�U���e�G
  • <property name="UseResponseCTForHeaders" value="true"/>
    <property name="encodeCookies" value="false"/>
    <locale-charset-info default-locale="ko">
    <locale-charset-map locale="ko" charset="euc-kr"/>
    </locale-charset-info>

�y����� ko �Q�Χ@�d�ҡC�z�i�H�ھ�3�ε{���ϥΥ�� locale-charset ��M�C

�p�G�z���Ʊ�� cookie �i��s�X�A�h�i�H�i��H�U�ܧ�C���רϥΦ�ػy���A�o���ܧ󧡷|�ͮġG

�̹w�]�ASun ONE Application Server URL �� cookie �i��s�X����A�N���̶ǰe�ܥΤ�ݡC�p�G�z�n����o�عB�@�覡�A�бN�H�U���e�[�J sun-web.xml�G

<property name="encodeCookies" value="false"/>

���H�W�d�ҡA�бN�o�Ǧ檽���m�� <sun-web-app> �аO�U�A�Ӥ����N���̴O�J��L���аO���C

4957904

�ϥΪ̦b�w�ˤ��媩�����޲z������L�k�ҰʸӤ����C

�w�ˤ��媩���� Sun ONE Application Server ��A�޲z�����H�^����ܡC

�ѨM���

��ʳ]�w server.xml �ɮפ����y����Ҷ��ءA�M�᭫�s�Ұʦ�A���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

������

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

ID

�K�n

4839719

�uDeveloper's Guide to Web Applications�v�GcookieName �S�ʪ��y�z�ϤH�~�ѡC

�b�uDeveloper's Guide to Web Applications�v���Asun-web.xml �ɮת����C�X cookie-properties �l���*� cookieName �S�ʡA�÷t�� cookieName �S�ʪ��ȥi�H�q�w�]���ܧ󬰨�L�ȡC��O�A�ӭȵL�k�ܧ�A�������l�׬� JSESSIONID�C

�ѨM���

�L�C

4720171

�S�����Цp��ϥίd޳��p�ؿ���C

�w���p3�ε{�����ؿ�W�٪��s����׳��$w��{���d޾��A�H���\�}�o�H��ק�P�w���p3�ε{�����p�� JAR �M/�����O�ɮסC�o�� Windows ���x�ܭ��n�A�]���b�x��мg��J�ɮ״v��|�o�ͦ@�ιH�W��~�FWindows �|���J�ɮ׶i���ɮ���w�C�b�u�@�ɬq�Ұʴv��A���ɮ׷|�Q��J��A����ҩ� IDE ���C���@�ιH�W��~�A�i��|����ؿ�ܡG

  • �sĶ��s�����O�ɮ� (��ӬO JAR �ɮת��@����) �í���N��m�����O��|���A�H�K�b��J�������O�ɮפ��e��J���ɮסA�M�᤹�\ Sun ONE Application Server ���s��J��3�ε{�� (�u�n���s��J�B��@�Τ�)�A��
  • ��s JAR �ɮסB�إ߷s�� EAR �ɮרí��s���p3�ε{���C

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

�ѨM���

�Ъ`�N�A�b Windows ���x�W�� IDE �]�w�BANT �ɮ׽ƻs�B�sĶ�Ψ�L�@�~�ܧ�w���p��3�ε{���ɡA�Шϥλ��W���d޸��X�إ߷s���ؿ�A�@���w���ɮ���w����ѨM��k�C�Ҧp�G�b Solaris ���x�W�A�i�ϥΥH�U�ؿ�c�N J2EE 3�ε{�� helloworld ���p�� Sun ONE Application Server�G

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

�M���ܧ�@���Ӥw���p3�ε{���@���*� servlet (�Ҧp�AHelloServlet.java)�C�N�Ұ� Sun Java Studio IDE�A�M���ܧ�ýsĶ�� servlet �����N�X�ɮסA�P�ɱN javac �ؼг]�w���W�z�ؿ�C�ѩ󷽥N�X�w�sĶ�ܾA���m�A�s�b��3�ε{�������s��J�ɮסAserver.xml �������s��J�мm�]�w�� true�A�ӥB�ѩ��A����ҥ��b���A�]���ܧ�Y�i�ͮĦӵL�ݭ��s��Ķ�M���s���p3�ε{���C

��� Windows ���x�A�ѩ��ɮ���w���D�A�L�k�ק�M��s JAR �����O�ɮסC�]���A�b Windows �W����ؤ�k�i�H�B�z�o�ذ��D�G

  • �sĶ�w�ܧ󪺷��N�X�ɮרñN JAR �����O�ɮ׫e�m�����O��|���A�H�K���N�X�ܧ�A��
  • �ܧ� helloworld ���N�X�A�ù��i���Ķ�M���s���p�A�Ӥ���� helloworld ����e���p�C

�ĤG�ؿ�ܬO�u���k�A�]���o�ؿ�ܷ|�ɭP�ϥΤw���p3�ε{�����ؿ�W�٩Ҫ��a�����W�d޸��X�C�]���A�b�� helloworld �i��ĤG�����p����A�ؿ�c�N�|�O�G

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

helloworld ���ĤG�����p�|�b helloworld_2 �U�i��C

4851218

�z�L�k�z�L Sun ONE Application Server �ϥ� keytool ���;��ҡC

�ϥ� keytool ���ͪ����һP Sun ONE Application Server ���ۮe�C

�ѨM���

�z�i�H�ϥ� certutil �Ӳ��ͦ�ñ�W���ҡC���O Sun ONE Application Server �����[����A�i�q�H�U��m��o�G

http://wwws.sun.com/software/download/app_servers.html

�p�ݦ���ϥ� certutil ����T�A�аѾ\�G

http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html

4870888

���ة󲣫~���uGetting Started Guide�v�����T�C

���ة󲣫~���uGetting Started Guide�v�]�t������x�M�j�p����T�����T�C���٬O�P 508 �������ۮe�C

�ѨM���

�p�ݥ��x�M�j�p�����T��T�A�аѾ\�uInstallation Guide�v���uPlatform Summary�v�C�p�ݻP 508 �ۮe�������uGetting Started Guide�v�A�аѾ\���B�o�G�������G

http://docs.sun.com

4875280

�u�W�����Y�Ǵy�z�����T�C

  • �b asprfhls.html �ɮפ��G

�T�w SSL3 �O�_�w�ҰʡC���޲z�γ~�A��ij����� SSL2 �öȨϥ� TLS�C(�ɮצW�٬� asprfhls.html)

�p�G�z���s��䴩 TLS�A�п�� SSL3�C

��O�A���y�z3���G

�T�w SSL3 �O�_�w�ҰʡC���޲z�γ~�A��ij����� SSL3 �öȨϥ� TLS�C

�p�G�z���s��䴩 TLS�A�п�� SSL3�C

  • �b asprflo.html �ɮפ��G

�إߥD���x

(�ȭ��� Window)�C�p�G�w�֨�A�N�إߥD���x��H�Ω� stderr ��X�C

��O�A���y�z3���G

�إߥD���x

(�ȭ��� Windows)�C�p�G�w�֨�A�N�إߥD���x��H�Ω� stderr ��X�C

4879044

Admin Guide�G�sĶ����|���A�ΡC

�b�uSun ONE Application Server �޲z���n�vUpdate 1 ���� 196 ���W�A�H�U��|�����T�C

CC=/usr/dist/share/devpro/5.x-sparc/bin/cc

�W�z��|�O Sun ��������|�A�ӽsĶ�����w�]�w�˥ؿ�3���G

/opt/SUNWspro

4884043

�t�m�ɮװѦҡGTransmit File �Ѽƪ��w�]�y�z�����T�C

nsfc.conf �ɮפ� TransmitFile �Ѽƪ����y�z��w�H�U�w�]���e�G

(��� Unix) �Y

TransmitFile=off

�o�O�����T���C�̹w�]�ATransmit File ���֨���uenabled�v�C�̤�󤤩ҭz�A��3�Ӥw�Q���ΡC

4890285

�w�� Solaris x86 ���x���Y�Ǥ��|����s�C

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

�uDeveloper's Guide to NSAPI�v�G���ϥΤ�U������ SPARC �����e�A�Ѧ�3�w�� Solaris (Solaris �]�A SPARC �M x86)�C�b�� 158 ���M�� 159 ���W�A��3��w SPARC�C

�ѨM���

�аѾ\ Solaris x86 �����A�H��o�������� Solaris x86 ����M��C�Ӥ��ëD�b�U�B���Բӻ���o�ǭ���C

4893954

�޲z���n���]�A��x����ϥ� Solaris cron �{���ɭ��s�Ұ� Sun ONE Application Server ����T�C

�������������x����G

�o�ͦb HTTP �`�n�{�����������`�n�{����x����A�ȥi�b�Ұʮɰt�m�C�����`�n�{����x����i���A���b���������x�A�Ӥ��n�D��A�����s�ҰʡC

���Ƶ{�{�� (��� cron) ����x����A�b��A���Ұʮɪ�l�ơC�p�G����w�}�ҡA��A���|�إ߱a���ɶ��W�O���s���x�ɡA�åB����|�b��A���ҰʮɱҰʡC�o����������x����b�����I�s rotatelog �{���ɡA�ӵ{���ɥi�H���s�Ұ�3�ε{����A���{�ǡC

4896094

Admin Guide�G�ݭn�b�w�ˮɳ]�w ACC_CONFIG �ܼƪ���ܡC

��󤤨S���b�إߺ��M��A����ҫ�]�w ACC_CONFIG �ܼƪ���ܡC�b�uSun ONE Application Server �޲z���n�v�����u���p3�ε{���v�@�`�᭱�A�ݭn�W�[�H�U��r�G

���F�W�z�B�J���~�A�z�ٻݭn�ק� asenv.conf �ɮסC�إߺ�줧��A�N AS_ACC_CONFIG �ܼƪ��ȳ]�w����� server_instance_config �ؿ� sun-acc.xml �ɮסC�p�G�����T�]�w�ӭȡA�b���P Application Client Container (ACC) ����3�ε{���ɥi��|�X�{��~�C�Ҧp�G

AS_ACC_CONFIG=/var/appserver/domains/domain1/server1/config/sun-acc.xml

�䤤 server1 �O�z�إߪ�3�ε{����A����ҡC

4913290

����檺���Ҥ����ѻP 6.5 ���ۦP���\��

�b iPlanet Application Server 6.5 �W�}�o���B�ϥΰ���椧���Ҫ�3�ε{���i�H�N�ШD�Ѽƶǰe�� [���Ҫ��] �� [�n�J] �����C[�n�J] �����i�H�ۭq���ھڿ�J�Ѽ�������ҰѼơC

�ѨM���

Sun ONE Application Server 7 ���䴩�b��� [�n�J] �����ɶǰe�ШD�ѼơC�ϥΰ���椧���Ҫ�3�ε{�� (�ǰe�ШD�Ѽ�) �L�k�E���� Sun ONE Application Server 7�C�N����3�ε{���E���� Application Server 7 �ݭn�b�{���X���i�歫�j�ܧ�C��O�A�z�i�H�N��J�Ѽ��x�s�b�u�@�ɬq���A�o�ǰѼƥi�H�b��� [�n�J] �����v��^��C

�H�U�{���X�d�һ���ѨM��k�G

�b�ܧ� 6.5 �����{���X���e�G

---------index-65.jsp -----------

<%@page contentType="text/html"%>
<html>
<head><title>JSP Page</title></head>
<body>
go to the <a href="secured/page.jsp?arg1=test&arg2=me">secured area</a>
</body>
</html>

----------login-65.jsp--------------

<%@page contentType="text/html"%>
<html>
<head> </head>
<body>
<!-- Print login form -->
<h3>Parameters</h3><br>
out.println("arg1 is " + request.getParameter("arg1"));
out.println("arg2 is " + request.getParameter("arg2"));
</body>
</html>

4913290(��)

�b�ܧ� 7.0 �����{���X����G

---------index-7.jsp -----------

<%@page contentType="text/html"%>
<html>
<head><title>JSP Page</title></head>
<body>
<%session.setAttribute("arg1","test"); %>
<%session.setAttribute("arg2","me"); %>
go to the <a href="secured/page.jsp">secured area</a>
</body>
</html>

index-7.jsp ��ܦp��N�ШD�Ѽ��x�s�b�u�@�ɬq���C

----------login-7.jsp--------------

<%@page contentType="text/html"%>
<html>
<head> </head>
<body>
<!-- Print login form -->
<h3>Parameters</h3><br>
<!--retrieving the parameters from the session -->
out.println("arg1 is " + (String)session.getAttribute("arg1"));
out.println("arg2 is " + (String)session.getAttribute("arg2"));
</body>
</html>

4913611

���� J2EE �W�椣�ۮe�ʰ��D�i�满��C

�uDeveloper's Guide to Web Applications�v�G�H�U�Ƶ�A�Ω�y�z�e�U�ʽ�G

�u�p�G�e�U�мm�]�w����w�]�� false�A�h���O��J�{���e�U�B�@�覡��` Servlet 2.3 �W�� 9.7.2 �@�`�C�p�G�]�w�� true�A�h�u���J�n�d�b�e���d��{���w JAR �ɮפ������O�M�귽�A�Ӥ��O�ʸ˦b WAR �ɮפ������O�M�귽�A�o�P���W��ҫ�ij���ۤϡC

��3�N�ϥθӼмm���i�⦡�{���P�@�� J2EE �W��@���*�������O�Τ����@�_�ʸˡC���w�q�b�� WAR �ɮפ��]�t�������O�Τ������{�����B�@�覡�C�v

Developer's Guide �M�uDeveloper's Guide to Enterprise JavaBeans Technology�v�G�H�U�Ƶ�A�Ω�y�z�̰ѦҶǰe���!G

�u�p�G�̰ѦҶǰe�мm�]�w����w�]�� false�A�h�Ω�I�s���ݤ������ǰe�y�q��` EJB 2.0 �W�� 5.4 �@�`�C�p�G�]�w�� true�A�h���ݩI�s�N��̰ۨѦҶǰe�y�q�A�Ӥ��O�̭ȶǰe�y�q�A�o�P�W��ۤϡC

�i�⦡�{����3���]�b�����I�s�v��ƻs����A�q�ӥi�H�w���a�ק��l����C�]��3���]���i��ƻs�A�q�ӨϹ磌��Ұ����ܧ���I�s�̩M�Q�I�s�̧����i��C�]�w�Ӽмm�ɡA�ѼƩM�Ǧ^�ȧ�3���Ū�C���w�q�ק惡���ѼƩζǦ^�Ȫ��{�����B�@�覡�C�v

4915451

�޲z���n���H�?��줧���m�O�ɪ��w�q�����T�C

�b�uSun ONE Application Server �޲z���n�v���� 6 ���u�ʵ� Sun ONE Application Server�v���A�H�?��줧���m�O�ɪ��w�q�]�A�H�U�y�l�G

�p�G�ثe�j�p�p�� steady-pool-size�A�h�W�[ pool-resize-quantity�A�̤p�Ȭ� (current-pool-size+pool + resize-quantity, max-pool-size)�C

���y3�ܧ󬰡G

�p�G�ثe�j�p�p�� steady-pool-size�A�h�W�[ pool-resize-quantity�A�̤p�Ȭ� (current-pool-size + pool-resize-quantity, max-pool-size)�C

4950035

Performance Tuning Guide ������ϥ� stats-xml �Ұʲέp����T�����T�C

�ѨM���

�b�uSun ONE Application Server Performance Tuning Guide�v���uTuning Sun ONE Application Server�v�@�����A�ϥ� stats-xml �Ұʲέp���y�z�]�t��ӿ�~�G

  • �z�����ܧ� instance_name-obj.conf �ɮסA�Ӥ��O�ҭz�� obj.conf �ɮסC
  • �d�Ҥ����T�C�H�U���ءG
  • NameTrans fn="assign-name" from="/stats-xml/*" name="stats-xml" �M

    NameTrans fn=assign-name from="/.perf" name="perf"

�������H�U�椧�e�G

NameTrans fn=document-root root="$docroot"

�_�h���̱N�Q�����C�ثe�d�Ҥ��o�Ǧ檺���Ǥ����T�C

4983280

Web ��A���~���{���w�˫�ܤ����T

�b�uSun ONE Application Server �޲z���n�vUpdate 2 ���A�w�� Web ��A���~���{������ܤ����T�C�{�Ǥ�3�]�A�W�[��� NSServlet ��O�C

�ѨM���

�b���Y [�ϥ� Web ��A���~���{��] �U�A�u��� Sun ONE Web Server�v���{��3�Ӭ��p�U�ҥܡG

��� Sun ONE Web Server

�ƥ�n���t�m�ɮסA�Ҧp magnus.conf �M obj.conf�A�M��A���i���ܧ�C

1.  �b�N�]�t Web ��A�� (�q�D) �~���{���� Web ��A���w�˰ϰ줤�إߤ@�ӥؿ�C�Ҧp�G

cd /webserver_install_dir/plugins

mkdir -p passthrough/bin

2.  �N Sun ONE Application Server ���q�D�~���{���ƻs��o�ӷs�� Web ��A���ؿ�C�Ҧp�G

cd appserver_install_dir/lib

cp libpassthrough.so webserver_install_dir/plugins/passthrough/bin

��� Windows�A�нƻs passthrough.dll �ɮסC

3.  �s�� magnus.conf �ɮ� (��� webserver_install_dir/https-host.domain/config �U)�A�æb��e���[�J�H�U��G

Init fn="load-modules"
shlib="webserver_install_dir/plugins/passthrough/bin/libpassthrough.so"
funcs="init-passthrough,auth-passthrough,check-passthrough,service-
passthrough"
NativeThread="no"
Init fn="init-passthrough"

4983280
(��)

4.  �s�� obj.conf �ɮ� (��� webserver_install_dir/https-host.domain/config �U)�A�üW�[ NameTrans ��O�A�p�U�ҥܡG

<Object name="default">
NameTrans fn="assign-name" from="/*" name="passthrough"
...
</Object>

from="/*" URI �O�b���ݦ�A���W���p�� Web 3�ε{�����W�U��ڡA�q�D��3�� obj.conf �� <Object> ���W�١C

�Ҧp�G

<Object name="default">
NameTrans fn="assign-name" from="(/webapp1|/webapp1/*)" name="passthrough"
...
</Object>

5.  �b obj.conf �ɮפ��W�[�H�U��G

<Object name="passthrough">

6.  ���s�Ұ� Sun ONE Web Server ��ҡC

4986222

�2M�P JMS ������C

���ѦҤF�����T������ Sun ONE Message Queue ���C

�uAdministrator's Configuration File Reference�v�M�uDeveloper's Guide to J2EE Features and Services�v�� server.xml jms-service �S�� instance-name ���y�z�����T�C

�ѨM���

�p�ݥ��T������ Sun ONE Message Queue ���A�аѾ\ http://docs.sun.com/db/prod/s1.s1msgqu�C

jms-service �S�� instance-name ����󻡩� Sun ONE Message Queue �N�z�{����ҦW�٩l�׬O���M��A����ҦW�٪��쵲�C�o�ػ��k�����T�C�z�i�H�ϥΥ��W�١C

N/A

J2EE CA SPI Administrator's Guide �ѦҤF��~�����y���D�C

�uSun ONE Application Server J2EE CA SPI Administrator's Guide�v�ѦҤF�uSun ONE Application Server J2EE CA SPI Developer's Guide�v�C�Ӽ��D�����T�C

�ѨM���

�o�ǰѦ�3�w���uSun ONE Application Server Developer's Guide�v�C


�i���s�0t���ɮ�

Sun ONE Application Server 7 ���]�t�i���s�0t������ɮסC


�p���i���D�P���Ѧ^�X

�p�G�z�� Sun ONE Application Server �����D�A�ШϥΤU�C�~�|���@�P Sun �Ȥ�䴩�p���G

�p���ڭ̱N�i���z���ѳ̧������ѨM���D��k�A�Цb�P�䴩�p���ɴ��ѥH�U��T�G

Sun �w��z���X�N��

Sun �֩�ﵽ����A���w��z���X�N���M��ij�C�Шϥιq�l�l��N�z���N���ǰe�� Sun�A��}�p�U�G

�Цb�q�l�l�󪺥D�����g��󸹽X�M���㪺�����D�C��󸹽X�����y�����D���Τ�󪺳��ݡA�q�`���C��ƩΤE��ơC�Ҧp�A�����������󪺤�󸹽X�� 817-6317-01�C


��L Sun �귽

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


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

Sun Microsystems, Inc. �糧���ҭz���~�ұĥΪ��޳N�֦�����z���v�C�S�O�O (��ȭ���)�A�o�Ǵ��z���v�i��]�A�@���Φh���b http://www.sun.com/patents �W�C�X�����M�Q�A�H�Τ@���Φh�����M��L��a/�a�Ϫ���L�M�Q�Ϋݧ�M�Q�C

SUN �M��/��K�C

���F���v�Q - �ӷ~�n��C�F���ϥΪ̧�3��u Sun Microsystems, Inc. �зdzn��\�i���v�X��M FAR �Ψ�W�ɤ�󤤪��A��W�w�C

�ϥ�3��u���v�X���ڡC

���o�檫�i��]�A�Ѩ�O�t�Ӷ}�o����ơC

���dz��%i�෽�� Berkeley BSD �t�ΡA�øg�[�{�j�DZ��v�C

Sun�BSun Microsystems�BSun 2�СBJava �M Solaris �O Sun Microsystems, Inc. �b���M��L��a/�a�Ϫ��ӼЩε�U�ӼСC�Ҧ� SPARC �ӼЧ��b���v�U�ϥΡA���̬O SPARC International, Inc. �b���M��L��a/�a�Ϫ��ӼЩε�U�ӼСC