本文介绍了无法暂停和恢复AppFabric管理的非服务工作流程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有以下设置:

1.安装了IIS 7和AppFabric的Windows server 2008 R2。

2.带有xamlx工作流的服务,但没有ReceiveActivity,请使用Michael Green建议的技术:

    http://social.msdn.microsoft.com/Forums/eu/dublin/thread/22c33c90-6bef-40e9-8b28-9aada4157281

 

这很有效。我可以托管一个非工作流服务,它基本上是一个从队列中读取消息的流程图循环,我可以通过AppFabric Dashboard,实例和监视器DB来跟踪和管理该工作流。

This works great. I can host a non workflow service, which is basically a flowchart loop that reads messages from a queue,
and i can track and manage that workflow via AppFabric Dashboard, and instance and monitor DBs.

麻烦的是,当我尝试暂停工作流程时,虽然工作流本身似乎已暂停(消息仍在队列中)

AppFabric Dashboard(以及监视器和实例存储DB)认为它仍在运行(活动)。

The trouble is, that when i try to suspend the workflow, although the workflow itself seems to be suspended (messages remain in the queue)
AppFabric Dashboard (and monitor and instance store DBs) think its still running(active).

真正奇怪的是,当我停止服务应用程序时,实例存储立即将SuspendReason列更新为: />
'基于用户请求的工作流管理服务暂停了实例'。

The really weird part is, when i stop the service application, the instance store immediately updates the SuspendReason column to:
'Instance was suspended by workflow managment service based on user request'.

接下来,我再次启动服务,这次仪表板显示工作流实例现在暂停了。太棒了!。$
但是当我尝试恢复它时,监视器数据库中的工作流状态变为"Unsuspended",但InstanceStore DB中的ExecutionState保持空闲状态。

此外,我在Dashboard的WCF部分中获取ServiceException条目,说明以下内容:
$
ServiceException:由于内部错误,服务器无法处理请求。有关更多信息,请启用includeExceptionDetailsInFaults。

Next, i start up the Service again, and this time the Dashboard shows that the workflow instance is now suspended. Great!.
But when i try to resume it, the workflow state in the monitor db changes to 'Unsuspended', but the ExecutionState in the InstanceStore DB remain idle.
Furthermore, I get the ServiceException entry in the WCF part in the Dashboard saying the following:
ServiceException: The server was unable to proccess the request due to an internal error. For more information turn on includeExceptionDetailsInFaults.

我不确定此异常的服务是什么,因为我有
includeExceptionDetailsInFaults  在我的非服务工作流服务中设置为true。

I'm not sure to what service this exception is referring, because i have theincludeExceptionDetailsInFaults set to true in my non Service workflow service.

最后一件事,我还有一个WCF调用已完成条目,其操作名称为:
EndDuplicated。

And one last thing, I have also a WCF call completed entry with the operation name:EndDuplicated.

任何人听起来都不熟悉吗?
b $ b谢谢你

Does any of that sounds familiar to anyone?
Thank you

 

推荐答案

谢谢,


这篇关于无法暂停和恢复AppFabric管理的非服务工作流程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-03 02:16