[jboss-jira] [JBoss JIRA] Updated: (JBRULES-2837) StatefulKnowledgeSession.startProcess not thread-safe
Maxence Dewil (JIRA)
jira-events at lists.jboss.org
Wed Dec 22 10:56:18 EST 2010
[ https://issues.jboss.org/browse/JBRULES-2837?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maxence Dewil updated JBRULES-2837:
-----------------------------------
Description:
See http://drools-java-rules-engine.46999.n3.nabble.com/StatefulKnowledgeSession-startProcess-not-thread-safe-td1973203.html
and http://drools-java-rules-engine.46999.n3.nabble.com/Weird-Problem-WorkItemManager-seems-to-loose-WorkItems-td1986222.html
The documentation lets believe that the StatefulKnowledgeSession can be used in a multithreaded environment (https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/jbpm-5.0-SNAPSHOT-docs-build/jbpm-docs/html/ch04.html#d0e1191).
But the classes org.drools.process.instance.impl.DefaultProcessInstanceManager and org.drools.process.instance.impl.DefaultWorkItemManager are not synchronized.
Consequences: process instance ids and workitem ids not unique.
was:
See http://drools-java-rules-engine.46999.n3.nabble.com/StatefulKnowledgeSession-startProcess-not-thread-safe-td1973203.html
and http://drools-java-rules-engine.46999.n3.nabble.com/Weird-Problem-WorkItemManager-seems-to-loose-WorkItems-td1986222.html
The documentation does specify anything about thread-safety (https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/jbpm-5.0-SNAPSHOT-docs-build/jbpm-docs/html/ch04.html#d0e1191)
The classes org.drools.process.instance.impl.DefaultProcessInstanceManager and org.drools.process.instance.impl.DefaultWorkItemManager are not synchronized.
> StatefulKnowledgeSession.startProcess not thread-safe
> -----------------------------------------------------
>
> Key: JBRULES-2837
> URL: https://issues.jboss.org/browse/JBRULES-2837
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-core
> Affects Versions: 5.1.1.FINAL
> Reporter: Maxence Dewil
> Assignee: Mark Proctor
>
> See http://drools-java-rules-engine.46999.n3.nabble.com/StatefulKnowledgeSession-startProcess-not-thread-safe-td1973203.html
> and http://drools-java-rules-engine.46999.n3.nabble.com/Weird-Problem-WorkItemManager-seems-to-loose-WorkItems-td1986222.html
> The documentation lets believe that the StatefulKnowledgeSession can be used in a multithreaded environment (https://hudson.jboss.org/hudson/job/jBPM5/lastSuccessfulBuild/artifact/target/jbpm-5.0-SNAPSHOT-docs-build/jbpm-docs/html/ch04.html#d0e1191).
> But the classes org.drools.process.instance.impl.DefaultProcessInstanceManager and org.drools.process.instance.impl.DefaultWorkItemManager are not synchronized.
> Consequences: process instance ids and workitem ids not unique.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list