Updating the name of the preload notice data source

By default, Mobile Portal Accelerator creates a data source with the name jdbc/mpaplnDS for accessing the preload notice tables. If you want to change the name of this data source (for example, if you already have another data source with the same name), you can create your own data source to access the preload notice tables.

About this task

After creating the new data source, update the mwp.properties file as follows:

Procedure

  1. Change your working directory to wp_profile_root/PortalServer/wp.mobile/wp.mobile.mwp/shared/app/config.
  2. Open the file mwp.properties in a text editor.
  3. Set the value of mwp.pln.datasource to the name of the data source that you created for accessing the preload notice tables.
  4. Restart the portal server using the following commands:
    AIXLinuxSolaris
    wp_profile_root/bin/stopServer.sh server_name -username WAS_admin -password WAS_admin_password_value
    wp_profile_root/bin/startServer.sh server_name
    Windows
    wp_profile_root\bin\stopServer server_name -username WAS_admin -password WAS_admin_password_value
    wp_profile_root\bin\startServer server_name

    where server_name is the name of the WebSphere® Application Server instance (for example, WebSphere_Portal).




Terms of use
(C) Copyright IBM Corporation 2012. All Rights Reserved.