找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

初学者课程:T3自学|T6自学|U8自学软件下载课件下载工具下载资料:通资料|U8资料|NC|培训|年结积分规则 | 使用常见问题Q&A
知识库:U8 | | NC | U9 | OA | 政务U8|U9|NCC|NC65|NC65客开|NCC客开新手必读 | 任务 | 快速增金币用友QQ群[微信群]
查看: 2308|回复: 15

[求助] NC Cloud 2020.05 模块初始化安装卡在「人员信息管理」

[复制链接]
发表于 2022-5-9 09:49:26 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册账号

×
在初始化安装产品模块时,进度一直卡在人员信息管理处,一下午没有动过。
nc.listener.hi.psndoc.HRModuleNewInstallImpl



                               
登录/注册后可看大图


环境说明:
这是我在自己电脑上用虚拟机搭建的测试环境。
Windows10 + SQLserver2008

前面的配置安装一切正常。查看了日志文件,但是看不明白问题在哪。

日志在附件中,期待大神帮助!!!

am-log.docx

401.4 KB, 下载次数: 0, 下载积分: 金币 -5

金币

快速加金币

下载提示积分金币不足,非特定用户等

无法下载,可充值金币

 楼主| 发表于 2022-5-9 09:51:14 | 显示全部楼层
链接: https://pan.baidu.com/s/1GoOKjgyquxm6NXPmcnYNZg 提取码: q3ho   抱歉!不知道附件下载还要积分,我把日志文档放在百度网盘了。
回复 点赞 拍砖

使用道具 举报

发表于 2022-5-9 11:11:19 | 显示全部楼层
这个好像是一个2005版本的一个bug
针对你的NCC数据库执行以下语句试试:

alter  database  数据库名称
set read_committed_snapshot on

点评

2022-05-09 11:21:34 $$debuglevel=ERROR $$msg=确保进了这个方法doInstallProduct $$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000  详情 回复 发表于 2022-5-9 12:00
回复 点赞 拍砖

使用道具 举报

 楼主| 发表于 2022-5-9 12:00:12 | 显示全部楼层
37724861 发表于 2022-5-9 11:11
这个好像是一个2005版本的一个bug
针对你的NCC数据库执行以下语句试试:

2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=start install module : modulecode=6007,level=0,version=NC Cloud 2020.05,modulename=人员信息管理,configPath=C:/yonyou/home/ncscript/hr/hrhi/L_0/setup.ini
$$callid=1652066489147-4665 $$thread=[http-nio-10.211.55.4-80-exec-8] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=install module6007
$$callid=1652066537289-8271 $$thread=[http-nio-10.211.55.4-80-exec-3] $$host=10.211.55.4 $$userid=superadminpk00000000 $$ts=2022-05-09 11:22:17   $$debuglevel=ERROR  $$msg=can not find datasource
java.lang.ClassCastException: java.util.Hashtable cannot be cast to javax.sql.DataSource
        at nc.jdbc.framework.DataSourceCenter.getConnection(DataSourceCenter.java:173)
        at nc.jdbc.framework.DataSourceCenter.getConnection(DataSourceCenter.java:144)
        at nc.jdbc.framework.ConnectionFactory.getConnection(ConnectionFactory.java:24)
        at nc.jdbc.framework.JdbcSession.<init>(JdbcSession.java:70)
        at nc.jdbc.framework.JdbcPersistenceManager.init(JdbcPersistenceManager.java:1089)
        at nc.jdbc.framework.JdbcPersistenceManager.<init>(JdbcPersistenceManager.java:77)
        at nc.jdbc.framework.PersistenceManager.getInstance(PersistenceManager.java:458)
        at nc.bs.dao.BaseDAO.createPersistenceManager(BaseDAO.java:1533)
        at nc.bs.dao.BaseDAO.executeQuery(BaseDAO.java:71)
        at nc.impl.bd.format.FormatQueryServiceImpl.getFormatVOByUser(FormatQueryServiceImpl.java:196)
        at nc.impl.bd.format.FormatQueryServiceImpl.queryFormat4User(FormatQueryServiceImpl.java:118)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at nc.bs.framework.aop.rt.MethodProceedingJoinpoint$3.invoke(MethodProceedingJoinpoint.java:74)
        at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:184)
        at nc.bs.framework.server.SecurityAspect.aroundMethod1(SecurityAspect.java:69)
        at sun.reflect.GeneratedMethodAccessor122.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at nc.bs.framework.aop.rt.AdviceHolder.invoke(AdviceHolder.java:182)
        at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:129)
        at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:135)
        at nc.bs.framework.aop.rt.AspectedProxy.invoke(AspectedProxy.java:60)
        at com.sun.proxy.$Proxy507.queryFormat4User(Unknown Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.invokeBeanMethod(RMIHandlerImpl.java:434)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.doHandle(RMIHandlerImpl.java:204)
        at nc.bs.framework.rmi.server.RMIHandlerImpl.handle(RMIHandlerImpl.java:103)
        at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:57)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:660)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
        at sun.reflect.GeneratedMethodAccessor390.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:170)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:225)
        at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
        at nc.bs.framework.server.LoggerServletFilter.doFilter(LoggerServletFilter.java:35)
        at sun.reflect.GeneratedMethodAccessor391.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282)
        at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.Subject.doAsPrivileged(Subject.java:549)
        at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314)
        at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191)
        at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149)
        at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
        at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367)
        at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
        at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1639)
        at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
        at java.lang.Thread.run(Thread.java:748)
$$callid= $$thread=[Thread-172] $$host= $$userid= $$ts=2022-05-09 11:27:46   $$debuglevel=ERROR  $$msg=ExecutorThread error :1

=================================================================================

以上时日志中的的错误问题。

执行了这个数据库语句还是依旧在这里卡住了。

点评

需要这么大的数据库空间么?  详情 回复 发表于 2022-5-10 08:21
把数据库放大10倍就行了  发表于 2022-5-9 22:13
回复 点赞 拍砖

使用道具 举报

 楼主| 发表于 2022-5-10 08:21:32 | 显示全部楼层
teddy_1 发表于 2022-5-9 12:00
2022-05-09 11:21:34   $$debuglevel=ERROR  $$msg=确保进了这个方法doInstallProduct
$$callid=1652066 ...

需要这么大的数据库空间么?

回复 点赞 拍砖

使用道具 举报

发表于 2022-5-10 14:58:09 | 显示全部楼层
回复 点赞 拍砖

使用道具 举报

发表于 2022-5-11 15:58:04 | 显示全部楼层
您好 05版本的NCC安装盘能分享吗? 本人想搭建NCC开发环境
回复 点赞 拍砖

使用道具 举报

发表于 2022-5-11 15:59:17 | 显示全部楼层
日志丢NCC开发者服务中心问问,那边好多集团的工程师在。
回复 点赞 拍砖

使用道具 举报

发表于 2022-5-11 16:36:01 | 显示全部楼层
oracle11G数据库无此问题
回复 点赞 拍砖

使用道具 举报

发表于 2022-5-11 16:45:41 | 显示全部楼层
SQL数据库确实有点小问题
回复 点赞 拍砖

使用道具 举报

发表于 2022-5-11 23:31:45 | 显示全部楼层
回复 点赞 拍砖

使用道具 举报

发表于 2023-7-14 13:51:33 | 显示全部楼层
能分享下开发环境搭建教程么。
回复 点赞 拍砖

使用道具 举报

发表于 2023-9-26 09:07:47 | 显示全部楼层
回复 点赞 拍砖

使用道具 举报

发表于 2023-11-9 09:41:38 | 显示全部楼层
回复 点赞 拍砖

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-4-26 22:56 , Processed in 0.040766 second(s), 8 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表