Starting version 8.9.03, BMC Server Automation is renamed to TrueSight Server Automation. This space contains information about BMC Server Automation 8.9.02 and previous versions. For TrueSight Server Automation 8.9.03 and later releases, see TrueSight Server Automation 8.9.

Jython and the JLI

Jython is an open-source Java based version of the Python scripting language. It offers a native scripting interface with Java classes. The Jython Line Interface (JLI) is a Jython module that provides an authenticatable, object-oriented interface to BMC Server Automation's CLI Engine. Because of this, the JLI acts as a Jython bridge to the BLCLI, supporting all released BLCLI commands (as listed and described in the BLCLI Help).

A main advantage to using the JLI is speed of execution. Normally, each time a BLCLI command executes, the Java Virtual Machine (JVM) must start, and the BLCLI must authenticate against the BMC Server Automation Application Server. However, a JLI script can instantiate a single connection to the BLCLI that requires a single occurrence of the JVM as well as a single authentication with the Application Server. This allows the script to run faster because you do not have to start the JVM and authenticate for each command.


In addition to the JLI, there is also another way to launch the JVM and connect to the Application Server only once per session—by using the NSH performance commands. For information on these performance commands, see NSH performance commands.

For more information about Jython and the JLI, see the following topics:

Was this page helpful? Yes No Submitting... Thank you