This chapter contains the following:
The Communications tab available with the Enterprise Sample showcases the Java Enterprise System Communication Services.
The Communication Services are presented in the desktop through a series of channels that retrieve and display content from the following Communication products:
Sun JavaTM System Calendar Server 6.3
Sun Java System Messaging Server 6.3
Sun Java System Instant Messaging 7.2
Sun Java System Communications Express 6.3
Displays a list of contacts and launches the Communications Express client
Displays a list of today's events and launches the Communications Express client
Search for employees
Displays online contacts and launches the Instant Messenger client
Displays mail messages and launches the Communications Express client
Displays tasks, including overdue tasks, and launches the Communications Express client
The communications tab cannot be configured on BEA Weblogic and IBM Wesphere. The Delegated administrator commadmin utility only supports Sun Java System Application Server and Sun Java System Web Server. The Delegated Administrator server and console must be deployed to the same web container. The Enterprise Sample Communications tab setup is dependent on the Delegated Administrator Utility and the Enterprise Sample configuration will only succeed if the following products are installed together on the same host:
Web Server or Application Server |
Sun Java System Access Manager |
Delegated Administrator (includes Delegated Administrator commadmin utility) |
Portal Server |
The Communications tab must be installed by the administrator after the Enterprise Sample has been installed and the Installation Prerequisites have been completed.
The Enterprise Sample Communications tab setup is dependent on the Delegated Administrator Utility, specifically the commadmin command line utility. The Delegated Administrator Utility is a Java Enterprise System supported mechanism for granting Domain and User level mail and calendar privileges. Please refer to Sun Java System Delegated Administrator 6.4 Administration Guide for more information.
The portal host must contain the following Java Enterprise System installed and configured products:
Sun Java System Access Manager
Sun Java System WebServer OR Application Server
Sun Java System Delegated Administrator Utility
Sun Java System Portal Server 7.1
In addition, the following products need to be installed and configured and may exist on a different host than Portal Server:
Sun Java System Directory Server
Sun Java System Calendar Server 6.3
Sun Java System Messaging Server 6.3
Sun Java System Message Queue 3 Enterprise Edition
Sun Java System Instant Messaging 7.2
Sun Java System Communications Express 6.3
The Communication Products (Messaging Server, Calendar Server, Delegated Administrator, Instant Messaging Server, and Communications Express) need to be configured for:
Access Manager Single Sign-On (SSO) support
Hosted Domain support
The Communications tab is, by default, installed under the My Portal tab in the Enterprise Sample portal desktop. The Communications tab must be installed by the administrator using ant.
Copy the sample portal configuration files to a custom directory.
The Enterprise Sample Communications tab setup depends on the following files:
input.properties
password.properties
comms.properties
Copy the template files from PortalServer-base/samples/portals/shared directory to a custom directory, remove the .template extension, and substitute the tokens in each file. For example, type:
mkdir /tmp/mydir cp /opt/SUNWportal/samples/portals/shared/password.properties.template /tmp/mydir/password.properties cp /opt/SUNWportal/samples/portals/shared/comms.properties.template /tmp/mydir/comms.properties cp /opt/SUNWportal/samples/portals/shared/input.properties.template /tmp/mydir/input.properties OR cp /var/opt/SUNWportal/tmp/input.properties /tmp/mydir/input.properties |
Specify values for the following files:
Edit the input.properties file and replace all the tokens that begin and end with % with the appropriate portal settings.
When the portal is configured, a populated input.properties file is available at PortalServer-DataDir/tmp/ directory.
Edit the password.properties file and replace all the tokens that begin and end with % with the appropriate administrator password value.
Edit the comms.properties file and replace all the tokens that begin and end with % with the appropriate Communication Server setting.
If all Java Enterprise System products have been installed on a single host, then there is a helper ant script to gather the Communication Product's information and generate the comms.properties file. The helper ant script,PortalServer-base/samples/portals/enterprise/singleHostGatherCommConfig.xml, usage is:
ant -buildfile /opt/SUNWportal/samples/portals/enterprise/singleHostGatherCommConfig.xml -Doutput.location=outputlocation |
Where
Refers to the ant script.
Refers to the location of the generated comms.properties file.
For example:
/usr/sfw/bin/ant -buildfile /opt/SUNWportal/samples/portals/enterprise/singleHostGatherCommConfig.xml -Doutput.location=/tmp/mydir |
This command will generate the comms.properties file in the directory specified by the output.location. Please review the settings in the comms.properties file before installing the communications tab.
Run the ant script to install the Communications tab.
This step installs or configures the Communications tab in the Enterprise Sample. The result of this step is a fully configured Communications tab with sample data for each channel: address book, mail, tasks, calendar, and instant messaging.
To install, execute the command:
ant config_comms -buildfile PortalServer-base/samples/portals/enterprise/build.xml -Dconfig.location=configlocation -logfile logfile |
where
Refers to the ant script.
Refers to the location (directory) of the password.properties and comms.properties files.
Refers to the location of the generated ant logfile.
For example, type:
/usr/sfw/bin/ant config_comms -buildfile /opt/SUNWportal/samples/portals/enterprise/build.xml -Dconfig.location=/tmp/mydir -logfile /tmp/comms.log |
Restart the web container.
At this point, the Communications tab is configured on the Enterprise Sample desktop under the My Portal tab.