1、升级过程中遇到的问题
cosmic: kd.hrmp.hbss.servicehelper.ServiceFactory not find. 按标准升级文档增加hrmp-hbss到start-cosmic.bat中
调用服务cosmic.IFileHersToHrpiService的方法afterExecuteSqlWithResult失败:kd/hr/hbp/common/util/HRDBUtil 服务全部关掉,在打开,这里有个小建议,要等mysqld服务完全启动后在启动其他服务
hrmp-hbss-dm-1.x.zip cosmic: kd.hrmp.hbss.servicehelper.ServiceFactory not find.
tmc-mon-dm-1.x.zip cosmic: kd.tmc.mon.servicehelper.ServiceFactory not find.
hrmp-haos-dm-1.x.zip cosmic: kd.hrmp.haos.servicehelper.ServiceFactory not find.
hr-hpbs-dm-1.x.zip cosmic: kd.hrmp.hbss.servicehelper.ServiceFactory not find.
hr-hlcs-dm-1.x.zip cosmic: kd.hrmp.hbss.servicehelper.ServiceFactory not find.
hr-heo-dm-1.x.zip cosmic: kd.hrmp.hbss.servicehelper.ServiceFactory not find.
cosmic: kd.swc.hsas.servicehelper.ServiceFactory not find.
2020-08-05 13:14:59.678 ERRORINFO - 951298051044016128 : deploy error.堆栈java.lang.RuntimeException: 调用服务cosmic.CalPayrollTaskUpgradeService的方法afterExecuteSqlWithResult失败:kd/swc/hsbp/common/constants/SWCConstants
Caused by: java.lang.NoClassDefFoundError: kd/swc/hsbp/common/constants/SWCConstants
这个错误要增加swc-hsbp到start-cosmic.bat中
2、升级成功后,也有可能又很多包没有加入到start-cosmic.bat中,会导致有部分功能报程序正在紧急修复的问题,按补丁下载的步骤,把涉及到的包都加入到start-cosmic.bat set BIZLIBS中