License4J
Scope
OpenLM supports monitoring a wide and growing variety of license managers.
This article describes how to configure OpenLM to work with the License4J License Manager and generate license usage reports. This capability is available for License4J version 4.3.4 and later.
Prerequisites
To monitor the License4J license server, install the following components:
- License4J add-on for OpenLM on the License4J license server machine. The add-on queries the server locally.
- OpenLM Broker on the same License4J license server machine. The Broker forwards query results to the OpenLM Server.
- OpenLM Server on any Windows machine in the network (can be the same server). It parses and presents the results in the EasyAdmin web application.

Configuration
OpenLM Server configuration
- Download and install OpenLM Server.
- Open the OpenLM Server Configuration tool.
- In the License Servers tab, click Add.
- From the Type drop-down menu, select OpenLM Generic.
- Enter a descriptive name in the Description field (for example, License4J server).
- Set the Time Zone for the license server location.
- Enter the server’s hostname or IP (for example, license4j_server).
- Use the same hostname in the Broker configuration.
- Enter the License4J port number (for example, 16090).
- Use the same port in the Broker configuration.
- Leave Is Triad Configuration unchecked. License4J does not support triad configuration.
- Select Use Broker.
- Click Apply.
OpenLM Broker configuration
-
Enter the OpenLM Server hostname (for example, my_openLM_server).
-
Set the communication port. The default is 5015. Ensure the OpenLM Server port is open for inbound communication.
-
Configure the license server details to match the OpenLM Server settings:
- Highlight the License Servers node.
- Enter the same hostname (for example, license4j_server), and click Apply.
-
Add a port for the license server:
- Select the license4j_server node.
- Click Add Port.
- Enter the same port number configured in OpenLM Server (for example, 16090).
- In the License Manager Type drop-down, select OpenLM Generic.
- Click Apply and then OK.
-
Download the License4J add-on and unzip it on the License4J server (for example, to
C:\tmp). -
Open the Commands section and select the data_inquiry node. Enter the full path to the License4J command:
java -jar "<FullPath>\FloatingLicenseServerQueryOpenLM.jar" <ServerNameOrIP>:<PortNumber>Example:
java -jar "C:\tmp\FloatingLicenseServerQueryOpenLM\FloatingLicenseServerQueryOpenLM.jar" license4j_server:16090 -
Click Execute to test the Data Inquiry command.
-
Click Apply.
-
Repeat steps 7–9 for the Status command.
-
Expand the Vendors node. Enter License4J as the vendor name.
-
Click Apply. If prompted with Vendor details changed, select No.
-
Click Restart Broker.
Your OpenLM system is now configured to monitor License4J license usage.