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
- Add the Analytics EAR file to the apps folder
of your WebSphere Application Server Liberty application
server.
- 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>
- 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>
- 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.