To set up Portal Server to access Calendar data from an Exchange Server 2000 environment in a complex Windows 2000 Domain configuration, install ocxhost.exe on a dedicated System (called MAX_HOST).
Examples of a complex Domain configuration can be:
A configuration that includes an Exchange Server that is a Cluster and front-end, and a back-end Exchange Server.
A configuration in which a Windows user and Exchange Mailbox of the same end user are in different Domains.
Installing ocxhost.exe on a dedicated machine is useful for two reasons:
It allows easier troubleshooting if a user cannot access his calendar from the portal.
It allows a more restrictive security setup if a firewall exists between the Portal Server and the Windows Domain.
The following instructions assume that:
MAX_HOST
is the name of the dedicated Windows 2000 System running Outlook 2000 and where ocxhost.exe is installed.
MAIL_HOST
is the Exchange Server on which the mailboxes of the end users reside.
PORTAL
is the Java Enterprise System Portal Server 7 2005Q3
DOMAIN
is the Windows Domain with MAX_HOST and MAIL_HOST
When setting up the dedicated Windows 2000 System (MAX_HOST) note the following requirements and assumptions:
Windows 2000 Server SP3 or Windows 2000 Professional.
Microsoft Outlook 2000 with CDO enabled.
The Operating System and Outlook 2000 is installed. Assign an IP Address and bring the new Host in the same Domain as the Exchange Server.
Create a User MAXhost in the Domain.
Log into your Host (MAX_HOST) as an administrator of the domain.
Select Start, Programs, Administrative Tools, Active Directory Users and Computers and create an domain account with user name MAXHost.
Select User->Properties->Member of and add the group Administrators (local)
Ensure that MAXHost can log on locally to the MAIL_HOST and MAX_HOST.
Set the password.
Configure Outlook for MAXHost user.
Configure Microsoft Exchange Server for Address Book, Calendar, and Mail.
Log in to your Exchange 2000 Server (MAIL_HOST) as MAXHost.
If you are using an Exchange 2000 Front-End Server, log in to your front-end Server as MAXHost.
Go to Start, Programs, Microsoft Exchange, Active Directory Users and Computers.
For each end user, set permissions to the mailbox.
Select View->Advanced Features
Double-click on the user name.
Select the Exchange Advanced tab and select Mailbox Rights.
Add MAXHost and give MAXHost full access.
Repeat steps Configuring Microsoft Exchange Server or IBM Lotus Notes through Configuring Microsoft Exchange Server or IBM Lotus Notes for each user who access the communication channels.
Install ocxhost.exe on the MAX_HOST.
Log in to MAX_HOST as domain user MAXhost.
Unzip the ocxhost.zip file located in the following directory:
PortalServer-base/SUNWportal/export .
When unzipping the file, you see the following file format:
Register ocxhost as follows:
Configure the necessary DCOM settings for the ocxhost utility using the dcomcnfg utility.
Select Start and Run.
Type dcomcnfg and select OK.
In the Distributed COM Configuration Properties dialog box select Default Properties tab and use the following settings:
Select the Applications tab.
Double-click the ocxhost utility in the Properties dialog.
The ocxhost properties window is displayed.
Check Run Application on this Computer under the Location tab.
Set Use custom access permissions, Use custom launch permissions and Use custom configuration permissions under the Security tab.
Select Edit for the Access, Launch, and Configuration settings and ensure that the following users are included in the Access Control List (ACL):
Select a User under the Identity tab in the ocxhost properties window.
Select Browse and locate the MAXHost.
Enter the password and confirm the password.
Select OK.
The ocxhost DCOM component is now configured and ready to communicate with the Exchange Servers. It is launched by RPC call when the first access from the Portal Server occurs.
Change MAXHost users group.
For security reasons you may want to remove the domain user from the Administrators group:
Log out and log in again as Administrator on MAX_HOST.
Remove the user MAXHost from local Administrators group, (and assign it to Domain User Group).
Do not use a firewall should between the Portal and the MAX_HOST.
(RPC calls using dynamic ports are used for the communication from Portal Server to ocxhost.exe.)
Do not use a firewall between the MAX_HOST and the MAIL_HOST.