阅读:4113
回复:11
|
待办提交以后出现死锁的错误
版本9.2.7待办提交以后,显示待办页面几秒钟后,会弹出如下错误信息。
实际任务已经提交完成。 图片:bpm错误.PNG @武汉技术支持团队 有没有遇到过类似问题。出现这个错误前两天,我有在数据库大量删除传阅的节点。以前从未遇到过该错误,最近大量出现。服务有进行过重启,还是有这个问题。 |
2楼#
发布于:2019-01-03 09:21
|
|
3楼#
发布于:2019-01-03 09:24
武汉技术支持团队:是不是有传阅节点,传阅了这个公司?回到原帖看报错的是这行代码 int workflowCount = this.Engine.Query.CountWorkItem(this.UserValidator.UserID, WorkItem.WorkItemState.Unfinished, OThinker.Data.BoolMatchValue.Unspecified, OThinker.Data.BoolMatchValue.Unspecified); numberInfo = "<span class=\"badge badge-danger\">" + workflowCount + "</span>"; |
|
4楼#
发布于:2019-01-03 10:51
|
|
5楼#
发布于:2019-01-04 11:49
|
|
6楼#
发布于:2019-01-05 11:21
有没有重启过服务器?记得你之前搞过那传阅的取消。不知道你搞的对那个有无影响。
200来万的数据没见出问题。。实在不行,做归档吧 |
|
7楼#
发布于:2019-01-08 09:43
|
|
8楼#
发布于:2019-01-10 15:17
|
|
9楼#
发布于:2019-01-15 08:41
已经发展到任何流程都可能出现了,看下面的日志
结束节点用了2s。 @武汉技术支持团队 被这个问题折腾的头都大了,这个错是sql报的还是引擎自己的锁? 2019-01-14 09:34:58 : DefaultEngine: InstanceManager.SendMessage->InstanceID=9c2e52b2-bffb-4638-8419-8256f3d65772,Activity=DirectLeaderApprove,ActivityMessageType=SetUnretrievable,TokenID=2 2019-01-14 09:34:58 : DefaultEngine: InstanceID=9c2e52b2-bffb-4638-8419-8256f3d65772,Activity=DirectLeaderApprove,ActivityMessageType=SetUnretrievable,TokenID=2, Disposal=Success, Emergency=Normal 2019-01-14 09:35:00 : DefaultEngine: Start a Work Item, UserID=7d72532c-d9e6-4d0e-843c-d914ecb02c64, InstanceId=9c2e52b2-bffb-4638-8419-8256f3d65772, Activity=DirectLeaderApprove,Token=2 2019-01-14 09:35:00 : DefaultEngine: url:http://192.168.3.33:8010/Portal/MyUnfinishedWorkItemByGroup.aspx;msg:Transaction (Process ID 447) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2019-01-14 09:35:07 : DefaultEngine: Begin Finish a Work Item,UserID=7d72532c-d9e6-4d0e-843c-d914ecb02c64, InstanceId=9c2e52b2-bffb-4638-8419-8256f3d65772, Activity=DirectLeaderApprove,Token=2 2019-01-14 09:35:07 : DefaultEngine: Finish a Work Item,UserID=7d72532c-d9e6-4d0e-843c-d914ecb02c64, InstanceId=9c2e52b2-bffb-4638-8419-8256f3d65772, Activity=DirectLeaderApprove,Token=2 2019-01-14 09:35:07 : DefaultEngine: InstanceManager.SendMessage->InstanceID=9c2e52b2-bffb-4638-8419-8256f3d65772,Activity=DirectLeaderApprove,ActivityMessageType=AsyncEnd,TokenID=2 2019-01-14 09:35:07 : DefaultEngine: SmartEnviroment.SendMessage->InstanceId=9c2e52b2-bffb-4638-8419-8256f3d65772, InstanceMessageType=ActivityFinished 2019-01-14 09:35:07 : DefaultEngine: SmartEnviroment.SendMessage->InstanceID=9c2e52b2-bffb-4638-8419-8256f3d65772,Activity=PR_DeptLeaderApprove,ActivityMessageType=ActivateActivity,TokenID=-1, Activity=PR_DeptLeaderApprove 2019-01-14 10:33:26 : DefaultEngine: InstanceManager.SendMessage->InstanceID=85369198-bdb0-4383-930b-1578fb810b2b,Activity=DirectLeaderApprove,ActivityMessageType=SetUnretrievable,TokenID=2 2019-01-14 10:33:26 : DefaultEngine: Start a Work Item, UserID=be9326df-5108-4096-91f4-0a60d7d141d1, InstanceId=85369198-bdb0-4383-930b-1578fb810b2b, Activity=DirectLeaderApprove,Token=2 2019-01-14 10:33:26 : DefaultEngine: InstanceID=85369198-bdb0-4383-930b-1578fb810b2b,Activity=DirectLeaderApprove,ActivityMessageType=SetUnretrievable,TokenID=2, Disposal=Success, Emergency=Normal 2019-01-14 10:33:30 : DefaultEngine: Begin Finish a Work Item,UserID=be9326df-5108-4096-91f4-0a60d7d141d1, InstanceId=85369198-bdb0-4383-930b-1578fb810b2b, Activity=DirectLeaderApprove,Token=2 2019-01-14 10:33:33 : DefaultEngine: Finish a Work Item,UserID=be9326df-5108-4096-91f4-0a60d7d141d1, InstanceId=85369198-bdb0-4383-930b-1578fb810b2b, Activity=DirectLeaderApprove,Token=2 2019-01-14 10:33:33 : DefaultEngine: InstanceManager.SendMessage->InstanceID=85369198-bdb0-4383-930b-1578fb810b2b,Activity=DirectLeaderApprove,ActivityMessageType=AsyncEnd,TokenID=2 2019-01-14 10:33:33 : DefaultEngine: url:http://192.168.3.33:8010/portal/default.aspx;msg:Transaction (Process ID 92) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2019-01-14 10:33:33 : DefaultEngine: SmartEnviroment.SendMessage->InstanceId=85369198-bdb0-4383-930b-1578fb810b2b, InstanceMessageType=ActivityFinished 2019-01-14 10:33:33 : DefaultEngine: SmartEnviroment.SendMessage->InstanceID=85369198-bdb0-4383-930b-1578fb810b2b,Activity=PR_DeptLeaderApprove,ActivityMessageType=ActivateActivity,TokenID=-1, Activity=PR_DeptLeaderApprove 2019-01-14 10:33:33 : DefaultEngine: Append a Work Item, UserID=91acb987-0239-4027-a39c-94cf3fa81633, InstanceId=85369198-bdb0-4383-930b-1578fb810b2b, Activity=PR_DeptLeaderApprove,Token=3 2019-01-14 10:33:33 : DefaultEngine: InstanceID=85369198-bdb0-4383-930b-1578fb810b2b,Activity=DirectLeaderApprove,ActivityMessageType=AsyncEnd,TokenID=2, Disposal=Success, Emergency=Normal |
|
上一页
下一页