shark工作流文档翻译活动--shark(2) - 中国WEB开发者网络 (http://www.webasp.net) -- 技术教程 (http://www.webasp.net/article/) --- shark工作流文档翻译活动--shark(2) (http://www.webasp.net/article/26/25363.htm) |
| -- 作者:未知 -- 发布日期: 2005-06-27 |
设置”engineename”参数 你能够通过编辑”enginename”属性设置shark实例的名称。这里是配置文件中的一个片断,主要是将这个属性的配置的。 ######################### NAME # the name of shark instance - if shark is used in several VMs, this property # MUST be different for each of them enginename=Shark 如果shark在同一个数据库多个虚拟机上运行,每一个shark实例必须在这个属性上有不同的设置。这一点是很重要的,因为当一个进程别一个线程使用的时候,他不能同时在被其他线程所使用。甚至别的线程在不同的虚拟机上也不行。而进程所定功能是建立在shark实例名称和进程ID上的。 在不满意分裂条件的情况下设置核心行为 你能够设置shark的工作方式,让shark在活动完成并且所有的活动外部转换条件都不满足的情况下、进程无处可去的时候如何活动。当然,这个参数还有活动在最后一个转换下的意思 下面是这个参数设置的一个片断: ######################### KERNEL SETTING for UNSATISFIED SPLIT CONDITIONS # There can be a cases when some activity that has outgoing transitions other # then to itself (other then circular one), has nowhere to go based on # calculation of these conditions (all of the conditions are evaluated to false) # In that case, the process could hang (it will not go anywhere, and it will # also not finish), finish (if there is no other active activities), or # the last transaction that finishes the activity will be rolled back. # This settings apply to the block activity's activities also, but the difference # is that if you set parameter to FINISH_IF_POSSIBLE, shark will actually #ninish block activity if possible
默认条件下,这个核心设置为,不使用分配重新评估 |
| webasp.net |