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.

 View Only
  • 1.  wmMonitor issues in java services

    Posted Tue January 06, 2009 11:45 AM

    Hi all,
    I have a java service which runs fine in wM6.1. while migrating to 7.1 we imported that, its giving list of errors. Most of the errors related to wMMonitor package. I could not find most of the folders like app, db, query inside monitor. can u please help out in this.

    please find the below errors

    16: package com.wm.monitor.app does not exist
    import com.wm.monitor.app.Instance;
    ^
    17: package com.wm.monitor.app does not exist
    import com.wm.monitor.app.Permissions;
    ^
    18: package com.wm.monitor.query does not exist
    import com.wm.monitor.query.StringQuery;
    ^
    19: package com.wm.monitor.util does not exist
    import com.wm.monitor.util.*;
    ^
    59: package com.wm.monitor.db does not exist
    com.wm.monitor.db.BasicList bl = null;
    ^
    63: cannot find symbol
    symbol : variable MonitorUtil
    location: class gasman.monitor.subFlows
    String listID = MonitorUtil.getRequiredParam(pipeline, “listID”);
    ^
    68: cannot find symbol
    symbol : variable Instance
    location: class gasman.monitor.subFlows
    bl = Instance.getInstanceList(selectClause + whereClause);
    ^
    78: cannot find symbol
    symbol : variable MonitorUtil
    location: class gasman.monitor.subFlows
    Long fromDate = fd != null && fd.length() != 0 ? MonitorUtil.parseDate(fd) : new Long(0L);
    ^
    80: cannot find symbol
    symbol : variable MonitorUtil
    location: class gasman.monitor.subFlows
    Long toDate = td != null && td.length() != 0 ? MonitorUtil.parseDate(td) : new Long(0L);
    ^
    87: cannot find symbol
    symbol : variable MonitorUtil
    location: class gasman.monitor.subFlows
    statusSet = MonitorUtil.convertProcessStatus(statusList);
    ^
    90: cannot find symbol
    symbol : variable Instance
    location: class gasman.monitor.subFlows
    bl = Instance.getInstanceList(Service.getUser(), session.getLocale(), pipeline, modelIDSet, nameInput, statusSet, id, parentid, customid, dateCreated, fromDate, toDate, stepid, user, role, maxRows, isAnd);
    ^
    101: cannot find symbol
    symbol : variable Debug
    location: class gasman.monitor.subFlows
    Debug.logError(28, 119, Debug.stackTraceToString(e));
    ^
    101: cannot find symbol
    symbol : variable Debug
    location: class gasman.monitor.subFlows
    Debug.logError(28, 119, Debug.stackTraceToString(e));
    ^
    102: cannot find symbol
    symbol : variable PkgUtil
    location: class gasman.monitor.subFlows
    String message = PkgUtil.msg(28, e.toString());
    ^
    104: cannot find symbol
    symbol : variable MonitorUtil
    location: class gasman.monitor.subFlows
    MonitorUtil.rethrow(e, “wm.monitor.instance”, “getInstanceList”);
    ^
    15 errors

    Thanks in advance

    Regards,
    Jyothi H.V


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 2.  RE: wmMonitor issues in java services

    Posted Tue January 06, 2009 12:44 PM

    WmMonitor has undergone some pretty significant rewrites/upgrades since 6.1. The GUI for monitoring moved to MWS and the WmMonitor package has been redone several times in the process to support this. I suspect that those services are either gone or moved/changed to support the way Monitor now works.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: wmMonitor issues in java services

    Posted Tue January 06, 2009 03:58 PM

    You may have to redo your java service and update/compile with the changed monitor API’s…

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: wmMonitor issues in java services

    Posted Thu January 08, 2009 11:47 AM

    Thanks for your suggestions.

    when i installed the new instance of wM6.1 and try running the same java service in wM6.1 i could see the same set of errors. I could not find why this strange thing happened. Need your susggestions.

    Thanks in advance

    Regards,
    Jyothi H.V


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services