Discussion:
[jboss-user] [jBPM] - Unable to run simple Human task
Pavan Kumar Mantha
2013-08-02 17:33:24 UTC
Permalink
Pavan Kumar Mantha [https://community.jboss.org/people/manthapavan] created the discussion

"Unable to run simple Human task"

To view the discussion, visit: https://community.jboss.org/message/831195#831195

--------------------------------------------------------------
I Started working on jBPM5.4 for one of my implementations, as part of that i am parcticing Simple HumanTask but i was not able to run it. i gte the form displayed but when i click complete button, i get as below.

org.jboss.resteasy.spi.UnhandledException: java.lang.RuntimeException: Command OperationRequest faild due to Could not commit transaction. Please contact task server administrator.
org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:340)
org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:214)
org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:190)
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:540)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59)
*root cause*
| > java.lang.RuntimeException: Command OperationRequest faild due to Could not commit transaction. Please contact task server administrator.
     org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:729)
     org.jbpm.task.service.hornetq.HornetQTaskServerHandler.messageReceived(HornetQTaskServerHandler.java:43)
     org.jbpm.task.service.hornetq.BaseHornetQTaskServer.run(BaseHornetQTaskServer.java:104)
     java.lang.Thread.run(Thread.java:662)
|
Please help me.
if possible can you send me simple Human Task example so that i can build my own as a start up.

Thanks
Pavan Kumar
Sr Java Developer.
   
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831195#831195]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Serge Emmanuel Pagop
2013-08-03 22:06:20 UTC
Permalink
Serge Emmanuel Pagop [https://community.jboss.org/people/spagop] created the discussion

"Re: Unable to run simple Human task"

To view the discussion, visit: https://community.jboss.org/message/831276#831276

--------------------------------------------------------------
Hi Pavan,  check this example from eric schabell - http://www.schabell.org/2013/01/jboss-brms-rewards-demo-update.html http://www.schabell.org/2013/01/jboss-brms-rewards-demo-update.html  Cheers, Serge
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831276#831276]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Pavan Kumar Mantha
2013-08-04 16:31:03 UTC
Permalink
Pavan Kumar Mantha [https://community.jboss.org/people/manthapavan] created the discussion

"Re: Unable to run simple Human task"

To view the discussion, visit: https://community.jboss.org/message/831302#831302

--------------------------------------------------------------
Thanks Serge Emmanuel, https://community.jboss.org/people/spagop


I made it ran. i pointed my jBPM engine to MySql and i was able to run the examples and my own samples, i suspect there was problem with h2
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831302#831302]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Serge Emmanuel Pagop
2013-08-04 17:39:52 UTC
Permalink
Serge Emmanuel Pagop [https://community.jboss.org/people/spagop] created the discussion

"Re: Unable to run simple Human task"

To view the discussion, visit: https://community.jboss.org/message/831304#831304

--------------------------------------------------------------
you're welcome!
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/831304#831304]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...