IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  wM Metering not starting

    Posted 04/21/23 01:43 PM

    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?

    Production instance

    Using latest fixes available - IS Core Fix25


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: wM Metering not starting

    Posted 04/22/23 01:14 PM

    I have one additional piece of information:

    INFO | jvm 1 | java.lang.NoClassDefFoundError: com/softwareag/metering/agent/UsageMeasurement
    INFO | jvm 1 | at com.wm.app.b2b.server.util.metering.ServiceMetering.initUsage(ServiceMetering.java:30)
    INFO | jvm 1 | at com.wm.app.b2b.server.Server.run(Server.java:500)
    INFO | jvm 1 | Caused by: java.lang.ClassNotFoundException: com.softwareag.metering.agent.UsageMeasurement

    Perhaps there is a missing jar file.


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: wM Metering not starting

    Posted 04/24/23 03:01 AM

    Hi Colin,
    they key part is “Given license key has price unit: ‘ST’”
    Your license key is not set for metering. Did you get any new license keys for that from SAG?
    What’s your patch level for the Metering agent?


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: wM Metering not starting

    Posted 04/24/23 04:50 AM

    Hi Holm,
    The metering agent is 10.1 fix 5.
    The license key is the latest one that we’ve provided and has the correct expiry date. The old price unit was Core based and is now transactional so I assume ‘ST’ refers to that.


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: wM Metering not starting