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