[JBoss JIRA] Created: (JBRULES-1061) jsr94 constants wrong package builder config constant, same name as rulebase config constant
by Juergen none (JIRA)
jsr94 constants wrong package builder config constant, same name as rulebase config constant
--------------------------------------------------------------------------------------------
Key: JBRULES-1061
URL: http://jira.jboss.com/jira/browse/JBRULES-1061
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: JSR94
Affects Versions: 4.0.0.GA
Reporter: Juergen none
Assigned To: Mark Proctor
Priority: Minor
org.drools.jsr94.rules.Constants, line 49f:
/** <code>RuleExecutionSet</code> rulebase config constant. */
public static final String RES_RULEBASE_CONFIG = "javax.rules.admin.RuleExecutionSet.ruleBaseConfiguration";
/** <code>RuleExecutionSet</code> package builder config constant. */
public static final String RES_PACKAGEBUILDER_CONFIG = "javax.rules.admin.RuleExecutionSet.ruleBaseConfiguration";
Packagebuilder config constant is same as rulebase config constant. yields classcast exception if a rulebase config is set:
Caused by: java.lang.ClassCastException: org.drools.RuleBaseConfiguration
at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(LocalRuleExecutionSetProviderImpl.java:124)
at org.drools.jsr94.rules.admin.LocalRuleExecutionSetProviderImpl.createRuleExecutionSet(LocalRuleExecutionSetProviderImpl.java:93)
--
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
18 years, 11 months
[JBoss JIRA] Created: (JBRULES-1067) Allow RuleAgent to take a RuleBaseConfiguration to configure the RuleBase it creates
by Shahad Ahmed (JIRA)
Allow RuleAgent to take a RuleBaseConfiguration to configure the RuleBase it creates
------------------------------------------------------------------------------------
Key: JBRULES-1067
URL: http://jira.jboss.com/jira/browse/JBRULES-1067
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-brms
Affects Versions: 4.0.0.GA
Environment: Windows XP, Sun JRE 1.5_09
Reporter: Shahad Ahmed
Assigned To: Mark Proctor
Extend the API to allow a RuleAgent to use a RuleBaseConfiguration object to configure the RuleBase it creates. For example, this will allow a user to specfiy options like Sequental mode etc when creating a RuleBase using a RuleAgent.
I know that you can set RuleBase options for all RuleBases by setting the appropriate System properties when calling the java VM, but it would be nice to be able to set these individually via the API for each RuleBase created using a RuleAgent. I guess this could be done fairly easily by adding an extra constructor(s) to RuleAgent that takes a RuleBaseConfiguration object -- rbConfig, say -- and in RuleAgent when it creates a new RuleBase instead of just using RulebaseFactory.newRuleBase() use RulebaseFactory.newRuleBase(rbConfig) instead.
--
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
18 years, 11 months
[JBoss JIRA] Created: (JBAS-4597) CacheInvalidator.areInvalid doesn't lock partitions
by Alexey Loubyansky (JIRA)
CacheInvalidator.areInvalid doesn't lock partitions
---------------------------------------------------
Key: JBAS-4597
URL: http://jira.jboss.com/jira/browse/JBAS-4597
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: CMP service
Affects Versions: JBossAS-4.2.1.GA, JBossAS-5.0.0.Beta2, JBossAS-4.0.5.GA, JBossAS-3.2.8.SP1
Reporter: Alexey Loubyansky
Assigned To: Alexey Loubyansky
Fix For: JBossAS-5.0.0.Beta3, JBossAS-4.2.2.GA, JBossAS-4.4.0.CR1
org.jboss.ejb.plugins.cmp.jdbc2.schema.CacheInvalidator.areInvalid(Serializable[] keys) uses cache.lock() before removing an instance. The lock() implementation in PartitionedTableCache is empty. It should either lock all the partitions or CacheInvalidator should lock the partition the key belongs to before the key is removed.
--
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
18 years, 11 months