Sun Java �ձ�     ��һҳ      Ŀ¼      ����      ��һҳ     

Sun �ձ�
Sun Java System Communications Express 6 2005Q1 ����ָ�� 

�� 5 ��
�������

�����г�������ܻ���ij��������Լ����������ô�����־�IJ��衣

���°����²��֣�


ȷ�����������

Communications Express �ṩ��һ����� Web �ļ���ͨ�ſͻ��ˣ�����5�ںܶ��ɢ�IJ�Ʒ����ʱ����ʹ�ù���п��ܻ�������⣬�Ӷ���Ҫ���д�����ϡ�

Ҫ�ҳ������ԭ�����ڽ������֮ǰʹ�����³��ô�����Ϸ�����

  1. ��֤�����ò�Ʒʱ���Ƿ��Ѱ��� Sun Java System Messaging Server ����˵��� Sun Java System Communications Express ����ָ�����ᵽ�IJ�����в���
  2. ���� Communications Express ��־�Բ鿴��ϸ�Ĵ�����־��ȷ�������ԭ���й�������־�IJ��裬�������־�ļ����֡�
  3. ��������־�Բ��ұ���Ĵ�����쳣����־�ļ������ڰ�װ�����ú����� Communications Express �������Ĵ�����б?

��ϳ�������

�����ָ�(���ڰ�װ�����á������л���� Communications Express �û�����ͻ������ʱ����������⡣

�����г��� Communications Express ����е�һЩ�������⼰����ܵ�ԭ��

���� Communications Express

��ʹ�������� Web �����Ҳ����ӳ���ø�ġ�

ȷ���ѽ����ø��Ӧ������Ӧ config ·���е��ļ���

����� Communications Express ����֮�󣬽���ϵͳ�д�����������Ŀ¼��

Ҫȷ����Ӧ�ó����з�ӳ����ĸ�ģ���� uwc-deployed-path/WEB-INF/config �������ø�ġ�

����}��Ŀ¼���� uwc-deployed-path/staging/WEB-INF/config �� uwc-basedir/SUNWuwc/WEB-INF/config���������������ù�����ڲ�������ʹ�õ���ʱռλ����Ӧ�ó����в��ᷴӳ����������ĸ�ġ�

����������ʧ�ܡ�

Ҫ�ҳ����⣬��ʹ��λ������λ�õ���־�ļ���uwc-basedir/SUNWuwc/install/uwc-config _TIME-STAMP.log

���� TIME-STAMP Ϊ���õ�ʱ��c���ʽΪ��YYYYMMDDhhmmss��

���ó����޷���ȷ������

Ҫ�ҳ����⣬��������ó��򣬲�ʹ�����µ���ģʽ���õ���ѡ�

-debug����ʹ�ô�ѡ��4��ɳ��������Ϣ

-debugMessage����ʹ�ô�ѡ��4��ɴ���;������־

-debugWarning����ʹ�ô�ѡ��4��ɾ�����Ϣ�ʹ�����Ϣ����־

-debugError����ʹ�ô�ѡ��4��ɴ�����Ϣ����־��Ĭ������£������ô�ѡ�

UWC Ӧ�ó�����ʧ�ܣ����� Web ������־��ʾ�쳣��

�˴�������ɲ��������ȷ����������

������

"chown" ���������ù������ʧ�ܡ�

������

�������ó��򣬲������ó���ġ�Web �����û����顱�����������ȷ�� Web �����û�����ֵ��

������֤���������� Identity Server ������·��� Communications Express ʱ��������Ϣ�����д˲���ʱ������󡱡�

������

ȷ���� uwc-deployed-path/WEB_INF/config/uwcauth.properties �е� uwcauth.identity.binddn �� uwcauth.identity.bindcred ��������Ϊ�ڰ�װ Identity Server SDK ʱ�ṩ�� amAdmin DN��������� 3 �¡�������ϸ��Ϣ���е��� uwcauth.properties �ļ������� Identity Server �������֡�

��Ȼ���ܻ�Ϊ uwcauth.identity.binddn �� uwcauth.indentity.bindcred �ṩ Directory Manager ֤�������� Identity Server SSO���� Directory Manager û�л�ȡijЩ�ض��������������� ACL���� Communication Express �����?���Щ���Բ�������

��֧���޸� IS SDK ���ɵ� Web �������á�

������֧���޸� Identity Server SDK ���ɵ� Web �������á�

������

�ֶ����� Identity Server ����Ĺ��ߣ����޸� Identity Server �� Web �������á�

�� SSL �в�֧�� Messaging SSO��

����

Ҫ�� SSL ��֧�� Messaging SSO����ִ�����²��裺

  1. �� SSL ģʽ������ Web Server��
  2. Ϊ Web Server �� SSL �˿����� Communications Express��
  3. ���� uwcauth.ssl.enabled=true��
  4. �� uwcauth.https.port ����Ϊ Web Server �� SSL �˿ڡ�
  5. �� SSL ģʽ������ Messaging Server��
  6. �� uwcconfig.properties �е� webmail.port ����Ϊ Messaging Server �� SSL �˿ڡ�
  7. Ϊ Messaging Server �ķ� SSL �˿��ṩ messagingsso.ims.url��
  8. �� Web Server �� Messaging Server �ϰ�װ֤�������������֤��Certificate Management Server root Certificate Authority, CMS �� CA����
  9. ������ Web Server��
  10. Ϊָ�� Messaging Server �ķ� SSL �˿ڵ� local.webmail.sso.ims.verifyurl �ṩһ��ֵ��
  11. ������ Messaging Server��

��������

�� Communications Express ��������ʱ��������Ϣ�����д˲���ʱ������󡱡�

�˴������������һ�����ԭ������

�� Communications Express ��������ʱ������Ϣ��������á��޷���ʾ��ͼ��ѡ���������ѱ�ɾ��򲻴��ڣ���������в鿴�������Ȩ�ޡ���ѡ����������

�ڷ��й������÷�����ʹ�� commcli������ Schema 2���ñ��û�ʱ�����ܻ���ִ˴�����Ϊ commcli ���û��� LDAP ��Ŀ�д���ؽ� @domain ���ӵ� icsCalendar ����ֵ���棬������ʾ�˴�����Ϣ��

����

Ҫ�ڷ��й��򻷾���ʹ�� commcli �ñ��û������� commadmin ������ʹ�� -k legacy ѡ������й��򻷾�����ʹ�� -k hosted ѡ����δָ�� -k ѡ���ٶ�Ϊ�й������á�

���磬

����ʾ�� 5-1 Commcli �ñ�

./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

����

�����ɾ���Ӧ�����ñ����û�����Ŀ����� icsCalendar��icsSubscribed �� icsOwned �������ֶ�ɾ�� '@domain' ���֡�

�� Communications Express �����������롢���������鿴�������ʱ��������Ϣ���޷����������������޷����������������޷�������������޷�����鿴��������ԡ���Ϣ��

����

Ҫ�������롢���������鿴������ԣ���Ҫ���ÿ������������ Calendar Server 6 2005Q1 ����ָ�ϵ� 13 ���еġ����ÿ���������֡�

�й�Ĭ���¼�״̬����������⡣

��ѡ���������еġ�Ĭ���¼�״̬������ָ����Ҫ���ա��ܺ���������ͼ����ʾ���¼�������ѡ��Ϊ�����ѽ��ܡ������ݶ��������Ѿܾ�͡�����Ӧ����

���ѡ���ѽ��ܡ�ѡ����Ϊ�¼�״̬��������ա��ܻ���������ͼ����ʾ���ѽ��ܵ���Щ���롣���ǣ���ʼ�����ա��ܻ���������ͼ����ʾ���������¼���

�ڡ�ѡ���������У�Ĭ�������ֻ�С��ѽ��ܡ��͡��ݶ�������ѡ��״̬������ζ���û����޷������Ѿ��ܾ����δ�����Ӧ���¼���

����

Ҫ�鿴�ա��ܡ��º�����ͼ�е������¼���Ӧ��ѡ������ѡ�����ѡ���������еġ��ѽ��ܡ������ݶ��������Ѿܾ�͡�����Ӧ����

�����ش��� 2 MB ���ļ�ʱ��Communications Express ��ʾ����������󡱡�

������ص��ļ����� 2 MB�����ڽ��¼��������������jϵ�˵���ͨѶ¼ʱ�����ᷢ��˴���

Ĭ������£�Communications Express ���?������СΪ 2 MB ���ļ���ݡ����ǣ������ļ���С�����ǿ����õġ�

����

���ø��������ļ���С���ơ�

Ҫ���ø��������ļ���С���ƣ����� web.xml �����ù����� MultipartFormServletFilter ������ init ����

���磬Ҫ�������ļ���С��ӵ� 10MB����ִ����������ò��裺

  1. �� uwc-deployed-path/WEB-INF/web.xml �е����� web.xml ���б��ݡ�
  2. �༭ uwc-deployed-path/WEB-INF/web.xml �е� web.xml �ļ���
  3. ���մ���ʾ�� 5-2 �еĴ�����ʾ���֣����� web.xml �е� MultipartFormServletFilter��
  4. ����ʾ�� 5-2 �� 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. ������ Web ������ʹ�����Ч��

����ͨѶ¼

�ڷ���ͨѶ¼ʱ���֡���������󡱡�Web Server ��־��¼��һ���쳣 "org.apache.xml.utils.WrappedRuntimeException��The output format must have a '{http://xml.apache.org/xslt}content-handler' property!"

�� JDK Web Server ָ��İ汾���� JDK 1.4.2 ʱ��Web Server ���׳���쳣��Communications Express ʹ�����°汾�� xalan �� xerces ���� XML/XSL ��������������»���ִ˴���

  1. ������ʹ��δͨ�� JES ��װ������� Web Server 6.1��JDK 1.4.1 ͨ���� Web Server 6.1 &����һ��
  2. Java Enterprise System ����� xalan �� xerces ��������İ汾�������µġ�

����


ע

���ִ���˴˲��裬��������²������������ Web Ӧ�ó�����ΪԤ�4�ʩ���봴�� server.xml �ļ��ı��ݡ�


�� Communications Express ����ͨѶ¼ʱ��������Ϣ�����д˲���ʱ������󡱡�

������ͨѶ¼ (Personal Address Book, PAB) �� LDAP ���ò���ȷʱ���ͻᷢ��˴��󡣵����ʡ�ͨѶ¼��ѡ�ʱ��Communications Express ��l�ӵ�����ͨѶ¼�洢����Ϊ PAB ���õ� LDAP����������ͨѶ¼�洢�޷���bl�ӣ��ͻ���ʾ�˴���

����

  1. ��� WEB-INF/config/ldappstore/db_config.properties �е� LDAP ���á�
  2. �༭����ȷ���������á�
  3. ����������� Communications Express �� Web Server��

�йظ����Ϣ��������� 3 �¡�������ϸ��Ϣ���е����ù�˾Ŀ¼���� db_config.properties �ļ����֡�

��ִ������ʱ����˾Ŀ¼��ʾǶ�����

���û��Ϊ��˾Ŀ¼��ȷ���� LDAP ���ã�����ܻᷢ���������

������

��� WEB-INF/config/corp-dir/db_config.properties �е� LDAP �����Ƿ����κ����ô��󣬾������ǣ�Ȼ�������� Communications Express��

�йظ����Ϣ��������� 3 �¡�������ϸ��Ϣ���е����ù�˾Ŀ¼���� db_config.properties �ļ����֡�

�鿴��˾Ŀ¼��jϵ��ʱ�ڡ���ͼ����������ʾ����

�����ڷ��ʹ�˾Ŀ¼�е�jϵ����Ŀ�ļ��� "uid" ʱ���ͻ���ʾ�˴���

uid �� Communications Express ���õ�Ĭ��ֵ��

����

Ҫ���ʹ�˾Ŀ¼�е�jϵ�ˣ�Ӧ���� uwc-deployed-path/WEB-INF/config �е� db_config.properties �� xlate-inetorgperson.xml �����ļ��н���ֵ����Ϊ�����ֵ��

���ļ��н������¸�ģ�

  1. ������λ����������Ӧ�ļ�ֵ��uwc-deployed-path/WEB-INF/config/WEB-INF/config/corp-dir/db_config.properties��
  2. ������λ����������Ӧ�ļ����滻 entry entryID="db:uid" �е� "uid"��
  3. uwc-deployed-path/WEB-INF/config/WEB-INF/config/corp-dir/xlate-inetorgperson.xml��

  4. ����������� Communications Express �� Web Server��

�йظ����Ϣ��������� 3 �¡�������ϸ��Ϣ���е����ù�˾Ŀ¼���� db_config.properties �ļ����֡�

�޷����� psRoot ��ֵ��

���û���ѡ��е� LDAP ���� psRoot ���� Addressbook Server ˮƽ�������ԡ��йظ����ϸ��Ϣ����μ��� 3 �¡�������ϸ��Ϣ���е�֧�� Addressbook Server ��ˮƽ�����������֡������IJ�����Ҫ Addressbook Server ˮƽ�������ԣ�����Ժ��Դ˴���

���û��״ε�¼�� Communications Express ʱ��ϵͳ�᳢���Զ����� psRoot������ʱ�����޷��Զ����ø�ֵ�������δ��װ Java Enterprise System Directory Server�������ڰ�װ Java Enterprise System Directory Server ����δ���� Java Enterprise System �� comm_dssetup.p1����ͨ����������������ᵼ�²����� LDAP Schema��

����ģʽδ�õ����£�����޷��ֶ����� psRoot ���ԣ���ʹ�������Dz����ˮƽ����� Addressbook Server �����ġ�

����

Ҫ���� psRoot ���Ե����ã������ Directory Server �԰�( psRoot ���ԡ�Ҫִ�д˲����뽫���� psRoot ��(�� ipUser ������Ķ����У��ö���λ��

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


ע

������������²���Ҫ���� Directory Server����ʹ���( psRoot ���ԣ����ڵ�ǰ��������δ��װ Java Enterprise System Directory Server�������ڰ�װ Java Enterprise System Directory Server ����δ���� Java Enterprise System �� comm_dssetup.p1��


�����ʼ�

�ڵ����ʼ���ѡ�ʱ���ֵ�¼ҳ��

��û����ȷ��� Communications Express �� Messaging Server ֮�������ʱ���ͻ���ִ����⡣Ҫʹ Messaging Server �� Communications Express �޷�ع���Ӧ������ Messaging �� Identity Server �����¼������ Communications Express ֮ǰ���밴���� 4 �¡�ʵ�ֵ����¼���н��ܵĵ����¼����˵����в���

�� Communications Express �����ʼ�ʱ��������Ϣ�����д˲���ʱ������󡱡�

���û�в�������� Communications Express ���ʼ����������¼�� Communications Express ���û��ѽ����ʼ�������ΪĬ��Ӧ�ó��������ִ˴���

����

����Ա��Ҫ���û��� LDAP ��Ŀ�н����� sunUCDefaultApplication ��ֵ���Ϊ "calendar" �� "addressbook"��

��ʹ���û�ע�� Communications Express ֮���û��Ա��ֵ�¼״̬��

�� Identity Server��Ҳ��Ϊ Access Manager���� Communications Express ��װ�ڲ�ͬ�ļ�����ϣ��� Identity Server Remote SDK �� Communications Express ��װ����ͬ�ļ������ʱ���ͻ���ִ����⡣

����

�ڰ�װ�� Communications Express �ļ�����У��� AMConfig.properties �ļ���ָ���������ò���

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


ע

������ IS-SDK-BASEDIR/SUNWam/lib �����ҵ� AMConfig.properties �ļ�


�ӡ��ʼ�������ͨѶ¼����ʱ������ܻ����������⣺

��������ͬ������ϲ��� Communications Express �� Messenger Express (MEM)������ʹ�������������ʹ�� Javascript ���н�������

ʹ�� Identity Server ������֤

��������Ч���û� ID ��������޷�������֤��

��֤���ܻ���������ԭ���ʧ�ܣ�


��־�ļ�

����ͼ����������������ʱ���ɸ���ϵͳ���������ʱ��ɵ���־��Ϣ�Ƿdz����õġ�

    ������־
  1. �༭ uwc-deployed-path/WEB-INF/config Ŀ¼�е��ļ� uwclogging.properties
  2. uwclogging.properties �ļ��洢���²���

    �� 5-1 uwclogging.properties �ļ��еĿ����ò��� 

    ģ��/��־�����ļ�

    ����

    Ĭ��ֵ

    ����

    ����

     

     

    �ڴ���ʱ��u��ļ���ά����־�����ļ�λ��/opt/SUNWuwc/install/uwc-config _TIME-STAMP.log �С�

    Communications Express

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

    uwc.logging.enable

    no

    ���û������־��

    Ҫ������־���뽫 uwc.logging.enable ������ֵ���Ϊ "yes"������ uwc.logging.enable=yes

    Communications Express

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

    uwc.log.file

    uwc-deployed-path/logs/uwc.log

    ���磺

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

    ָ����־�ļ���λ�á�

    �����Ҫ�����־�ļ���λ�á�

    ȷ�� Web Server ����д����ļ���

    Communications Express

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

     

    uwc.log.level

    INFO

    ָ��Ӧ�ó������־����

    ��Ӧ�ó������־������Ϊ����ļ���

    ���õ���־����ֵΪ��

    WARNING��INFO��FINE �� SEVERE��

    �� 5-2 uwcconfig.properties �ļ��еĿ����ò���

    ģ��/��־�����ļ�

    ����

    Ĭ��ֵ

    ����

    ͨѶ¼

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

    log.file

    /tmp/trace.log

    ָ����־�ļ���λ�á�

    �����Ҫ�����־�ļ���λ�á�

    ȷ�� Web Server ����д����ļ���

    ͨѶ¼

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

    uwc.log.level

    3

    ָ��Ӧ�ó������־����

    Ҫ�Դ�ģ�������־���뽫��ֵ����Ϊ 0��

    �ʼ�

     

     

    ����� Sun Java System Messaging Server ����ָ���еĵ� 20 �¡���־����־�������ָ��λ�� http://docs.sun.com/source/819-1056

  3. �� uwclogging.properties �� uwcconfig.properties �ļ�������Ĭ��ֵ�������� Web Server��


����

������־��Ӱ��ϵͳ�����ܡ�




��һҳ      Ŀ¼      ����      ��һҳ     


�ļ����룺819-1067��  ��Ȩ���� 2005 Sun Microsystems, Inc. ��������Ȩ��