JMX Jobs

JMX Jobs define the necessary parameters to run scripts on JMX platforms. JMX jobs can run independently or they can be added to a Job Group (JOBG) or to a Workflow. For more information about the integration between the Automation Engine and JMX, see Java EE/JMX Agent.

Overview

Your Automation Engine system is connected to JMX via the Agent. The JMX Agent interprets and transforms the commands sent by the Client so that JMX understands them.

Prerequisites:

To create JMX Jobs in the Automic Web Interface and execute them in the JMX client, the following prerequisites must be met:

JMX Commands

SAP Jobs in the Automation Engine are supplied with sets of predefined commands. A command is a group of SAP-specific strings or functions. You build the logic of an SAP Job on its Process page by adding commands to it. For more information, see Process Pages.

User-Friendly Scripting Using Forms

The script editor of the Process page in an SAP Job has two views. The usual one that is available for all Jobs, and the Form view. The Form view is an intuitive, user-friendly way of depicting the values you must enter for a particular command. The Form view of a command can contain dropdown lists, input fields, radio buttons, and so on. For more information, see Forms View on the Process Page.

Defining JMX Jobs

An JMX Job definition is made up of the following pages:

Server Settings Section

Job Report Section

For information on the Job Report section, see Job Reports.

Creating JMX Jobs with Oracle

  1. Select Remote Java VM .
  2. Enter weblogic in the Initial Context Factory field.
  3. Enter the URL with the following format:

    t3://name of the Weblogic server:port of the Weblogic server

Creating JMX Jobs with IBM WebSphere

To create Jobs using the RMI connector:

  1. Select Remote Java VM .
  2. Enter websphere in the Initial Context Factory field.
  3. Enter the URL with the following format:

    Host name of the WebSphere:port of BOOTSTRAP_ADDRESS

To create Jobs using the SOAP connector, that is, WebSphere with activated administrative security:

  1. Select Remote Java VM .
  2. Enter websphere in the Initial Context Factory field.

    Important! As of WebSphere version 7, there is the option to not include any settings in the [WEBSPHERE] INI file section. In this case, you must enter websphere soap in the Initial Context Factory field.

  3. Enter the URL with the following format:

    Host name of the WebSphere:SOAP port

    Retrieve the port number as follows:

    1. Log on to the administrator console.
    2. Click on Servers > Application server.
    3. Click on your server.
    4. Select Transfers > Ports.

      Use the port number shown here in the URL. The SOAP port's default value is 8880

    5. Return to the Automic Web Interface and specify the three passwords in the job's Login object: User, Keystore and Truststore.

Important! The SOAP connector must be activated. Its port is usually 8880.

Creating JMX Jobs with JBoss

  1. Select Local Java VM.
  2. Select Use existing MB Server

    It is not necessary to activate the Create new instance if not found option.

Creating JMX Jobs with Oracle Containers for Java EE

  1. Select Remote Java VM .
  2. Enter oc4j in the Initial Context Factory field.
  3. Enter the URL with the following format:

    service:jmx:rmi://Host name of the Java EE server:port/oc4j

Creating JMX Jobs with SAP Netweaver

  1. Select JNDI.
  2. Enter jmx in Object Name.

Creating JMX Jobs if the JMX Agent Runs Outside an Application Server

  1. Select Local Java VM.
  2. Activate both Use existing MBean Server and Create new instance.

See also:

Jobs (JOBS)