Sun[tm] ONE Portal Server, Mobile Access 6.2 Installation Guide |
Chapter 2
Installing Mobile Access SoftwareYou must install Sun ONE Portal Server, Mobile Access 6.2 product on each server where Sun ONE Portal Server software is installed.
Use the installation wizard that is provided with the software to install Portal Server, Mobile Access. This chapter covers the following topics to guide you through the installation process:
Downloading the SoftwareUse the Sun ONE Portal Server, Mobile Access software CD-ROM to install the software. If you wish, you can download and access the Mobile Access software as described below.
To Download the Software
To Uncompress the File
Installing the SoftwareThis section describes how to install the Sun ONE Portal Server, Mobile Access 6.2 software.
To Install the Software
- Make sure that Sun ONE Directory Server software and Portal Server software are running.
- Become superuser with the su command.
- Change directory to the location where the Mobile Access software has been downloaded and uncompressed.
- Type the following command to launch the installation wizard:
./setup [-nodisplay]
- Review the Sun ONE Portal Server welcome information, and click the Next button.
- Review the Software License Agreement.
Click the Yes button to accept the license agreement and to continue with your installation. (If you are not ready to proceed, click Exit.)
- Provide passwords for the Sun ONE Identity Server administrator and for the Directory Server directory manager. Click Next to continue.
Tip
These passwords were assigned with Identify Server software and Directory Server software were installed.
- Review the Ready to Install information and click Next to start the Mobile Access installation. (If you are not ready to proceed, click Exit.)
The progress of your installation is displayed. After your installation is completed, an Installation Summary is displayed.
- Verify that Installed appears in the Status column.
- To view other information about your installation, click the Details button.
The summary report in the /var/sadm/install/logs directory is displayed. Click OK to close the window.
- Click Close to close the installation wizard.
- Restart your web container.
To Verify Your Installation
- Log on to the Sun ONE Identity Server administration console as amadmin.
- Click the Service Configuration tab.
- Under the Service name heading in the left pane. verify that the Mobile Application Configuration service is present and that the address book, mail and calendar applications are listed.
- Under the Service name heading in the left pane. under the Identify Server heading, click the arrow for Client Detection to display Client Detection information in the right pane.
- Click the Edit link following the Client Types label to launch the Client Manager.
- Verify that tabs for HDML, JHTML, VoiceXML, WML, XHTML, cHTML, and iHTML are present.
- Close the Client Manager.
- Click the Identity Management tab.
- From the View menu in the location pane, select Services.
- Verify that the Mobile Application Configuration heading is present and that the address book, mail and calendar applications are listed.
- Log on to your portal site using a mobile device.
Enabling Multi-Server InstancesWhen you install Mobile Access software, authentication pages and the servlet filter definition are not configured correctly. To configure these, you must complete additional steps after you have installed Mobile Access software.
The steps you should follow depend on whether multi-server instances existed before you installed Mobile Access software, or whether you want to enable new multi-server instances after you install Mobile Access software.
To Enable Existing Multi-Server Instances
- Copy the aml, wml, xml, and vxml subdirectories from the identity-server-installation-root/SUNWam/web-apps/services/config/auth/default directory to this directory: identity-server-installation-root/SUNWam/web-apps-new-instance-name/services/config/auth/default.
Tip
To do this, use these commands: cp -R aml <destination-directory>, cp -R wml <destination-directory>, cp -R xml <destination-directory>, and cp -R vxml <destination-directory>.
- Make a back-up copy of this file: identity-server-installation-root/SUNWam/web-apps-new-instance-name/services/WEB-INF/web.xml
- Make a copy of this file: web-server-installation-root/https-second-instance/config/server.xml
- Copy the classpath definition in the server.xml file from the first instance server to the new instance.
This can be something like this:
This example divides the definition string into separate lines for readability purposes. Line breaks preceding each /opt/ have been added.
- Update the web-server-installation-root/https-new-instance-name/config/mime.types file with these definitions:
- Restart the Web Server instance.
To Enable New Multi-Server Instances
- Copy the aml, wml, and vxml subdirectories from the identity-server-installation-root/SUNWam/web-apps/services/config/auth/default directory to this directory: identity-server-installation-root/SUNWam/web-apps-new-instance-name/services/config/auth/default.
Tip
To do this, use these commands: cp -R aml <destination-directory>, cp -R wml <destination-directory>, cp -R xml <destination-directory>, and cp -R vxml <destination-directory>.
- Make a back-up copy of this file: identity-server-installation-root/SUNWam/web-apps-new-instance-name/services/WEB-INF/web.xml
- Find the filter definition in this file: identity-server-installation-root/SUNWam/web-apps/services/WEB-INF/web.xml
Here is the fragment:
<filter>
<filter-name>mapcontroller</filter-name>
<filter-class>com.sun.portal.wireless.services.filter.MAPController</filter-class>
</filter>
<filter-mapping>
<filter-name>mapcontroller</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
- Add this filter definition before the first <servlet> definition in this file: identity-server-installation-root/SUNWam/web-apps-new-instance-name/services/WEB-INF/web.xml
- Restart the Web Server instance.