Sun Java System Communications Express 6 2005Q1 ����ָ�� |
�� 5 ��
������������г�������ܻ���ij��������Լ����������ô�����־�IJ��衣
���°����²��֣�
ȷ�����������Communications Express �ṩ��һ����� Web �ļ���ͨ�ſͻ��ˣ�����5�ںܶ��ɢ�IJ�Ʒ����ʱ����ʹ�ù���п��ܻ�������⣬�Ӷ���Ҫ���д�����ϡ�
Ҫ�ҳ������ԭ�����ڽ������֮ǰʹ�����³��ô�����Ϸ�����
- ��֤�����ò�Ʒʱ���Ƿ��Ѱ��� Sun Java System Messaging Server ����˵��� Sun Java System Communications Express ����ָ�����ᵽ�IJ�����в���
- ���� Communications Express ��־�Բ鿴��ϸ�Ĵ�����־��ȷ�������ԭ���й�������־�IJ��裬�������־�ļ����֡�
- ��������־�Բ��ұ���Ĵ�����쳣����־�ļ������ڰ�װ�����ú����� 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 ������־��ʾ�쳣��
�˴�������ɲ��������ȷ����������
������
- ȷ��������������еĺ������ò��衣�йغ������ò��裬������� 2 �¡���װ������ Communications Express���е���������˵����
- ȷ������Ϊ������ѯ�ʵ�������������ָ������ȷ��ֵ��
- �����������ָ���� 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����ִ�����²��裺
- �� SSL ģʽ������ Web Server��
- Ϊ Web Server �� SSL �˿����� Communications Express��
- ���� uwcauth.ssl.enabled=true��
- �� uwcauth.https.port ����Ϊ Web Server �� SSL �˿ڡ�
- �� SSL ģʽ������ Messaging Server��
- �� uwcconfig.properties �е� webmail.port ����Ϊ Messaging Server �� SSL �˿ڡ�
- Ϊ Messaging Server �ķ� SSL �˿��ṩ messagingsso.ims.url��
- �� Web Server �� Messaging Server �ϰ�װ֤�������������֤��Certificate Management Server root Certificate Authority, CMS �� CA����
- ������ Web Server��
- Ϊָ�� Messaging Server �ķ� SSL �˿ڵ� local.webmail.sso.ims.verifyurl �ṩһ��ֵ��
- ������ Messaging Server��
��������
�� Communications Express ��������ʱ��������Ϣ�����д˲���ʱ�������
�˴������������һ�����ԭ������
- uwc-deployed-path /WEB_INF/config/uwcconfig.properties �е� Calendar Server ���ò���ȷ��
- Communications Express �� uwcconfig.properties �ļ��е� Calendar Server calmaster ��Ϣ�� Calendar Server �� cal deploy path/bin/config/ics.conf �ļ��е�ֵ��ͬ��
�й��� Calendar Server ��صIJ���������� uwcconfig.properties �ļ������� Calendar Server ������
- û��ͬʱΪ�й������� Communications Express �� Calendar Server��
ȷ��Ϊ������ͬʱ���û���� Communications Express �� Calendar Server���й�Ϊ���������� Communications Express �� Calendar Server ����ϸ��Ϣ��������������������й���������
- û���� Calendar Server��
- û��Ϊ���û������������
�� 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 ����
- fileSizeHardLimit��ָ���ڷ�������ֹͣ������֮ǰ�����ļ����ݵ�����ֽڴ�С�����磬����û���һ����������������ļ������е�һ������ļ������� fileSizeHardLimit ���ƣ����������ļ������ҹ������������źš�
- requestSizeLimit��ָ����������������ֽڴ�С�����ij������Υ���˴����ƣ����ֹͣ�����?������������Ȼ����������Υ�����⣬�䷽ʽ�봦��Υ�����ݴ�С�̶�����ʱһ������Ƶ�Ĭ��ֵΪ 4 MB��
- fileSizeLimit��ָ�������ļ����ݵ�����ֽڴ�С�����磬����û���һ����������������ļ���������ÿ���ļ������ܴ��ڴ����ơ���ע�⣬������Ϊ softlimit������ζ������������ݳ�������ƣ������������ݣ��������Խ�����У�����Ӧ�ó������СΥ�����⡣�����Ƶ�Ĭ��ֵΪ 1 MB��
- failureRedirectURL������ѡ����ָ���������ʱ����ת��������ض��� URL���ض��� URL ����ͨ�� failureRedirectURL init ����������á����δָ���ض��� URL����������׳��쳣��b�������������Ƶ�Ĭ��ֵΪ 2 MB��
���磬Ҫ�������ļ���С��ӵ� 10MB����ִ����������ò��裺
- �� uwc-deployed-path/WEB-INF/web.xml �е����� web.xml ���б��ݡ�
- �༭ uwc-deployed-path/WEB-INF/web.xml �е� web.xml �ļ���
- ���մ���ʾ�� 5-2 �еĴ�����ʾ���֣����� web.xml �е� MultipartFormServletFilter��
- ������ 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 ��������������»���ִ˴���
����
�� Communications Express ����ͨѶ¼ʱ��������Ϣ�����д˲���ʱ�������
������ͨѶ¼ (Personal Address Book, PAB) �� LDAP ���ò���ȷʱ���ͻᷢ��˴������ʡ�ͨѶ¼��ѡ�ʱ��Communications Express ��l�ӵ�����ͨѶ¼�洢����Ϊ PAB ���õ� LDAP����������ͨѶ¼�洢����bl�ӣ��ͻ���ʾ�˴���
����
�йظ����Ϣ��������� 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 �����ļ��н���ֵ����Ϊ�����ֵ��
���ļ��н������¸�ģ�
�йظ����Ϣ��������� 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
�ӡ��ʼ�������ͨѶ¼����ʱ������ܻ����������⣺
��������ͬ������ϲ��� Communications Express �� Messenger Express (MEM)������ʹ�������������ʹ�� Javascript ���н�������
ʹ�� Identity Server ������֤
��������Ч���û� ID ���������������֤��
��֤���ܻ���������ԭ���ʧ�ܣ�
- û��ʹ�� commcli �ñ��û�������ʹ���� Identity Server��Ҳ��Ϊ Access Manager���� Sun Java System LDAP Schema v.2��
����
���ʹ�� Sun Java System LDAP Schema v.2����ȷ����ʹ�� commcli ʵ�ó����ͨ�� Identity Server UI ����̨������û���
- ��ͼ��¼���û�����֯�в����ڡ�
uwc-deployed-path/WEB_INF/config/uwcauth.properties �ж���� defaultdomain ����������û������Ϣ����ʽΪ user@domain�����������֤�û� ID������û�����Ӧ�����֯���в����ڣ���֤�ͻ�ʧ�ܡ�
- uwc-deployed-path/WEB_INF/config/uwcauth.properties �еĹ���Ա֤�鲻��ȷ��
�й����ò������ϸ��Ϣ��������� 3 �¡�������ϸ��Ϣ���е��� uwcauth.properties �ļ������� Identity Server ������
��־�ļ�����ͼ����������������ʱ���ɸ���ϵͳ���������ʱ��ɵ���־��Ϣ�Ƿdz����õġ�
������־
- �༭ uwc-deployed-path/WEB-INF/config Ŀ¼�е��ļ� uwclogging.properties
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
- �� uwclogging.properties �� uwcconfig.properties �ļ�������Ĭ��ֵ�������� Web Server��