+

Search Tips   |   Advanced Search

Install IBM MobileFirst Platform Operational Analytics for WAS Liberty

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

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

  1. Add the Analytics EAR file to the apps folder of the WAS Liberty application server.

  2. Modify the server.xml file to set the class loading delegation and bind the security roles.
    <application location="worklight-analytics.ear"
                 name="worklight-analytics-ear"
                 type="ear">
      <application-bnd>
        <security-role name="worklightadmin">
          <group name="worklightadmingroup" />
        </security-role>
        <security-role name="worklightdeployer">
          <group name="worklightdeployergroup" />
        </security-role>
        <security-role name="worklightmonitor">
          <group name="worklightmonitorgroup" />
        </security-role>
        <security-role name="worklightoperator">
          <group name="worklightoperatorgroup" />
        </security-role>
        <basicRegistry id="worklightadmin">
          <user name="admin" password="admin" />
          <user name="guest" password="guest" />
          <user name="demo" password="demo" />
          <group name="worklightadmingroup">
            <member name="guest" />
            <member name="demo" />
          </group>
          <group name="worklightdeployergroup">
            <member name="admin" id="admin" />
          </group>
          <group name="worklightmonitorgroup" />
          <group name="worklightoperator" />
        </basicRegistry>
      </application-bnd>
      <classloader delegation="parentLast"/>
    </application>

  3. Add the following features to the WAS 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/worklight-analytics/console


Results

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


Parent topic: Install operational analytics