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.
Before proceeding, review Manual installation on Apache Tomcat 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
You must define the mfp.authorization.server property. For example:
<Environment name="mfp.authorization.server" value="embedded" type="java.lang.String" override="false"/>
To enable the JMX communication with the administration service, define the following JNDI properties:
- mfp.topology.platform
- mfp.topology.clustermode
If MobileFirst Analytics is installed, you also need to define the following JNDI properties:
- mfp.analytics.url
- mfp.analytics.console.url
- mfp.analytics.username
- mfp.analytics.password
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 jdbc/mfpDS. Declare it as a resource in the <Context> element.
Parent topic: Manual installation on Apache Tomcat