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

Sun �ձ�
Sun Java System Communications Express 6 2004Q2 ����ָ�� 

�� 6 ��
�������

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

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


ȷ������

Communications Express �ṩ��һ����� Web �ļ���ͨѶ�ͻ��ˣ���ȡ���ںܶ��ɢ�IJ�Ʒ����ʱ����ʹ�ù���п��ܻ�����������Ҫ���д�����ϡ�

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

  1. ��������־�Բ��ұ���Ĵ�����쳣����־�ļ������ڰ�װ�����ú����� Communications Express �������Ĵ�����б?
  2. �����ò�Ʒʱ������֤�Ƿ��ա�Sun Java System Communications Express ����˵�����͡�Sun Java System Communications Express ����ָ�������ᵽ�IJ�����в���
  3. ���� Communications Express ��־�ɲ鿴��ϸ�Ĵ�����־��ȷ�������ԭ���й�������־��¼�IJ��裬��μ��й���־�ļ��IJ��衣

��ϳ�������

�����ָ������ڰ�װ�����á������л���� 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 �����û�����ֵ��

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

������

ȷ���� <uwc-deployed- path> /WEB_INF/config/uwcauth.properties �е� uwcauth.identity.binddn ��������Ϊ�ڰ�װ Identity Server SDK ʱ�ṩ�� amAdmin DN����μ�� 3 �¡�Ϊ Communications Express ����ϵͳ���е��� uwcauth.properties �ļ������� Identity Server �������֡�

��ȻĿ¼������֤������� Identity Server SSO������Ŀ¼������û�л�ȡijЩ���ض���������� ACL��Communication Express Ҫ�?���Щ����4��֤����

��������

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

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

�ڴ� Communications Express ��������ʱ������Ϣ��������á��޷���ʾ��ͼ��ѡ��������ɾ��򲻴��ڣ���������Ȩ�鿴��ѡ����������

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

������

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

���磬

����ʾ�� 6-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>' ���֡�

�ڷ�������ʱ������Ļ����ʾ������Ϣ��

Ӧ�ó������

java.lang.NullPointerException

���ʹ�ÿյġ�preferredLanguage������Ϊ�û��ṩ��Ϣ������ܻ���ָô���

������

���û��� LDAP ��Ŀ��ɾ��preferredLanguage�����ԣ�����Ϊ��preferredLanguage��������Ч��ֵ��

����ͨѶ¼

�ڷ���ͨѶ¼ʱ���֡���������󡱡�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 &��� xalan �� xerces �ļ��������ڵ��� JDK 1.4.2 �� JDK �汾����Ϊ JDK 1.4.1 ͨ���� Web Server 6.1 &����һ�����Ծͻ��׳���쳣��

������

�����δ�� JES ��װ����װ Web Server�����ֶ��� Web ����� JDK �汾������ server.xml Web Server �����ļ��ж���Ϊ <java> ��ǵ� java_home ���ԡ�

����

�� JES2 ���°�װ Web Server����ʹ��װ����Զ��� JDK��


ע

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


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

������ͨѶ¼ (PAB) �� LDAP ���ò���ȷʱ���ͻᷢ��˴��󡣵����ʡ�ͨѶ¼����ǩʱ��Communications Express l�ӵ�����ͨѶ¼�洢����Ϊ PAB ���õ� LDAP����������ͨѶ¼�洢�޷���bl�ӣ��ͻ���ʾ�ô���

������

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

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

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

������

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

�鿴��˾Ŀ¼��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 �У�Ϊ entry_id ������Ӧ�ļ�ֵ��
  2. �� <uwc-deployed-path>/WEB-INF/config/WEB-INF/config/corp-dir /xlate-inetorgperson.xml �У�������Ӧ�ļ������ <entry entryID="db:uid"> �еġ�uid����
  3. ����������� Communications Express �� Web Server��

�����ʼ�

�ڵ����ʼ�����ǩʱ���ֵ�¼ҳ��

����ȷ����� 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 �� Communications Express ��װ�ڲ�ͬ�ļ�����ϣ����������⡣���⣬�ɸ����Ҫ�� Identity Server Remote SDK ��װ��װ�� Communications Express �ļ�����С�

������

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

com.iplanet.am.notification.url=<url-to-access-web-container-of-Communications Express>/servlet/com.iplanet.services.comm.server.PLLRequestServlet


ע

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


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

����ͬ�����ǿ�Ʋ��� Communications Express �� Messenger Express (MEM)����ʹ�������������ʹ�� Javascript ���н�������

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

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

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

���ַ�������� 500 HTTP ������

��� <uwc-deployed-path>/WEB-INF/lib Ŀ¼��û�� am_sdk.jar �� am_services.jar���ͻ�����˴���

������

�� <uwc-deployed-path>/WEB-INF/lib Ŀ¼��ɾ�� am_sdk.jar �� am_services.jar �ļ����йظ��� Communications Express �� Identity Server ���𷽰�����μ��� Web ����ʵ���в��� Communications Express �� Identity Server��


��־�ļ�

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

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

    uwclogging.properties �ļ��洢���²���

�� 6-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>/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��

ͨѶ¼

<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 ����ָ�ϡ��� 18 �£���־��¼����־�����http://docs.sun.com/doc/817-7100

  1. �� uwclogging.properties �ļ�������Ĭ��ֵ�������� Web Server��


����

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




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


��Ȩ���� © 2004 Sun Microsystems, Inc. ��������Ȩ��