發文作者:wekon | 五月 10, 2010

Activity annotated with Create Instance must be first basic activity in process

[environment]

activebpel engine 2.1.1 + tomcat 5.5.27 + win 7

[steps]

1. use assign activity in bpel file
2. deploy process

[error message]

the following error appears in the deployment log (http://127.0.0.1:8080/BpelAdmin/deployment_log_detail.jsp)

Activity annotated with Create Instance must be first basic activity in process

[analysis]

the assign activity is reported as error by org.activebpel.rt.bpel.def.visitors.AeCheckStartActivityVisitor.visit(AeActivityAssignDef aDef) without any checking

[solution]

In org.activebpel.rt.bpel.def.visitors.AeCheckStartActivityVisitor(221), remove:
reportError(aDef);


發表迴響

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 變更 )

Twitter picture

You are commenting using your Twitter account. Log Out / 變更 )

Facebook照片

You are commenting using your Facebook account. Log Out / 變更 )

連結到 %s

分類

Follow

Get every new post delivered to your Inbox.