tom sebastian [
https://community.jboss.org/people/tomsebastian] created the discussion
"Sub task complete operation not working"
To view the discussion, visit:
https://community.jboss.org/message/762496#762496
--------------------------------------------------------------
Hi all,
I am using WS-HumantaskSservice(5.2) for our humantask implementation. We could
create and could do task operations successfully.
But now we include subtask strategy("onAllSubtasksEndParentTaskEndStrategy")
also. Problem is that when we complete the tsubtask, the below exception is thrown. Please
help...
I passed knowledge session to workitem handler as mentioned in another discussion.
java.lang.IllegalStateException: EntityManager is closed
17:57:42,007 INFO [LoggingFilter] SENT: HeapBuffer[pos=0 lim=0 cap=0: empty]
17:57:42,007 ERROR [STDERR] at
org.hibernate.ejb.EntityManagerImpl.getSession(EntityManagerImpl.java:66)
17:57:42,007 ERROR [STDERR] at
org.hibernate.ejb.TransactionImpl.getSession(TransactionImpl.java:28)
17:57:42,007 ERROR [STDERR] at
org.hibernate.ejb.TransactionImpl.begin(TransactionImpl.java:38)
17:57:42,007 ERROR [STDERR] at
org.jbpm.task.event.InternalTaskEventListener.taskCompleted(InternalTaskEventListener.java:47)
17:57:42,007 ERROR [STDERR] at
org.jbpm.task.event.TaskEventSupport.fireTaskCompleted(TaskEventSupport.java:47)
17:57:42,007 ERROR [STDERR] at
org.jbpm.task.service.TaskServiceSession.postTaskCompleteOperation(TaskServiceSession.java:497)
17:57:42,007 ERROR [STDERR] at
org.jbpm.task.service.TaskServiceSession.taskOperation(TaskServiceSession.java:463)
17:57:42,007 ERROR [STDERR] at
org.jbpm.task.service.TaskServerHandler.messageReceived(TaskServerHandler.java:84)
17:57:42,007 ERROR [STDERR] at
org.jbpm.task.service.mina.MinaTaskServerHandler.messageReceived(MinaTaskServerHandler.java:41)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:716)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:427)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:245)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.filter.logging.LoggingFilter.messageReceived(LoggingFilter.java:177)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:46)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:796)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.IoFilterAdapter.messageReceived(IoFilterAdapter.java:119)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:434)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:426)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:692)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:645)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:634)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:66)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Processor.run(AbstractPollingIoProcessor.java:1078)
17:57:42,008 ERROR [STDERR] at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:64)
17:57:42,008 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
17:57:42,008 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
17:57:42,008 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619)
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/762496#762496]
Start a new discussion in jBPM at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]