AIOps: Monitoring and Observability - Group home

Monitoring Jakarta Servlet API version 5.0 and above with IBM Tivoli Composite Application Manager for Application Diagnostics for z/OS

  

Overview

When Java EE was transferred to the Eclipse Foundation in 2017, the platform was rebranded as Jakarta EE. With the release of Jakarta EE 9 in 2020, the Jakarta Servlet API 5.0 package name changed from javax.servlet to jakarta.servlet. 

To address this namespace change, 7.2.0.0-TIV-ITCAM_DC-zos-IF0024 is now available from Fix Central. ITCAM 7.2.0 IF 24 adds support for Jakarta Servlet API 5.0 and above.

This release of the Data Collector also continues to support Java EE Servlets through version 4.0.

 

What has changed?

 

The ability to monitor Jakarta Servlet API 5.0 and above requires a change to the ITCAM_DC_HOME directory structure, and a new parameter in the config.sh script.

Monitoring Jakarta EE servlets

 

To monitor Jakarta EE servlets follow these steps: 

1.        From Fix Central, download 7.2.0.0-TIV-ITCAM_DC-zos-IF0024 and extract the file. 

2.        Go to WebSphere/DC/bin and run the createcfg.sh script.

For more information about running the createcfg.sh script, see https://www.ibm.com/docs/en/iad/7.2.x?topic=steps-creating-configuration-directory
 
When the createcfg.sh script has completed successfully, a new ‘jakarta’ folder will be present under ITCAM_DC_HOME:

ITCAM_DC_HOME /

bin/

data/

gdc

itcam.properties

itcam_ecam.properties

itcam_ms.properties

itcam_soa.properties

itcam_tt.properties

itcam_wr.properties

itcamdc

logs/

plugins

runtime/

soadc

toolkit

ttdc

jakarta/

      gdc

      itcam.properties

      itcam_ecam.properties

      itcam_ms.properties

      itcam_soa.properties

      itcam_tt.properties

      itcam_wr.properties

      itcamdc

      logs/

      plugins

      runtime/

      soadc

      toolkit

      ttdc

3.        Now you can configure your servers from the new ITCAM_DC_HOME directory. To be able to set up which servlet API version your WebSphere Liberty profile is using, a new step has been added to the config.sh script:


Also, to address the same question, a new command line option was added:

-newservlet:True, -nonewservlet:False

and an equivalent environment variable:

ITCAM_SERVLETVER

By default, this parameter is set to false which assumes that you are still using Java EE Servlets through version 4.0.

Once the server is restarted, the ITCAM DC will monitor your Jakarta servlets, and the metrics will be available in both the ITCAM Managing Server and the ITM TEP UI.

Product page

IBM Documentation

#OMEGAMON #JavaEE #WebSphereLiberty #monitoring #IBMZ #AIOpsonZ