Use the following information to configure the Media Access Proxy (MAP)
software.
MAP configuration
files
MAP uses
the following configuration files, which are stored in the was_profile_root/map/config directory.
- ics-config.xml
This file contains the
MAP configuration
parameters.
Note: The topic MAP configuration parameters in
the Multi-Channel Server 6.3.1 information center plug-in describes
the parameters for this file.
- map-log4j.xml
This file is used to control the
MAP logging
level, and to enable tracing.
Note: See the topic Log and Trace
Information for more information about this file.
If you need to modify the ics-config.xml or map-log4j.xml files,
follow these steps:
- Modify the versions in the was_profile_root/map/config directory.
- Restart the application server using the following commands:
-
- was_root/bin/stopServer.sh server_name -username WAS_admin -password WAS_admin_password_value
- was_root/bin/startServer.sh server_name
-
- was_root\bin\stopServer server_name -username WAS_admin -password WAS_admin_password_value
- was_root\bin\startServer server_name
where server_name specifies the name of the WebSphere® Application Server to
which the MAP enterprise
application is mapped (for example, WebSphere_Portal).
Note: If you are using MAP in
a clustered environment, you must update ics-config.xml or map-log4j.xml and
restart the application server on each node in the cluster.
Configuring MAP to
access images on a web server
MAP can
be configured to request images from the
WebSphere Portal server
or messaging web application. This mode of operation would be used
if the images are included in portlet WAR files in an images directory
in the MPATheme enterprise archive (EAR), or in the messaging web
application EAR. However, it is more efficient if
MAP is
configured to request images from a web server. The
imgHost and
imgPort attributes
in the
ics-config.xml should be configured to
specify the host name and port number of the web server.
If the
images for some portlets or messages are not on the web server that
is configured in ics-config.xml, the portlets
or messages should use the v.imgHost and v.imgPort parameters
to specify the web server where the images are located.
If
MAP is
installed in WebSphere Portal server where
MAP is
also installed, you need to edit
ics-config.xml located
in the
map_installLocation/installedApps/yournode/map.ear/map.war/WEB-INF/ directory
and update
imgHost=", which you can leave blank,
and
imgPort='mapport', for example 9080.
Note: See
the section Media Access Proxy in the Multi-Channel Server 6.3.1 information center plug-in for
more details on these parameters.
After you perform the
basic configuration of the MAP,
configure your WebSphere Application Server data
source for MAP.