You can configure-session independent mode on MobileFirst Server.
Procedure
Use the following steps to configure MobileFirst Server to
use IBM Data
Cache service
as the attribute store.
- Create an IBM Data
Cache service
instance on Bluemix and
bind the service to a new or existing application.
- Download WebSphere® eXtreme
Scale for Developers - Liberty Profile
(wxs-wlp_vnnn.jar)
and place it in the package_root/mfpf-server/usr/wxs
folder.
- 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.
- 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).