Class Cast Exception with
by jschmied
Hi!
Currently I'm testing with drool's build 111 and jbpm build 72 and when
using a workitem together with persistence I get:
java.lang.ClassCastException: org.hibernate.ejb.EntityManagerFactoryImpl
cannot be cast to org.drools.persistence.PersistenceContextManager
at
org.drools.persistence.jpa.processinstance.JPAWorkItemManager.internalAbortWorkItem(JPAWorkItemManager.java:67)
at
org.jbpm.workflow.instance.node.WorkItemNodeInstance.cancel(WorkItemNodeInstance.java:216)
at
org.jbpm.workflow.instance.impl.WorkflowProcessInstanceImpl.setState(WorkflowProcessInstanceImpl.java:256)
at
org.jbpm.workflow.instance.node.WorkItemNodeInstance.internalTrigger(WorkItemNodeInstance.java:105)
at
org.jbpm.workflow.instance.impl.NodeInstanceImpl.trigger(NodeInstanceImpl.java:122)
at
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerConnection(NodeInstanceImpl.java:185)
at
org.jbpm.workflow.instance.impl.NodeInstanceImpl.triggerCompleted(NodeInstanceImpl.java:150)
Processes without workitems are getting persisted orderly.
Any ideas?
Thanks
juergen
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Class-Cast-Exception-...
Sent from the Drools - User mailing list archive at Nabble.com.
15 years, 4 months
Question on Drools upgrade from 2 to 5
by Steve Floridas
Hi,
We are an insurance company employing drools ( version 2 currently) for
policy validation rules and for reading policy specific rates from
spreadsheet using drools. We are currently running in to memory issues when
we execute the compiled JAR ( including the drools compiled files), as there
are lot of rules fired for different versions of policy rating. My question
here is :-
Is there any scope of resolving this memory issue with upgrade of drools
package from version 2 to version 5? Will the compiled DRLs in Drools 5 be
more compressed compared to Drools 2?
I have been trying to upgrade to Drools 5 by adding the necessary jars for
compilation. But unfortunately I am gettng few errors on spreadsheet and DRL
compilation. Is there more to work on the upgrade?
One of the errors I frequently get for spreadsheet comparison is something
like below:
*Invalid character input "?" (character code 65533)*
Please clarify my above questions.
Thank you much,
Steve
**
15 years, 4 months