Skip to content

RESTful web application state browser for Liberty using the WebSphere JMX Mbeans

License

Notifications You must be signed in to change notification settings

cicsdev/cics-java-liberty-appstate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cics-java-liberty-appstate

This project provides a simple RESTful application state browser for Liberty using the WebSphere JMX Mbeans support.

More information about this sample can be found in the accompanying tutorial Querying Liberty web applications using JMX

Pre-reqs

CICS TS V5.2 or later
Eclipse with WebSphere Developer Tools and CICS Explorer SDK installed

Configuration

The sample code can be added to a dynamic web project and deployed into a CICS Liberty JVM server as a web archive (WAR).

To configure the Liberty server add the following Liberty features:

- monitor-1.0
- localConnector-1.0
- jaxrs-1.1

Once deployed RESTful GET requests can be sent with a web browser using the following syntax assuming the project was deployed with the com.ibm.cicsdev.jmxquery web context root:

Requests will return a JSON object containing the application and state as reported by the WebSphere:service=com.ibm.websphere.application.ApplicationMBean

For example:

{"appName":"hello","State":"STOPPED"}

Reference material

About

RESTful web application state browser for Liberty using the WebSphere JMX Mbeans

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages