+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


MobileFirst runtime configuration details

The runtime is packaged as a WAR application for us to deploy to the application server. We need to make some specific configurations for this application in the server.xml file.

Before proceeding, review Manual installation on WebSphere Application Server Liberty for the configuration details that are common to all services.

The runtime WAR file is in mfp_install_dir/MobileFirstServer/mfp-server.war.

We can define the context root as we want. However, it is /mfp by default.


Mandatory JNDI properties

When we define the JNDI properties, the JNDI names must be prefixed with the context root of the runtime. The following example illustrates the case to declare mfp.analytics.url whereby the runtime is installed with /mobilefirst as the context root:

You must define the mobilefirst/mfp.authorization.server property. For example:

If MobileFirst Analytics is installed, you need to define the following JNDI properties:

For more information about the JNDI properties, see List of JNDI properties for MobileFirst runtime.


Data source

The JNDI name of the data source for the runtime must be defined as jndiName=<contextRoot>/jdbc/mfpDS. The following example illustrates the case whereby the runtime is installed with the context root /mobilefirst, and that the runtime is using a relational database:

Parent topic: Manual installation on WebSphere Application Server Liberty