Product/components webMethods Version 10.1
Detailed explanation of the problem:
I’m trying to get metering working in webMethods but can’t get the IS to start. The server log displays
License Metering initialization exception: com/softwareag/metering/agent/UsageMeasurement.
The mlog file is supposed to appear under the storage folder.
Running the metering diagnostic tool shows this.
=== Start diagnostic: Measurement log files ===
Success: false
Trace:
Checking storage directory with path: ‘D:\SoftwareAG\common\metering\storage’
Validating measurement log files in storage directory: ‘D:\SoftwareAG\common\metering\storage’.
.mlog files not found in directory ‘D:\SoftwareAG\common\metering\storage’.
Checking measurement log files finished with success: ‘false’
=== End of diagnostic: Measurement log files ===
[com.s.m.a.d.v.MeasurementLogValidator] INFO Start validating measurement log files in directory: ‘D:\SoftwareAG\common\metering\storage’.
[com.s.m.a.d.v.MeasurementLogValidator] INFO ‘0’ measurement log files found for validating:
[com.s.m.a.d.v.MeasurementLogValidator] INFO End validating measurement log files with status false
In the Dry Run the mlog file is written to the lib folder.
=== Start diagnostic: Dry run ===
Success: true
Trace:
Start dry run check with server url: ‘https://metering.softwareag.cloud/api/measurements’.
Using temporary diagnostic cache file with path: ‘D:\SoftwareAG\common\metering\lib\tempDiagnosticStorage\diagnosticCache.mlog’
Given license key has price unit: ‘ST’
Valid header for given license not found. Using constructed diagnostic header ‘{product=PIE, runtimeUId=1234Diagnostic, licenseSerialNumber=1234566789, client=1234567}’.
Dry run check finished with success: ‘true’
=== End of diagnostic: Dry run ===
Does anyone know why the metering won’t start?