Skip to main content

License4J

To generate license usage reports for the License4J License Manager in OpenLM Platform, configure OpenLM Broker to monitor it. Monitoring works with License4J v4.3.4 or higher.

Before you begin​

To monitor the License4J license server, confirm these prerequisites:

  • OpenLM Platform
  • OpenLM Broker v25.x or higher, installed on the same machine as License4J and approved in Broker Hub.

Configure OpenLM Broker​

The following image shows the OpenLM Broker configuration.

OpenLM Broker configuration OpenLM Broker configuration

To configure OpenLM Broker for License4J:

  1. Open the Broker UI at http://localhost:5090/.

  2. Select License Managers, then Add License Manager.

  3. Set the communication port. The default is 5015.

    Confirm that the OpenLM Server port is open for inbound communication.

  4. Configure the license server details to match the OpenLM Server settings. Select the License Servers node.

  5. Enter the same host name (for example, license4j_server), and select Apply.

  6. Select the license4j_server node.

  7. Select Add Port.

  8. Enter the same port number configured in OpenLM Server (for example, 16090).

  9. In the License Manager Type drop-down list, select OpenLM Generic.

  10. Select Apply, then OK.

  11. Download the License4J add-on.

  12. Unzip the add-on on the License4J server (for example, to C:\tmp).

  13. Open the Commands section and select the data_inquiry node.

  14. Enter the full path to the License4J command:

    java -jar "<FullPath>\FloatingLicenseServerQueryOpenLM.jar" <ServerNameOrIP>:<PortNumber>

    For example:

    java -jar "C:\tmp\FloatingLicenseServerQueryOpenLM\FloatingLicenseServerQueryOpenLM.jar" license4j_server:16090
  15. Select Execute to test the Data Inquiry command.

  16. Select Apply.

  17. Repeat the Commands steps for the Status command.

  18. Expand the Vendors node and enter License4J as the vendor name.

  19. Select Apply. If the "Vendor details changed" message appears, select No.

  20. Select Restart Broker.

Approve License4J in OpenLM Platform​

To approve License4J in OpenLM Platform:

  1. Sign in to OpenLM Platform with the URL your administrator gave you.
  2. From the menu, select License Servers, then Pending Server.
  3. Select the License4J license manager, then select Approve and Merge.

Verify the integration​

To verify the integration:

  1. In OpenLM Platform, select License Servers Live, then Server Statistics.
  2. Confirm License4J appears with a green status indicator.
Note

It can take up to 3 minutes for the status to update for a new connection.

The documentation team might draft this page using a large language model. A technical writer reviews every page and verifies it against the product before publishing it. A human makes the final decision.