[
http://jira.jboss.com/jira/browse/JBRULES-1281?page=comments#action_12383049 ]
Mark Proctor commented on JBRULES-1281:
---------------------------------------
commit to trunk:
commit -m "JBRULES-1281 ExecutorService cannot be shared
-Added cached reflection class resolve and object instantiator to ClassUtil.
-Made RuleBaseUpdateListenerFactory and ExecutorServiceFactory use ClassUtil.
-Now each new stateful or stateless session get's its own instance of
ExecutorService."
C:/dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/reteoo/ReteooRuleBase.java
C:/dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/reteoo/ReteooStatefulSession.java
C:/dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/reteoo/ReteooStatelessSession.java
C:/dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/RuleBaseConfiguration.java
C:/dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/spi/ExecutorServiceFactory.java
C:/dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/spi/RuleBaseUpdateListenerFactory.java
C:/dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/util/ClassUtils.java
Sending
dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/RuleBaseConfiguration.java
Sending
dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/reteoo/ReteooRuleBase.java
Sending
dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/reteoo/ReteooStatefulSession.java
Sending
dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/reteoo/ReteooStatelessSession.java
Adding
dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/spi/ExecutorServiceFactory.java
Sending
dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/spi/RuleBaseUpdateListenerFactory.java
Sending
dev/jbossrules/4.1.0/drools-core/src/main/java/org/drools/util/ClassUtils.java
Transmitting file data ...
Committed revision 15887.
ExecutorService cannot be shared
--------------------------------
Key: JBRULES-1281
URL:
http://jira.jboss.com/jira/browse/JBRULES-1281
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.0.1, 4.0.2
Reporter: Mark Proctor
Assigned To: Mark Proctor
Fix For: 4.0.3, 4.1.0, 4.0.2_SOA_4.2-CP1
Attachments: UnshareExecutorService.patch
Currently the RuleBaseConfigration instantiations and the ExecutorService once, which
means each WM session uses the same ExecutorService and overwrites the CommandExecutor -
clearly a bug.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira