Sun Java �лx     �W�@��      �ؿ�      �d�      �U�@��     

Sun �лx
Sun Java System Communications Express 6 2005Q1 �޲z��n 

�� 5 ��
����Ƹ�

�����C�X�F�z�i��J�쪺�`�����D�A�H�Ϋإ߻P�ҥο�~�O��B�J�C

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


�ѧO�ú���ƸѰ��D

Communications Express ���ѤF��X�������q�T�Τ�ݡA���̿��\�h��������~�C���ɡA�i��|�b�ϥΤ��o�Ͱ��D�A�ݭn�i�����ƸѡC

�Y�n�d����D����]�A�Х�ϥΤU�C�`�Ϊ�����ƸѤ�k�A�M��A�]�k�ѨM���D�G

  1. �t�m���~�ɡA�����ҬO�_��`�F�uSun Java System Messaging Server ��������v�ΡuSun Java System Communications Express �޲z��n�v�����쪺�B�J�C
  2. �ҥ� Communications Express �O��A�H�d�ݸԲӪ���~�O��ýT�w���ѭ�]�C�Y�n��o�ҥΰO��B�J�A�аѾ\�u�O�����v�@�`�C
  3. �ˬd����O��L�w��i����~�P���`�C�O���ɥi���@�b�w�ˡB�t�m�P��� Communications Express �L�{���ҹJ�쪺��~�M��C

����Ƹѱ`�������D

���`���z�F�w�ˡB�t�m�B�Ұ� Communications Express �L�{���Φs�� Communications Express �ϥΪ̤����Τ�ݤ���ɥi��J�쪺���D�C

�U���C�X Communications Express ���󪺤@�DZ`�����D�Ψ�i���]�C

�t�m Communications Express

�Y�ϭ��s�ҰʤF Web �e���A�]���|�ϬM�t�m���ܧ�C

�T�w�t�m�ܧ�w�M�Ψ�A��t�m��|�����ɮסC

���� Communications Express �t�m��A�z���t�Τ��|�إߤU�C�t�m�ؿ�G

�Y�n�T�O3�ε{�����ϬM�Ұ��ܧ�A�Цb uwc-deployed-path/WEB-INF/config ���ܧ�t�m

��L��ӥؿ� (uwc-deployed-path/staging/WEB-INF/config �P uwc-basedir/SUNWuwc/WEB-INF/config) �O�t�m�{����t�m�v��b�����إߨèϥΪ��Ȧs��m�C�b�䤤�i�檺�ܧ󤣷|�ϬM�b3�ε{�����C

�t�m�@�~�w���ѡC

�Y�n��X���D�A�ШϥΦ�� uwc-basedir/SUNWuwc/install/uwc-config _TIME-STAMP.log �����O����

�䤤�ATIME-STAMP �O�t�m���ɶ��W�O�A�榡�� YYYYMMDDhhmmss�C

�t�m�{���u�@�����`�C

�Y�n�ѧO���D�A�бҥΰ���ﶵ�A�ϥΤU�C����Ҧ��I�s�t�m�{���G

-debug�G�ϥΦ��ﶵ�i���ͤ@�밣���T

-debugMessage�G�ϥΦ��ﶵ�i���Ϳ�~�Pĵ�i�O��

-debugWarning�G�ϥΦ��ﶵ�i����ĵ�i�T���P��~�T�����O��

-debugError�G�ϥΦ��ﶵ�i���Ϳ�~�T���O��C�̹w�]�A�N�ҥΦ��ﶵ�C

UWC 3�ε{���Ұʥ��ѡA�åB Web �e���O����ܲ��`���p�C

�i��ѩ�t�m������Τ����T�~�o�ͦ���~�C

�ѨM��k

�t�m�L�{���A�uchown�v��O���ѡC

�ѨM��k

���t�m�{���A�æb�t�m�{���� [Web �e���ϥΪ̻P�s��] ���O����J���T�� Web �e���ϥΪ̻P�s�խȡC

�{�ҫ�A�b Identity Server �w�ҥΪ��A�U�s�� Communications Express �ɡA�|�X�{�u��榹�@�~�ɵo�Ϳ�~�v�T���C

�ѨM��k

�T�w uwc-deployed-path/WEB_INF/config/uwcauth.properties ���� uwcauth.identity.binddn �� uwcauth.identity.bindcred �S�ʡA�w�]�w���w�� Identity Server SDK �ɩҴ��Ѫ� amAdmin DN �S�ʡC�аѾ\�� 3 ���u�t�m�ԲӸ�T�v�����u�b uwcauth.properties �ɮפ��t�m Identity Server �Ѽ��v�@�`�C

��M�ؿ�޲z����ҥi��|���ѵ� Identity Server SSO �� uwcauth.identity.binddn �� uwcauth.indentity.bindcred�A��ؿ�޲z��S���ΨӨ�o�Y�Ǻ��S�w�ݩʪ� ACL�A�� Communication Express �����̾a�o���ݩʤ~�ॿ�`�u�@�C

���䴩�ק� IS SDK ��X�� Web �e���t�m�C

�t�m�{�����䴩�ק� Identity Server SDK ��X�� Web �e���t�m�C

�ѨM��k

��ʩI�s Identity Server ���Ѫ��Ψӭק�� Web �e���t�m���u��C

�b SSL �����䴩 Messaging SSO�C

�ѨM��k

�Y�n�� SSL �䴩 Messaging SSO�A�а��U�C�B�J�G

  1. �H SSL �Ҧ��t�m Web Server�C
  2. �w�� Web Server �� SSL �s����A�t�m Communications Express�C
  3. �]�w uwcauth.ssl.enabled=true�C
  4. �N uwcauth.https.port �]�w�� Web Server �� SSL �s����C
  5. �H SSL �Ҧ��ҥ� Messaging Server�C
  6. �N uwcconfig.properties ���� webmail.port �]�w�� Messaging Server �� SSL �s����C
  7. �N messagingsso.ims.url ���ѵ� Messaging Server ���D SSL �s����C
  8. �b Web Server �� Messaging Server �W�A���w�ˡu���Һ޲z��A���ھ��ұ��v (CMS root CA)�v�C
  9. ���s�Ұ� Web Server�C
  10. ����V Messaging Server �D SSL �s���� local.webmail.sso.ims.verifyurl ���Ѥ@�ӭȡC
  11. ���s�Ұ� Messaging Server�C

�s���ƾ�

�q Communications Express �s���ƾ�ɡA�X�{�u��榹�@�~�ɵo�Ϳ�~�v�T���C

����~�i��O�U�C�@�ةΦh�ح�]�ɭP���C

�T���u��ƾ䤣�i�ΡC�L�k����˵�C����ƾ�w�R���Τ��s�b�A�Ϊ̱z�S���˵�Ӧ�ƾ䪺�\�i�v�C�п���L��ƾ�C�v�X�{�b�q Communications Express �s���ƾ�ɡC

�b�D�U�޺��w�ˤ*R�ť����ϥ� commcli (�Ω� Schema 2) �G�بϥΪ̮ɡA�i��|�o�ͦ���~�C�X�{����~�T������]�O�Acommcli �b�ϥΪ̪� LDAP ���ؤ� icsCalendar �ݩʭȫ�~�[�F @domain�C

�ѨM��k

�Y�n�b�D�U�޺����Ҥ��ϥ� commcli �G�بϥΪ̡A�Цb commadmin ��O���ϥ� -k legacy �ﶵ�C���U�޺����ҡA�h�ϥ� -k hosted �ﶵ�C�p�G����w -k �ﶵ�A�N���]���U�޺��w�ˡC

�Ҧp�A

�{���X�d�� 5-1 Commcli �G��

./commadmin user create -D admin -w password -X siroe .varrius .com -n siroe.varrius.com -p 85 -d siroe.varrius.com -F test -L user2 -l user2 -W user2 -S mail,cal -k legacy

ok

�Ϊ�

�p�G�L�k�����P�w�G�بϥΪ̬۹�3�����ءA�Ф�ʲ��� icsCalendar�BicsSubscribed �P icsOwned �ݩʤ��� '@domain' ���!C

��z�q Communications Express ����j�M�B�ܽСB�q�\��ƾ���ˬd��i�ΩʮɡA�|�X�{ [�L�k�j�M���쪺��ƾ�]�B[�L�k�ܽи��쪺��ƾ�]�B[�L�k�q�\���쪺��ƾ�] �� [�L�k�����ˬd��ƾ�i�Ω�] �T���C

�ѨM��k

�Y�n�j�M�B�ܽСB�q�\��ƾ���ˬd��ƾ䪺�i�ΩʡA�ݭn�ҥΡu����v�j�M�\��C�аѾ\�uCalendar Server 6 2005Q1 �޲z��n�v�� 13 �����u�ҥθ���j�M�v�@�`�C

���w�]�ƥ󪬺A�z�ᄍ�����D�C

[�ﶵ��ƾ�] ���� [�w�]�ƥ󪬺A�z�ᄍ] ��w�H��B�g�Τ��ƾ��˵����ܨƥ�C�i�Ϊ��ﶵ���G[�w����]�B[�x�]�B[�w�ڵ�]�B[�L�^3]�C

��� [�w����] �ﶵ�@���ƥ󪬺A�ɡA�N�b��B�g�Τ몺��ƾ��˵����ܤw�����ܽСC���L�A�z�إߪ��Ҧ��ƥ�l�ץH��B�g�Τ��ƾ��˵����ܡC

�b [�ﶵ��ƾ�] ���A�̹w�]�u��� [�w����] �� [�x�]�A�o��ܧ@���ϥΪ̡A�z�ݤ���w�ڵ��Ω|���^3���ƥ�C

�ѨM��k

�Y�n�b [��]�B[�g]�B[��]�B[�~] �˵��˵�Ҧ��ƥ�A�z3�ӿ��Ҧ��ﶵ�A�Y [�ﶵ��ƾ�] ���� [�w����]�B[�x�]�B[�w�ڵ�]�B[�L�^3]�C

�W�Ǥj�� 2 MB ���ɮ׮ɡACommunications Express �|��ܡu��A����~�v�C

�p�G�W�Ǫ��ɮפj�� 2 MB�A�h�b�N�ƥ�M�@�~�פJ��ƾ�αN�p���H�פJ�q�T��ɡA�K�|�o�ͦ���~�C

�̹w�]�ACommunications Express �̦h���\�פJ 2 MB ���ɮ׸�ơC���L�A�i�H�t�m�W���ɮפj�p������C

�ѨM��k

�t�m��j���W���ɮפj�p����C

�Y�n�t�m��j���W���ɮפj�p����A�Ь� web.xml �����z�ᄍ MultipartFormServletFilter �t�m�U�C init �ѼơG

�Ҧp�A�Y�n�N�W���ɮפj�p�W�[�� 10 MB�A�п�`�U���y�z���t�m�B�J�G

  1. �q uwc-deployed-path/WEB-INF/web.xml ��o�{�� web.xml ���ƥ�C
  2. �s���� uwc-deployed-path/WEB-INF/web.xml �U�� web.xml �ɮסC
  3. ��ӵ{���X�d�� 5-2 ���H����Хܪ�����A�t�m web.xml ���� MultipartFormServletFilter�C
  4. �{���X�d�� 5-2 �t�m web.xml �� MultipartFormServletFilter �� init �Ѽ�

    <web-app>

    ..

    ..

    <filter>

    <filter-name>MultipartFormServletFilter</filter-name>

    <filter-class>com.sun.uwc.calclient.MultipartFormServletFilter</filter-clas s>

    ..

    ..

    <init-param>

    <param-name>fileSizeHardLimit</param-name>

    <param-value>10485760</param-value>

    <description>Ten mega bytes</description>

    </init-param>

    <init-param>

    <param-name>requestSizeLimit</param-name>

    <param-value>10485760</param-value>

    <description>Ten mega bytes</description>

    </init-param>

    <init-param>

    <param-name>fileSizeLimit</param-name>

    <param-value>10485760</param-value>

    <description>Ten mega bytes</description>

    </init-param>

    <init-param>

    <param-name>failureRedirectURL</param-name>

    <param-value>put your url here</param-value>

    <description>Request is redirected to this url when uploaded file size crosses fileSizeHardLimit value</description>

    </init-param>

    ..

    ..

    </filter>

    ..

    ..

    </web-app>

  5. ���s�Ұ� Web �e���A���ܧ�ͮġC

�s��q�T��

�s��q�T��ɵo�͡u��A����~�v�CWeb Server �O���ɰO��F�@�Ӳ��`�uorg.apache.xml.utils.WrappedRuntimeException:The output format must have a '{http://xml.apache.org/xslt}content-handler' property!�v

�� JDK Web Server ��V�C�� JDK 1.4.2 �������ɡAWeb Server �N�Y�^�����`�CCommunications Express �ϥγ̷s������ xalan �P xerces �i�� XML/XSL ��R�C�b�U�C���p�U�A�N�o�ͦ���~�G

  1. �z���b�ϥΥ��g JES �w�˵{�����p�� Web Server 6.1�CJDK 1.4.1 �q�`�f�t Web Server 6.1�C
  2. Java Enterprise System �H�����@�� xalan �� xerces ���󤣬O�̷s�����C

�ѨM��k


�Ƶ�

�p�G�w�g��榹�B�J�A�h�������s���p�Ҧ���L Web 3�ε{���C���p�߰_���A�Х��o server.xml �ɪ��ƥ�C


�q Communications Express �s��q�T��ɡA�X�{�u��榹�@�~�ɵo�Ϳ�~�v�T���C

�ӿ�~�O�]�ӤH�q�T�� (PAB) �� LDAP �t�m�����T�Ӳ��ͪ��C�s�� [�q�T��] ���ҮɡACommunications Express �|�s�u��ӤH�q�T��s��ϡA�]�N�O�� PAB �t�m�� LDAP�C�p�G�ӤH�q�T��s��ϵL�k�إ߳s�u�A�N�|��ܿ�~�C

�ѨM��k

  1. �ˬd WEB-INF/config/ldappstore/db_config.properties ���� LDAP �t�m�C
  2. �s�褣���T���t�m�]�w�C
  3. ���s�Ұʤw���p Communications Express �� Web Server�C

�Y�ݸԲӸ�T�A�аѾ\�� 3 ���u�t�m�ԲӸ�T�v�����t�m���q�ؿ�Ѽ� db_config.properties �ɮ��@�`�C

���j�M�ɡA���q�ؿ���ܤ��O��~�C

�p�G���q�ؿ� LDAP �t�m�����T�A�i��|�o�ͦ���~�C

�ѨM��k

�ˬd WEB-INF/config/corp-dir/db_config.properties ���� LDAP �t�m���L��~�A�ç勵��~���t�m�A�M�᭫�s�Ұ� Communications Express�C

�Y�ݸԲӸ�T�A�аѾ\�� 3 ���u�t�m�ԲӸ�T�v�����t�m���q�ؿ�Ѽ� db_config.properties �ɮ��@�`�C

�d�ݤ��q�ؿ��p���H�ɡA�|�b [�˵�] ����ܿ�~

�Y�ΨӦs��q�ؿ��p���H���ت��K�_���O�uuid�v�A�N��ܦ���~�C

uid �O Communications Express �ҳ]�w���w�]�ȡC

�ѨM��k

�Y�n�q�u���q�ؿ�v�s���p���H�A3�Ӧb uwc-deployed-path/WEB-INF/config ���� db_config.properties �P xlate-inetorgperson.xml �t�m�ɤ��A�N�K�_�]�w���ݭn���ȡC

�b�ɮפ��i��U�C�ܧ�G

  1. �b uwc-deployed-path/WEB-INF/config/WEB-INF/config/corp-dir/db_config.properties ���A�]�w�A�?�K�_�ȡC
  2. �N�U�C�ɮפ� entry entryID="db:uid" �����uuid�v�]�w���A�?�K�_�A�H��N���G
  3. uwc-deployed-path/WEB-INF/config/WEB-INF/config/corp-dir/xlate-inetorgperson.xml�C

  4. ���s�Ұʤw���p Communications Express �� Web Server�C

�Y�ݸԲӸ�T�A�аѾ\�� 3 ���u�t�m�ԲӸ�T�v�����t�m���q�ؿ�Ѽ� db_config.properties �ɮ��@�`�C

�L�k�]�w psRoot ���ȡC

Addressbook Server ����i�ʨϥΡu�ϥΪ̳ߦn�]�w�v���� LDAP �ݩ� psRoot�C�Y�ݸԲӸ�T�A�аѾ\�� 3 ���u�t�m�ԲӸ�T�v�����䴩 Addressbook Server ������i���@�`�C�p�G�z�����p���ݭn Addressbook Server ����i�ʡA�i�H��������~�C

��ϥΪ̲Ĥ@���n�J Communications Express �ɡA�t�η|�xզ۰ʳ]�w psRoot�A��ɥi��L�k�۰ʳ]�w�ӭȡC�Y���w�� Java Enterprise System Directory Server�A�H�Φw�� Java Enterprise System Directory Server ���᥼��� Java Enterprise System �� comm_dssetup.p1�A�q�`�|�o�ͦ����p�C�o�|�ɭP�L�k��s LDAP Schema�C

�ѩ󥼧�s�ӼҦ��A�]���A�Y�Ϥ���i Addressbook Server ���p�ݭn psRoot �ݩʡA�]�L�k��ʳ]�w���ݩʡC

�ѨM��k

�Y�n�ҥ� psRoot �ݩʪ��]�w�A�Ч�s Directory Server�A�H�ǤJ psRoot �ݩʡC�Y�n��榹�ʧ@�A�Цb�U�C��m�� ipUser �������O���w�q���A�ǤJ psRoot �ݩʡG

Directory ServerInstance/config/schema/99user.ldif�C


�Ƶ�

�u���b�ثe���p���|���w�� Java Enterprise System Directory Server�A�Φb�w�� Java Enterprise System Directory Server ����|����� Java Enterprise System �� comm_dssetup.p1�A�z�~�ݭn��s Directory Server �H�ǤJ psRoot �ݩʡC


�s��l��

��@�U [�l��] ���ҮɥX�{�n�J���C

�Y Communications Express �P Messaging Server �������t�m�����`�����A�N���ܦ����D�C�n�� Messaging Server �P Communications Express ��K�X�@�A3�ӱҥ� Messaging Server �� Identity Server ���榸�n�J�\��C�Ұ� Communications Express ���e�A�Х�̷��� 4 ���u��{�榸�n�J�v�����z���榸�n�J�t�m��ܰ��C

�q Communications Express �s��l��ɡA�X�{�u��榹�@�~�ɵo�Ϳ�~�v�T���C

�Y�b�|�����p�αҥ� Communications Express �l�󤸥�ɡA�n�J Communications Express ���ϥΪ̤w�N�l��]�w���w�]3�ε{���A�h�|�o�ͦ���~�C

�ѨM��k

�޲z���N�ϥΪ� LDAP ���ؤ��� sunUCDefaultApplication �ݩʭ��ܧ󬰡ucalendar�v�Ρuaddressbook�v�C

�ϥΪ̦b�n�X Communications Express �ᤴ�O��n�J���A�C

�Y Identity Server (�]�٬� Access Manager) �� Communications Express �w�˦b���P����W�A�� Identity Server ���� SDK �P Communications Express �w�˦b�P�@����W�A�K�|�J�즹���D�C

�ѨM��k

�b�w�� Communications Express ����W�A�b AMConfig.properties �ɮפ���w�U�C�t�m�ѼơG

com.iplanet.am.notification.url=url-to-access-web-container-of-CommunicationsExpress/servlet/com.iplanet.services.comm.server.PLLRequestServlet


�Ƶ�

AMConfig.properties �ɮצb IS-SDK-BASEDIR/SUNWam/lib ���C


�q�l��s��q�T��\��ɡA�i��|�J��U�C���D�G

Communications Express �P Messenger Express (MEM) �ȥ����p��P�@���D��W�A�~��b�s��ϥ� Javascript �i�椬�q�C

�ϥ� Identity Server �i��{��

��J���Ī��ϥΪ� ID �M�K�X��A�L�k�q�L�{���C

�ɭP�{�ҥ��Ѫ���]�p�U�G


�O����

��z�xչj����D�αƸѺ���ɡA�ѦU�بt�Τ��󲣥ͪ��w���@�~���O���T�i�෥���ΡC

    �Y�n�ҥΰO��
  1. �s�� uwc-deployed-path/WEB-INF/config �ؿ� uwclogging.properties �ɮ�
  2. uwclogging.properties �ɮפ��x�s�U�C�ѼơG

    �� 5-1 uwclogging.properties �ɮ� ���i�t�m���Ѽ�

    �Ҳ�/�O����ɮ�

    �Ѽ�

    �w�]��

    �y�z

    �t�m

     

     

    �b /opt/SUNWuwc/install/uwc-config _TIME-STAMP.log �����ɶ��W�O�ɮפ����@�O��

    Communications Express

    uwc-deployed-path/WEB-INF/config/uwclogging.properties

    uwc.logging.enable

    no

    �ҥΩΰ��ΰO��C

    �Y�n�ҥΰO��A�бN uwc.logging.enable ���S�ʭ��ܧ󬰡uyes�v�C�Ҧp�Auwc.logging.enable=yes

    Communications Express

    uwc-deployed-path/WEB-INF/config/uwclogging.properties

    uwc.log.file

    uwc-deployed-path/logs/uwc.log

    �Ҧp�G

    /var/opt/SUNWuwc/logs/uwc.log

    ��w�O���ɪ���m�C

    �̻ݭn�ܧ�O���ɪ���m�C

    �T�w Web Server �i�g�J���ɮסC

    Communications Express

    uwc-deployed-path/WEB-INF/config/uwclogging.properties

     

    uwc.log.level

    INFO

    ��w3�ε{�����O��h���C

    �N3�ε{�����O��h���ܧ󬰩һݼh���C

    �i�Ϊ��O��h���ȥ]�A�G

    WARNING�BINFO�BFINE �P SEVERE�C

    �� 5-2 uwcconfig.properties �ɮפ����i�t�m�Ѽ�

    �Ҳ�/�O����ɮ�

    �Ѽ�

    �w�]��

    �y�z

    �q�T��

    uwc-deployed-path/WEB-INF/config/uwcconfig.properties

    log.file

    /tmp/trace.log

    ��w�O���ɪ���m�C

    �̻ݭn�ܧ�O���ɪ���m�C

    �T�w Web Server �i�g�J���ɮסC

    �q�T��

    uwc-deployed-path/WEB-INF/config/uwcconfig.properties

    uwc.log.level

    3

    ��w3�ε{�����O��h���C

    �Y�n���Φ��Ҳժ��O��A�бN�ȳ]�w�� 0�C

    �l��

     

     

    �аѾ\�uSun Java System Messaging Server �޲z��n�v���� 20 ���u�O��P�O��*R�v(��� http://docs.sun.com/source/819-1057)

  3. �b uwclogging.properties �P uwcconfig.properties �ɮפ��]�w�w�]�ȫ�A���s�Ұ� Web Server�C


�`�N

�ҥΰO��N�v�T�t�Ϊ��į�C




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


��󸹽X�G819-1104�C  Copyright 2005 Sun Microsystems, Inc. ���v�Ҧ��C