Sun Java logo     Previous      Contents      Index      Next     

Sun logo
Sun Java System Communications Express 6 2005Q1 Administration Guide 

Chapter 5
Troubleshooting

This chapter lists the common problems you may encounter and the steps to create and enable error logs.

The following sections are contained in this chapter:


Identifying and Troubleshooting the Problem

Communications Express provides an integrated web-based communications client that depends on many disassociated products. This may sometimes cause problems during usage that requires troubleshooting.

To establish the cause of the problem, use the following common troubleshooting methods first before addressing the problem:

  1. Verify whether the steps mentioned in Sun Java System Messaging Server Release Notes and Sun Java System Communications Express Administration Guide have been followed when configuring the product.
  2. Enable Communications Express logs to view the detailed error logs and determine the cause for failure. Refer to the section on Log Files for steps to enable logging.
  3. Check the component logs for errors and exceptions reported. The log file maintains the list of errors encountered during installation, configuration and running of Communications Express.

Troubleshooting Commonly Identified Problems

This section provides an overview of problems that can be encountered during installation, configuration, start-up, or while accessing Communications Express user interface client components.

Listed below are some commonly identified problems in Communications Express components and their possible causes.

Configuring Communications Express

Configuration changes are not reflected, even after restarting the web container.

Make sure the configuration changes have been applied to the files in the appropriate config path.

Once Communications Express configuration is completed, the following configuration directories are created in your system:

To ensure that the changes are reflected in your application, make configuration changes to uwc-deployed-path/WEB-INF/config

The other two directories such as uwc-deployed-path/staging/WEB-INF/config and uwc-basedir/SUNWuwc/WEB-INF/config are temporary place holders created and used internally by the configurator during configuration. Changes made in them will not get reflected in the application.

Configuration tasks have failed.

To locate the problem, use the log file located at uwc-basedir/SUNWuwc/install/uwc-config _TIME-STAMP.log

Where, TIME-STAMP is the time stamp of the configuration in the form YYYYMMDDhhmmss.

Configuration program is not working properly.

To identify the problem, invoke the configuration program with debug options enabled, using the following debug modes:

-debug : Use this option to generate general debug information

-debugMessage : Use this option to generate a log of errors and warnings

-debugWarning : Use this option to generate a log of warning messages and error messages

-debugError : Use this option to generate a log of error messages. By defaut this option is enabled.

UWC applications startup failed and web container logs shows exceptions.

This error might have occurred due to an incomplete or incorrect configuration.

Work around.

The “chown” commands have failed during configuration.

Work around.

Run the configuration program and enter the correct web container user and group values in the “Web Container User and Group” panel of the configuration program.

The message, “An error occurred during this operation” appears when you access Communications Express with Identity Server enabled after authentication.

Work around.

Ensure that uwcauth.identity.binddn and uwcauth.identity.bindcred properties in uwc-deployed-path/WEB_INF/config/uwcauth.properties are set to that of the amAdmin DN that was provided when installing Identity Server SDK. Refer to the section on Configuring Identity Server Parameters in uwcauth.properties File in Chapter 3, "Configuration Details."

Although the directory manager credentials may be provided to uwcauth.identity.binddn and uwcauth.indentity.bindcred for Identity Server SSO, the directory manager does not have the ACLs required to obtain certain domain specific attributes that Communication Express depends on to function properly.

No support to modify web-container configuration for IS SDK integration.

The configurator does not support modification of web-container configuration for Identity Server SDK integration.

Work around.

Manually invoke tools provided with Identity Server to modify web container configuration for Identity Server.

Messaging SSO is not supported in SSL.

Work around

To support Messaging SSO with SSL perform the following steps:

  1. Configure Web Server in SSL mode.
  2. Configure Communications Express for SSL port of Web Server.
  3. Set uwcauth.ssl.enabled=true.
  4. Set uwcauth.https.port to SSL port of Web Server.
  5. Enable Messaging Server in SSL mode.
  6. Set the webmail.port in uwcconfig.properties to SSL port of Messaging Server.
  7. Provide messagingsso.ims.url to Non SSL port of Messaging Server
  8. Install the Certificate Management Server root Certificate Authority (CMS root CA) on both Web Server and Messaging Server.
  9. Restart Web Server.
  10. Provide a value to local.webmail.sso.ims.verifyurl pointing to Non SSL port of Messaging Server.
  11. Restart Messaging Server.

Accessing Calendar

The message, “An error occurred during this operation” appears when you access Calendar from Communications Express.

This error can appear because of either one or more of the following reasons.

The message, “Calendar Not Available. Could Not Display View. The selected calendar(s) was either deleted, or does not exist, or you do not have permissions to view it. Select another calendar(s)” appears when you access Calendar from Communications Express.

This error can occur when users are provisioned using commcli, which is used for Schema 2, in a non-hosted domain setup scenario. The error message is displayed because commcli incorrectly appends @domain to the value of icsCalendar attribute in the user’s LDAP entry.

Work around

To provision users using commcli in a non-hosted domain environment, use the -k legacy option in the commadmin command. For a Hosted domain environment, use -k hosted option. If the -k option is not specified a hosted domain setup is assumed.

For example,

Code Example 5-1  Commcli provisioning

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

or

If the entry corresponding to an already provisioned user cannot be removed, manually remove the '@domain' part from icsCalendar, icsSubscribed and icsOwned attributes.

The messages, “Calendars across the domain cannot be searched,” “Calendars across the domain cannot be invited,” “Calendars across the domain cannot be subscribed,” or “Check Availability for Calendars across the domain cannot be done,” appears when you search, invite, subscribe, or check the availability of Calendars across domains from Communications Express.

Work around

To search, invite, subscribe, or check the availability of calendars, Cross Domain search needs to be enabled. Refer to the section on “Enabling Cross Domain Searches” in Chapter 13 of the Calendar Server 6 2005Q1 Administration Guide.

Issues with Default Event Status Filter.

The Default Event Status Filter in the Options Calendar window specifies the events to be displayed in the day, week, and month calendar views. The options available are: Accepted, Tentative, Declined, No Response.

When the “Accepted” option is selected as the event status, only those invitations you have accepted are displayed in the day, week or month calendar views. However, all events created by you are always displayed in day, week, or month calendar views.

In the Options Calendar Window, by default only “Accepted” and “Tentative” are selected, which means as a user, you will not see events you have declined or to which you have not responded as yet.

Work around

To view all the events in the Day, Week, Month, and Year views, you should select all the options, that is, Accepted, Tentative, Declined, No Response in the Options Calendar window.

Communications Express displays "Server Error" while uploading files greater than 2 MB.

This error occurs while importing events and tasks to a calendar or importing contacts to an address book when the uploaded file size is greater than 2 MB.

By default Communications Express allows import of upto 2 MB file data. However, upload file size limit is configurable.

Work around

Configure a greater upload file size limit.

To configure a greater upload file size limit configure the following init parameters for the filter, MultipartFormServletFilter in web.xml:

For example, to increase the upload file size to 10MB, follow the configuration steps mentioned below:

  1. Take a backup of the existing web.xml from uwc-deployed-path/WEB-INF/web.xml.
  2. Edit the web.xml file at uwc-deployed-path/WEB-INF/web.xml.
  3. Provide the configuration for MultipartFormServletFilter in web.xml as indicated in bold in code example 5-2.
  4. Code Example 5-2  Configuring init Parameters for MultipartFormServletFilter in web.xml

    <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. Restart web container to have the changes take effect.

Accessing Address Book

A “Server Error” occurs when Address Book is accessed. The Web Server log records an exception “org.apache.xml.utils.WrappedRuntimeException: The output format must have a ’{http://xml.apache.org/xslt}content-handler’ property!”

This exception is thrown by Web Server when JDK Web Server points to a version lower than JDK 1.4.2. The Communications Express uses the latest version of xalan and xerces for XML/XSL parsing. This error can appear when:

  1. You are using Web Server 6.1 not deployed using JES installer. JDK 1.4.1 is usually bundled with Web Server 6.1.
  2. The version of the shared xalan and xerces components shipped with Java Enterprise System, are not the latest.

Work around


Note

If this step is performed, all the other web-applications must be redeployed. As a precaution, take a backup of the server.xml file.


The message “An error occurred during this operation” appears when Address Book is accessed from Communications Express.

This error occurs when the LDAP configuration for Personal Address Book (PAB) is not correct. When the Address Book tab is accessed, Communications Express connects to the personal address book store, that is, the LDAP configured for PAB. If the personal address book store is unable to establish a connection, the error is displayed.

Work around

  1. Check the LDAP configuration in WEB-INF/config/ldappstore/db_config.properties.
  2. Edit the incorrect configuration settings.
  3. Restart the Web Server where Communications Express is deployed.

For more information, refer to the section Configuring Corporate Directory Parameters db_config.properties File, in Chapter 3, "Configuration Details."

Corporate Directory shows an inline error when search is performed.

This could happen if LDAP configuration for Corporate Directory is not configured properly.

Work around.

Check the LDAP configuration in WEB-INF/config/corp-dir/db_config.properties for any misconfigurations, correct them and then restart Communications Express.

For more information, refer to the section Configuring Corporate Directory Parameters db_config.properties File, in Chapter 3, "Configuration Details."

Viewing contacts of Corporate Directory shows error in View window

This error is displayed when the key to access a contact entry in Corporate Directory is not “uid.”

uid is the default value set by Communications Express.

Work around

To access the contacts from Corporate Directory the key value should be set to the desired value in db_config.properties and xlate-inetorgperson.xml configuration files in uwc-deployed-path/WEB-INF/config.

Make the following changes in the files:

  1. Set the appropriate key value in uwc-deployed-path/WEB-INF/config/WEB-INF/config/corp-dir/db_config.properties.
  2. Set the appropriate key in place of “uid” in entry entryID="db:uid" in
  3. uwc-deployed-path/WEB-INF/config/WEB-INF/config/corp-dir/xlate-inetorgperson.xml.

  4. Restart the Web Server where Communications Express is deployed.

For more information, refer to the section Configuring Corporate Directory Parameters db_config.properties File, in Chapter 3, "Configuration Details."

The value of psRoot cannot be set.

The LDAP attribute psRoot in User Preferences is used for Addressbook Server Horizontal Scalability. For more details, see the section, Supporting Horizontal Scalability of Addressbook Server, in Chapter 3, "Configuration Details." If your deployment does not require Addressbook Server Horizontal Scalability, you may ignore this error.

When a user logs into Communications Express for the first time, the psRoot is attempted to be set automatically, but sometimes the value may not be automatically set. This typically happens when the Java Enterprise System Directory Server has not been installed and comm_dssetup.p1 for Java Enterprise System has not be run after installing Java Enterprise System Directory Server. This results in the LDAP Schema not being updated.

Since the schema is not updated, the psRoot attribute cannot be manually set even when the attribute is required for a horizontally scalable Addressbook Server deployment.

Work around

To enable the setting of the psRoot attribute, update the Directory Server to include the psRoot attribute. To do this, include the attribute psRoot in the definition of ipUser object class in

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


Note

You need to update the Directory Server to include the psRoot attribute only if in the current deployment, the Java Enterprise System Directory Server has not been installed and you have not run comm_dssetup.p1 for Java Enterprise System after installing Java Enterprise System Directory Server.


Accessing Mail

Login page appears when Mail tab is clicked.

This problem is noticed when the configuration between Communications Express and Messaging Server is not done properly. For Messaging Server and Communications Express to work seemlessly, Messaging or Identity Server Single Sign-On should be enabled. Before starting Communications Express, follow the instructions outlined for Single Sign-on configuration in Chapter 4, "Implementing Single Sign-On."

The message “An error occurred during this operation” appears when Mail is accessed from Communications Express.

This error appears when the mail component of Communications Express is not deployed or enabled, but the user logging into Communications Express has set Mail to be the default application.

Work around

The Administrator needs to change the value of the attribute sunUCDefaultApplication in the user’s LDAP entry to “calendar” or “addressbook.”

The user remains logged in even after logging out of Communications Express.

This problem is encountered when Identity Server (also known as Access Manager) and Communications Express are installed on different machines and Identity Server Remote SDK is installed in the machine where Communications Express is installed.

Work around

In the machine on which Communications Express is installed, specify the following configuration parameter in AMConfig.properties file:

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


Note

AMConfig.properties file can be found under IS-SDK-BASEDIR/SUNWam/lib


You may encounter the following problems when accessing Address book features from Mail:

It is mandatory to deploy Communications Express and Messenger Express (MEM) on the same host to enable them interoperate using Javascript in the browser.

Authenticating using Identity Server

Unable to authenticate after entering valid userid and password.

Authentication could fail for the following reasons:


Log Files

The log information generated by the various system components on their operation can be extremely useful when trying to isolate or troubleshoot a problem.

    To Enable Logging
  1. Edit the file uwclogging.properties in uwc-deployed-path/WEB-INF/config directory
  2. The uwclogging.properties file stores the following parameters:

    Table 5-1  Configurable Parameters in uwclogging.properties File 

    Module/Log Control File

    Parameter

    Default Value

    Description

    Configuration

     

     

    Logs are maintained in a time-stamped file at /opt/SUNWuwc/install/uwc-config _TIME-STAMP.log

    Communications Express

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

    uwc.logging.enable

    no

    Enables or disables logging.

    To enable logging change the property value of uwc.logging.enable to “yes.” For example, uwc.logging.enable=yes

    Communications Express

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

    uwc.log.file

    uwc-deployed-path/logs/uwc.log

    For example:

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

    Specifies the location of the log file.

    Change the location of the log file, if required.

    Ensure Web Server can write to this file.

    Communications Express

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

     

    uwc.log.level

    INFO

    Specifies the log level for the application.

    Change the log level for the application to the desired level.

    The log level values available are:

    WARNING, INFO, and FINE, SEVERE.

    Table 5-2  Configurable Parameters in uwcconfig.properties File

    Module/Log Control File

    Parameter

    Default Value

    Description

    Address Book

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

    log.file

    /tmp/trace.log

    Specifies the location of the log file.

    Change the location of the log file, if required.

    Ensure Web Server can write into this file.

    Address Book

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

    uwc.log.level

    3

    Specifies the log level for the application.

    To disable logging for this module, set the value to 0.

    Mail

     

     

    Refer to Chapter 20, Logging and Log Analysis, of Sun Java System Messaging Server Administration Guide at http://docs.sun.com/source/817-62266

  3. After you set the default values in uwclogging.properties and uwcconfig.properties file, restart the Web Server.


Caution

Enabling logging will impact the performance of the system.




Previous      Contents      Index      Next     


Part No:819-0115-10.   Copyright 2005 Sun Microsystems, Inc. All rights reserved.