[JBoss JIRA] Created: (JBRULES-2841) BinaryHeapQueueAgendaGroup fails to return top salience item
by k s (JIRA)
BinaryHeapQueueAgendaGroup fails to return top salience item
------------------------------------------------------------
Key: JBRULES-2841
URL: https://issues.jboss.org/browse/JBRULES-2841
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-core
Affects Versions: 5.1.1.FINAL
Reporter: k s
Assignee: Mark Proctor
We have come across a case where the rules engine does not fire the top priority (top salience) rule. After a lot of careful debugging, it seems that the BinaryHeapQueueAgendaGroup implementation (and most likely the supporting BinaryHeapQueue) has a bug. It is not a common case and it was hard to reproduce. We have put together a junit test to show the problem. The test "replays" the trace from the case where we show the error (sparing you from all the complexity of the actual rules and produced it). I will attach the JUnit test and the trace file that drives the test.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years
[JBoss JIRA] Created: (EJBTHREE-1166) jta-data-source / non-jta-data-source
by Jesper Pedersen (JIRA)
jta-data-source / non-jta-data-source
-------------------------------------
Key: EJBTHREE-1166
URL: http://jira.jboss.com/jira/browse/EJBTHREE-1166
Project: EJB 3.0
Issue Type: Bug
Environment: JBoss AS: SVN / trunk (rev 68402)
jboss-ejb3-cache version="0.11.1"
jboss/jboss-ejb3-ext-api version="0.1.2.Beta1"
jboss/jboss-ejb3-impl version="0.1.2.Beta1"
Reporter: Jesper Pedersen
I get the following:
persistence.units:ear=rasp-sender.ear,unitName=e-akten-test -> java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a non-jta-data-source for a RESOURCE_LOCAL enabled persistence context named: e-akten-test
persistence.units:ear=rasp-sender.ear,unitName=e-akten -> java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context named: e-akten
The EJB3 persistence spec section 6.2.1.5 states:
"In Java EE environments, the jta-data-source and non-jta-data-source elements are used
to specify the global JNDI name of the JTA and/or non-JTA data source to be used by the persistence
provider. If neither is specified, the deployer must specify a JTA data source at deployment or a JTA
data source must be provided by the container, and a JTA EntityManagerFactory will be created to cor-
respond to it."
I'm counting on the last case -- data source must be provided by container + entity manager.
Hope this helps !
--
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
15 years