JBPM运用mysql5时 action不会被执行

JBPM使用mysql5时 action不会被执行

使用jbpm自带的描述文件,如果使用默认数据库hsqldb运行正常,如果设置mysql数据库运行时

junit会报junit.framework.AssertionFailedError: Message variable contains message expected:<null> but was:<going state=”” first=”” the=”” to=””>

代码是:

assertEquals(

??? ??? ??? ??? “Message variable contains message”,

??? ??? ??? ??? instance.getContextInstance().getVariable(“message”),

??? ??? ??? ??? “Going to the first state!”);

也就是说com.sample.action.MessageActionHandler没有被执行。

有人遇到这种情况没有?

具体文件见附件

<process-definition><start-state name=”start”><task><state name=”first”> <transition to=”end” name=”to_end”>

?? </state>

?? <end-state name=”end”></end-state>

</task></start-state></process-definition> </going></null>

1 楼 pppppp 2007-03-21  

将数据库换成oracle,就正确执行了。mysql5需要注意些什么吗?

2 楼 JeffreyHsu 2007-04-10  

http://jeffreyhsu.iteye.com/blog/33171

JBPM运用mysql5时 action不会被执行

相关文章:

你感兴趣的文章:

标签云: