Installing IBM MobileFirst Platform Operational Analytics for WebSphere Application Server Liberty

You can install the IBM MobileFirst™ Platform Operational Analytics for WebSphere® Application Server Liberty.

About this task

The following steps describe how to install and run the Analytics EAR file on WebSphere Application Server Liberty.

The IBM MobileFirst Platform Operational Analytics is protected with role-based security, so you must bind the security roles to the application to be able to access the console.

Procedure

  1. Add the Analytics EAR file to the apps folder of your WebSphere Application Server Liberty application server.
  2. Modify the server.xml file to set the class loading delegation and bind the security roles.
    <basicRegistry id="worklight" realm="worklightRealm">
      <user name="demo" password="demo"/>
      <user name="monitor" password="demo"/>
      <user name="deployer" password="demo"/>
      <user name="operator" password="demo"/>
      <user name="admin" password="admin"/>
    </basicRegistry>
    
    <application location="analytics.ear"
        name="analytics-ear"
        type="ear">
      <application-bnd>
        <security-role name="worklightadmin">
           <user name="admin"/>
        </security-role>
        <security-role name="worklightdeployer">
           <user name="deployer"/>
        </security-role>
        <security-role name="worklightmonitor">
           <user name="monitor"/>
        </security-role>
        <security-role name="worklightoperator">
           <user name="operator"/>
        </security-role>
       </application-bnd>
    </application>
  3. Add the following features to the WebSphere Application Server Liberty server in the feature manager.
    <feature>jsp-2.2</feature>
    <feature>jndi-1.0</feature>
    <feature>appSecurity-1.0</feature>
  4. Start the application server and view the console in the browser.
    http://localhost:9080/analytics/console

Results

The analytics console is deployed and can now be viewed in the browser.