MobileFirst runtime configuration details

The runtime is packaged as a WAR application for you to deploy to the application server. You need to make some specific configurations for this application.

Before you proceed, 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.

You can define the context root as you 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.