After configuring the WebSphere® Application Server data
source for your environment, you must configure the Mobile Portal Accelerator to
access the Media Access Proxy (MAP).
About this task
To configure
Mobile Portal Accelerator to
access
MAP,
perform the following steps.
Procedure
- Configure the newly created MAP data
source to Mobile Portal Accelerator.
- Log in to the WebSphere Application Server Integrated Solutions Console.
- Click .
- Click Mapping Resource references to resources.
- Locate the map data source and
click OK.
- Specify authentication method by applying previously
created credentials to the MAP database
- Click Save Configuration.
- On the Mobile Portal Accelerator server,
update the mcs-config.xml file to include MAP server
data.
- Copy the mcs-config.xml file from
the was_profile_root/installedApps/cell_name/mcs.ear/mcs.war/WEB-INF directory to
the wp_profile_root/PortalServer/wp.mobile/wp.mobile.mcs directory.
- Add the MAP URL
to wp_profile_root/PortalServer/wp.mobile/wp.mobile.mcs/mcs-config.xml as
follows:
<media-access-proxy
base-url="http://map_server_host:map_serving_port/map"
prefetch-base-url=""
mode="map_mode"/>
For
example:
<media-access-proxy
base-url="http://maphost.xx.yyy.com:9080/map"
prefetch-base-url=""
mode="map"/>
Note: The map_mode can
be either map or ics.
- Change your working directory to wp_profile_root/ConfigEngine.
- Run the following command:
./ConfigEngine.sh init mcs-update-config
ConfigEngine init mcs-update-config
Note: For
security reasons, if you do not want to store the WebSphere Portal admin
password and WebSphere Application Server admin
password in the wkplc.properties file, you can specify
the passwords on the portal server command line. For example, when
this topic directs you to enter the ConfigEngine script
or batch file, you would add parameters to the command to specify
the password values as shown here:
./ConfigEngine.sh init mcs-update-config
-DPortalAdminPwd=WP_admin_password_value
-DWasPassword=WAS_admin_password_value
ConfigEngine init mcs-update-config
-DPortalAdminPwd=WP_admin_password_value
-DWasPassword=WAS_admin_password_value
where - WP_admin_password_value is the value of the WebSphere Portal admin
password
- WAS_admin_password_value is the value of the WebSphere Application Server admin
password if WebSphere Application Server security
is enabled
- Add the MAP URL
to the mwp.icsServer property in the wp_profile_root/PortalServer/wp.mobile/wp.mobile.mwp/shared/app/config/mwp.properties file
as follows:
mwp.icsServer = http://hostname:port/map/map
- Restart the portal
server using the following commands:
where server_name is the
name of the WebSphere Application Server instance
(for example, WebSphere_Portal).