Configuring session-independent mode

You can configure-session independent mode on MobileFirst Server.

Before you begin

You must use the IBM® Data Cache service on Bluemix® to configure the MobileFirst Server in session-independent mode. Learn more...

Procedure

Use the following steps to configure MobileFirst Server to use IBM Data Cache service as the attribute store.

  1. Create an IBM Data Cache service instance on Bluemix and bind the service to a new or existing application.
  2. Download WebSphere® eXtreme Scale for Developers - Liberty Profile (wxs-wlp_vnnn.jar) and place it in the package_root/mfpf-server/usr/wxs folder.
  3. Add the following code to the .\usr\config\mfpfproperties.xml file.
    <featureManager>
      <feature>eXtremeScale.client-1.1</feature>
    </featureManager>
    <jndiEntry jndiName="project_name/mfp.session.independent" value="true"/>
    <jndiEntry jndiName="project_name/mfp.attrStore.type" value="datacache"/>
    The project_name value is the name of the IBM MobileFirst™ Platform Foundation project for which the IBM Data Cache service must be enabled as the attribute store.
  4. To bind the IBM Data Cache service app to the container, use the startserver.sh command to start the MobileFirst Server container and then provide the application name (from step 1).