Purpose: Some customers purchase Oracle WebLogic Server Basic licenses (vs. Oracle WebLogic Server Suite) for their various environments. The difference between the two licenses is a limitation of what components and be installed and ran on the customer’s respective environment(s). Oracle may audit these respective customers to verify whether the customer’s environment is compliant with a WebLogic Server Basic license – or not. Oracle LMS scripts (also known as Oracle Compliance scripts) validate whether an an environment is Oracle compliant or not and detailed instructions are below on how to use the script.

Oracle Compliance Script Download: https://support.oracle.com/CSP/main/article?cmd=show&type=ATT&id=885587.1:wls_basicMeasurement

Instructions:

  1. In command prompt, go to “%DOMAIN_HOME%\bin”
  2. Run setDomainEnv.sh so that it sets your session’s environment variables:
    • Windows: run command: setDomainEnv.cmd
    • Unix-based: run command: . ./setDomainEnv
  3. Copy the “wls_basic_measurement.py” script to a location accessible by your command prompt. Navigate to the location of your wls_basic_measurement.py file in command prompt.
  4. Run the following command:
    • java weblogic.WLST wls_basic_measurement.py
  5. The script will prompt you to login with the Domain credentials, then output the results of the test.

Reference: Oracle Note 885587.1