The process can be shown now and can execute the user tasks but I have the
following exception when there is a LOG process after a User task any Idea
how to solve this issue????
33:09,296 INFO [STDOUT] Hibernate: update ProcessInstanceLog set
processInstanceId=?, processId=?, START_DATE=?, END_DATE=? where id=?
33:09,296 ERROR [STDERR] javax.persistence.PersistenceException:
org.hibernate.MappingException: Named query not known:
ProcessInstancesWaitingForEvent
33:09,296 ERROR [STDERR] at
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
33:09,296 ERROR [STDERR] at
org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:106)
33:09,296 ERROR [STDERR] at
org.drools.persistence.processinstance.JPASignalManager.getProcessInstancesForEvent(JPASignalManager.java:50)
33:09,296 ERROR [STDERR] at
org.drools.persistence.processinstance.JPASignalManager.signalEvent(JPASignalManager.java:29)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.setState(WorkflowProcessInstanceImpl.java:191)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.EndNodeInstance.internalTrigger(EndNodeInstance.java:56)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:148)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:135)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:37)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:101)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:82)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:99)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:148)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:135)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:37)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:101)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:82)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:192)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.HumanTaskNodeInstance.triggerCompleted(HumanTaskNodeInstance.java:74)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:246)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:222)
33:09,296 ERROR [STDERR] at
org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:258)
33:09,296 ERROR [STDERR] at
org.drools.persistence.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:96)
33:09,296 ERROR [STDERR] at
org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:46)
33:09,296 ERROR [STDERR] at
org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:12)
33:09,296 ERROR [STDERR] at
org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:254)
33:09,296 ERROR [STDERR] at
org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:118
33:09,296 ERROR [STDERR] at
org.drools.process.workitem.wsht.CommandBasedWSHumanTaskHandler$GetResultContentResponseHandler.execute(CommandBasedWSHumanTa
andler.java:297)
33:09,296 ERROR [STDERR] at
org.drools.task.service.TaskClientHandler.messageReceived(TaskClientHandler.java:139)
33:09,296 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:752)
33:09,296 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414)
33:09,296 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:49)
33:09,296 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:832)
33:09,296 ERROR [STDERR] at
org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:379)
33:09,296 ERROR [STDERR] at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:173)
33:09,296 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414)
33:09,296 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:49)
33:09,296 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:832)
33:09,312 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$HeadFilter.messageReceived(DefaultIoFilterChain.java:616)
33:09,312 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414)
33:09,312 ERROR [STDERR] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:408)
33:09,312 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:578)
33:09,312 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:540)
33:09,312 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:532)
33:09,312 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:58)
33:09,312 ERROR [STDERR] at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:857)
33:09,312 ERROR [STDERR] at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
33:09,312 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
33:09,312 ERROR [STDERR] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
33:09,312 ERROR [STDERR] at java.lang.Thread.run(Unknown Source)
33:09,312 ERROR [STDERR] Caused by: org.hibernate.MappingException: Named
query not known: ProcessInstancesWaitingForEvent
33:09,312 ERROR [STDERR] at
org.hibernate.impl.AbstractSessionImpl.getNamedQuery(AbstractSessionImpl.java:70)
33:09,312 ERROR [STDERR] at
org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1260)
33:09,312 ERROR [STDERR] at
org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:103)
33:09,312 ERROR [STDERR] ... 50 more
33:09,312 INFO [STDOUT] [2009:11:321 15:11:312:exception] Uncaught
exception on client
33:09,312 INFO [STDOUT] java.lang.RuntimeException: Could not rollback
transaction
33:09,312 INFO [STDOUT] at
org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:283)
33:09,312 INFO [STDOUT] at
org.drools.command.impl.CommandBasedStatefulKnowledgeSession$1.completeWorkItem(CommandBasedStatefulKnowledgeSession.java:118
33:09,312 INFO [STDOUT] at
org.drools.process.workitem.wsht.CommandBasedWSHumanTaskHandler$GetResultContentResponseHandler.execute(CommandBasedWSHumanTa
andler.java:297)
33:09,312 INFO [STDOUT] at
org.drools.task.service.TaskClientHandler.messageReceived(TaskClientHandler.java:139)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$TailFilter.messageReceived(DefaultIoFilterChain.java:752)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:49)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:832)
33:09,312 INFO [STDOUT] at
org.apache.mina.filter.codec.ProtocolCodecFilter$ProtocolDecoderOutputImpl.flush(ProtocolCodecFilter.java:379)
33:09,312 INFO [STDOUT] at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:173)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.access$1200(DefaultIoFilterChain.java:49)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$EntryImpl$1.messageReceived(DefaultIoFilterChain.java:832)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain$HeadFilter.messageReceived(DefaultIoFilterChain.java:616)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.callNextMessageReceived(DefaultIoFilterChain.java:414)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.filterchain.DefaultIoFilterChain.fireMessageReceived(DefaultIoFilterChain.java:408)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.read(AbstractPollingIoProcessor.java:578)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:540)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.process(AbstractPollingIoProcessor.java:532)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.polling.AbstractPollingIoProcessor.access$400(AbstractPollingIoProcessor.java:58)
33:09,312 INFO [STDOUT] at
org.apache.mina.core.polling.AbstractPollingIoProcessor$Worker.run(AbstractPollingIoProcessor.java:857)
33:09,312 INFO [STDOUT] at
org.apache.mina.util.NamePreservingRunnable.run(NamePreservingRunnable.java:51)
33:09,312 INFO [STDOUT] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
33:09,312 INFO [STDOUT] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
33:09,312 INFO [STDOUT] at java.lang.Thread.run(Unknown Source)
33:09,312 INFO [STDOUT] Caused by: java.lang.RuntimeException: Could not
execute command
33:09,312 INFO [STDOUT] at
org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:280)
33:09,312 INFO [STDOUT] ... 24 more
33:09,312 INFO [STDOUT] Caused by: javax.persistence.PersistenceException:
org.hibernate.MappingException: Named query not known:
ProcessInstancesWaitingFor
nt
33:09,312 INFO [STDOUT] at
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
33:09,312 INFO [STDOUT] at
org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:106)
33:09,312 INFO [STDOUT] at
org.drools.persistence.processinstance.JPASignalManager.getProcessInstancesForEvent(JPASignalManager.java:50)
33:09,312 INFO [STDOUT] at
org.drools.persistence.processinstance.JPASignalManager.signalEvent(JPASignalManager.java:29)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.setState(WorkflowProcessInstanceImpl.java:191)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.EndNodeInstance.internalTrigger(EndNodeInstance.java:56)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:148)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:135)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:37)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:101)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:82)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:99)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:112)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:148)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:135)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.ExtendedNodeInstanceImpl.triggerCompleted(ExtendedNodeInstanceImpl.java:37)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:101)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.StateBasedNodeInstance.triggerCompleted(StateBasedNodeInstance.java:82)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.WorkItemNodeInstance.triggerCompleted(WorkItemNodeInstance.java:192)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.HumanTaskNodeInstance.triggerCompleted(HumanTaskNodeInstance.java:74)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.WorkItemNodeInstance.workItemCompleted(WorkItemNodeInstance.java:246)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.node.WorkItemNodeInstance.signalEvent(WorkItemNodeInstance.java:222)
33:09,312 INFO [STDOUT] at
org.drools.workflow.instance.impl.WorkflowProcessInstanceImpl.signalEvent(WorkflowProcessInstanceImpl.java:258)
33:09,312 INFO [STDOUT] at
org.drools.persistence.processinstance.JPAWorkItemManager.completeWorkItem(JPAWorkItemManager.java:96)
33:09,312 INFO [STDOUT] at
org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:46)
33:09,312 INFO [STDOUT] at
org.drools.command.runtime.process.CompleteWorkItemCommand.execute(CompleteWorkItemCommand.java:12)
33:09,312 INFO [STDOUT] at
org.drools.persistence.session.SingleSessionCommandService.execute(SingleSessionCommandService.java:254)
33:09,312 INFO [STDOUT] ... 24 more
33:09,312 INFO [STDOUT] Caused by: org.hibernate.MappingException: Named
query not known: ProcessInstancesWaitingForEvent
33:09,312 INFO [STDOUT] at
org.hibernate.impl.AbstractSessionImpl.getNamedQuery(AbstractSessionImpl.java:70)
33:09,312 INFO [STDOUT] at
org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1260)
33:09,312 INFO [STDOUT] at
org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:103)
33:09,312 INFO [STDOUT] ... 50 more
33:13,750 INFO [STDOUT] [2009:11:321 15:11:750:debug] Message receieved on
client : QueryTaskSummaryResponse
33:13,750 INFO [STDOUT] [2009:11:321 15:11:750:debug] Arguments :
[[org.drools.task.query.TaskSummary@884930ec,
org.drools.task.query.TaskSummary@aca36baa,
.drools.task.query.TaskSummary@b55ff748]]
--
View this message in context:
http://old.nabble.com/Drools-flow-web-console-%285.1.M1%29-deployment-in-...
Sent from the drools - user mailing list archive at
Nabble.com.