error: expected claimTaskRequest but got completeTaskRequest

0 views
Skip to first unread message

kiol

unread,
Jun 5, 2008, 10:48:03 AM6/5/08
to tempo-dev
I design a simple process with some PIPA and PA using intalio
desiger.Then I want to deploy it to tempo.I make the director and
place the files flow the example AbsenceRequest.
I log in using grand\tester passwd tester,the process is appeared.I
fill some thing and click the start process.The process is start
successful.
Then I log in using grand\dev1 passwd dev1,the task is appeared.I fill
some thing and click the Complete,the system is hang.
Log says:
22:36:37,093 INFO [org.apache.catalina.startup.Catalina] [main]
Initialization processed in 718 ms
22:36:58,531 INFO [org.apache.catalina.startup.Catalina] [main]
Server startup in 21438 ms
22:39:19,890 FATAL [org.apache.ode.bpel.runtime.PICK] [pool-2-
thread-2] Message (element) part root did not contain correct child
element: expected {http://www.intalio.com/bpms/workflow/
ib4p_20051115}claimTaskRequest but got {http://www.intalio.com/bpms/
workflow/ib4p_20051115}completeTaskRequest
22:39:19,890 ERROR [org.apache.ode.jacob.vpu.JacobVPU] [pool-2-
thread-2] Method "onRequestRcvd" in class
"org.apache.ode.bpel.runtime.PICK$WAITING$2" threw an unexpected
exception.
org.apache.ode.bpel.runtime.InvalidContextException: Message (element)
part root did not contain correct child element: expected {http://
www.intalio.com/bpms/workflow/ib4p_20051115}claimTaskRequest but got
{http://www.intalio.com/bpms/workflow/
ib4p_20051115}completeTaskRequest
at org.apache.ode.bpel.runtime.PICK.initVariable(PICK.java:204)
at org.apache.ode.bpel.runtime.PICK.access$400(PICK.java:51)
at org.apache.ode.bpel.runtime.PICK$WAITING$2.onRequestRcvd(PICK.java:
258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.ode.jacob.vpu.JacobVPU
$JacobThreadImpl.run(JacobVPU.java:451)
at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:
832)
at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:
231)
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:
198)
at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:
362)
at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:
326)
at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:
373)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4$1.call(SimpleScheduler.java:337)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4$1.call(SimpleScheduler.java:336)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:
174)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4.call(SimpleScheduler.java:335)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4.call(SimpleScheduler.java:332)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
22:39:19,890 ERROR [org.apache.ode.bpel.engine.BpelEngineImpl] [pool-2-
thread-2] Scheduled job failed;
jobDetail={mexid=hqejbhcnphr3bvgaw0xvg1, pid={http://example.com/TMP/
TaskManagementProcess}TaskManagementProcess-2, type=INVOKE_INTERNAL}
java.lang.RuntimeException:
org.apache.ode.bpel.runtime.InvalidContextException: Message (element)
part root did not contain correct child element: expected {http://
www.intalio.com/bpms/workflow/ib4p_20051115}claimTaskRequest but got
{http://www.intalio.com/bpms/workflow/
ib4p_20051115}completeTaskRequest
at org.apache.ode.jacob.vpu.JacobVPU
$JacobThreadImpl.run(JacobVPU.java:464)
at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:
832)
at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:
231)
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:
198)
at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:
362)
at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:
326)
at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:
373)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4$1.call(SimpleScheduler.java:337)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4$1.call(SimpleScheduler.java:336)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:
174)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4.call(SimpleScheduler.java:335)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4.call(SimpleScheduler.java:332)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: org.apache.ode.bpel.runtime.InvalidContextException:
Message (element) part root did not contain correct child element:
expected {http://www.intalio.com/bpms/workflow/
ib4p_20051115}claimTaskRequest but got {http://www.intalio.com/bpms/
workflow/ib4p_20051115}completeTaskRequest
at org.apache.ode.bpel.runtime.PICK.initVariable(PICK.java:204)
at org.apache.ode.bpel.runtime.PICK.access$400(PICK.java:51)
at org.apache.ode.bpel.runtime.PICK$WAITING$2.onRequestRcvd(PICK.java:
258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.ode.jacob.vpu.JacobVPU
$JacobThreadImpl.run(JacobVPU.java:451)
... 17 more
22:39:19,906 ERROR [org.apache.ode.scheduler.simple.SimpleScheduler]
[pool-2-thread-2] Error while processing transaction, retrying.
org.apache.ode.bpel.iapi.Scheduler$JobProcessorException:
java.lang.RuntimeException:
org.apache.ode.bpel.runtime.InvalidContextException: Message (element)
part root did not contain correct child element: expected {http://
www.intalio.com/bpms/workflow/ib4p_20051115}claimTaskRequest but got
{http://www.intalio.com/bpms/workflow/
ib4p_20051115}completeTaskRequest
at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:
336)
at
org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob(BpelServerImpl.java:
373)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4$1.call(SimpleScheduler.java:337)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4$1.call(SimpleScheduler.java:336)
at
org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction(SimpleScheduler.java:
174)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4.call(SimpleScheduler.java:335)
at org.apache.ode.scheduler.simple.SimpleScheduler
$4.call(SimpleScheduler.java:332)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException:
org.apache.ode.bpel.runtime.InvalidContextException: Message (element)
part root did not contain correct child element: expected {http://
www.intalio.com/bpms/workflow/ib4p_20051115}claimTaskRequest but got
{http://www.intalio.com/bpms/workflow/
ib4p_20051115}completeTaskRequest
at org.apache.ode.jacob.vpu.JacobVPU
$JacobThreadImpl.run(JacobVPU.java:464)
at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
at
org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:
832)
at
org.apache.ode.bpel.engine.PartnerLinkMyRoleImpl.invokeInstance(PartnerLinkMyRoleImpl.java:
231)
at
org.apache.ode.bpel.engine.BpelProcess.invokeProcess(BpelProcess.java:
198)
at
org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent(BpelProcess.java:
362)
at
org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob(BpelEngineImpl.java:
326)
... 11 more
Caused by: org.apache.ode.bpel.runtime.InvalidContextException:
Message (element) part root did not contain correct child element:
expected {http://www.intalio.com/bpms/workflow/
ib4p_20051115}claimTaskRequest but got {http://www.intalio.com/bpms/
workflow/ib4p_20051115}completeTaskRequest
at org.apache.ode.bpel.runtime.PICK.initVariable(PICK.java:204)
at org.apache.ode.bpel.runtime.PICK.access$400(PICK.java:51)
at org.apache.ode.bpel.runtime.PICK$WAITING$2.onRequestRcvd(PICK.java:
258)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.ode.jacob.vpu.JacobVPU
$JacobThreadImpl.run(JacobVPU.java:451)
... 17 more
22:39:58,265 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].
[localhost].[/ui-fw].[springapp]] [http-8080-Processor17]
Servlet.service() for servlet springapp threw exception
java.lang.ClassNotFoundException:
org.intalio.tempo.web.controller.ActionError
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1363)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1209)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at
org.intalio.tempo.uiframework.actions.TasksAction.retrieveTasks(TasksAction.java:
126)
at
org.intalio.tempo.uiframework.actions.TasksAction.execute(TasksAction.java:
135)
at org.intalio.tempo.web.controller.Action.doExecution(Action.java:
141)
at
org.intalio.tempo.web.controller.SecuredController.showForm(SecuredController.java:
47)
at
org.intalio.tempo.web.controller.UIController.processFormSubmission(UIController.java:
89)
at
org.intalio.tempo.web.controller.SecuredController.processFormSubmission(SecuredController.java:
62)
at
org.springframework.web.servlet.mvc.AbstractFormController.handleRequestInternal(AbstractFormController.java:
265)
at
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:
153)
at
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:
48)
at
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:
875)
at
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:
809)
at
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:
571)
at
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:
511)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:
269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
174)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
874)
at org.apache.coyote.http11.Http11BaseProtocol
$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:
665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:
528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:
81)
at org.apache.tomcat.util.threads.ThreadPool
$ControlRunnable.run(ThreadPool.java:689)
at java.lang.Thread.run(Thread.java:619)

What should I do for fix this?
I attached the process files(bug.zip and bug_workflow.zip).

kiol

unread,
Jun 5, 2008, 10:50:14 AM6/5/08
to tempo-dev
BTW,Could I using chinese in process define?
I try it in intalio ce server,but no luck.
Can tempo support this now?

On 6月5日, 下午10时48分, kiol <yanping....@gmail.com> wrote:
> I design a simple process with some PIPA and PA using intalio
> desiger.Then I want to deploy it to tempo.I make the director and
> place the files flow the example AbsenceRequest.
> I log in using grand\tester passwd tester,the process is appeared.I
> fill some thing and click the start process.The process is start
> successful.
> Then I log in using grand\dev1 passwd dev1,the task is appeared.I fill
> some thing and click the Complete,the system is hang.
> Log says:
> 22:36:37,093 INFO [org.apache.catalina.startup.Catalina] [main]
> Initialization processed in 718 ms
> 22:36:58,531 INFO [org.apache.catalina.startup.Catalina] [main]
> Server startup in 21438 ms
> 22:39:19,890 FATAL [org.apache.ode.bpel.runtime.PICK] [pool-2-
> thread-2] Message (element) part root did not contain correct child
> element: expected {http://www.intalio.com/bpms/workflow/
> ib4p_20051115}claimTaskRequest but got {http://www.intalio.com/bpms/
> workflow/ib4p_20051115}completeTaskRequest
> 22:39:19,890 ERROR [org.apache.ode.jacob.vpu.JacobVPU] [pool-2-
> thread-2] Method "onRequestRcvd" in class
> "org.apache.ode.bpel.runtime.PICK$WAITING$2" threw an unexpected
> exception.
> org.apache.ode.bpel.runtime.InvalidContextException: Message (element)
> part root did not contain correct child element: expected {http://www.intalio.com/bpms/workflow/ib4p_20051115}claimTaskRequest but got
> part root did not contain correct child element: expected {http://www.intalio.com/bpms/workflow/ib4p_20051115}claimTaskRequest but got
> part root did not contain correct child element: expected {http://www.intalio.com/bpms/workflow/ib4p_20051115}claimTaskRequest but got
> part root did not contain correct child element: expected {http://www.intalio.com/bpms/workflow/ib4p_20051115}claimTaskRequest but got

kiol

unread,
Jun 5, 2008, 10:58:06 AM6/5/08
to tempo-dev
I forgot the security file whitch have the role and user the process
needed.
http://groups.google.com/group/tempo-dev/web/security.xml

Nicolas Modrzyk

unread,
Jun 5, 2008, 1:31:26 PM6/5/08
to temp...@googlegroups.com
>
> BTW,Could I using chinese in process define?
> I try it in intalio ce server,but no luck.
> Can tempo support this now?
If it doesn't we have a bug.
Can you send a longer description of what you were doing and what failed ?

Niko,

kiol

unread,
Jun 5, 2008, 8:38:41 PM6/5/08
to tempo-dev
I will recheck that using the tempo trunk version.

Can anyone help me figure out how to resolve the first problem?

Nicolas Modrzyk

unread,
Jun 6, 2008, 1:54:08 AM6/6/08
to temp...@googlegroups.com
>
> I will recheck that using the tempo trunk version.
Ok, great ! Don't hesitate to give extra info on what you are trying
to do, so we can help you at best.

>
> Can anyone help me figure out how to resolve the first problem?

The first problem is due to, what I think is a correlation problem on
the Ode build integrated with tempo. (or in the best case, a
configuration problem on my part)
I've asked the Ode team for feedback, and we should get either a patch
or a way to re-configure this cleanly pretty quickly.

Nicolas,

Nicolas Modrzyk

unread,
Jun 6, 2008, 8:39:25 PM6/6/08
to temp...@googlegroups.com
I've updated the version of Ode in the create_tomcat.rb script.
Now the whole process works completely fine on Claim, Revoke, Complete.
It looks like the openjpa persistence had a slight problen.
All fix now. Enjoy !

Nicolas,

Reply all
Reply to author
Forward
0 new messages