[JBoss JIRA] (WFLY-7304) Compensations subsystem
by Ondra Chaloupka (JIRA)
[ https://issues.jboss.org/browse/WFLY-7304?page=com.atlassian.jira.plugin.... ]
Ondra Chaloupka reassigned WFLY-7304:
-------------------------------------
Assignee: Ondra Chaloupka (was: Gytis Trikleris)
> Compensations subsystem
> -----------------------
>
> Key: WFLY-7304
> URL: https://issues.jboss.org/browse/WFLY-7304
> Project: WildFly
> Issue Type: Task
> Components: Transactions
> Reporter: Gytis Trikleris
> Assignee: Ondra Chaloupka
> Priority: Minor
> Fix For: 11.0.0.Final
>
>
> Currently compensations bootstrap happens in the transactions subsystem. It registers deployment processor to scan the annotations and add the dependencies if necessary. This is not expensive and doesn't cause any issues other than adding the dependencies to the transactions subsystem. However, I'm currently finishing off the recovery implementation and more bootstrap logic will be needed. In addition, two more recovery modules will have to be registered: one for the participant (a new one) and one for the coordinator (from XTS). This will require to add XTS dependency too.
> The whole compensations bootstrapping will not need a lot of code. However, I'm thinking maybe it would be good to pull it out to the separate subsystem in order to maintain the separation of concerns.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (WFLY-9421) Update testsuite to use EAP70 enum values and not just api versions
by Kabir Khan (JIRA)
Kabir Khan created WFLY-9421:
--------------------------------
Summary: Update testsuite to use EAP70 enum values and not just api versions
Key: WFLY-9421
URL: https://issues.jboss.org/browse/WFLY-9421
Project: WildFly
Issue Type: Bug
Components: Domain Management, Test Suite
Affects Versions: 11.0.0.CR1
Reporter: Ken Wills
Assignee: Ken Wills
Priority: Blocker
Fix For: 11.0.0.Final
The associated issue in wildfly-core is: WFCORE-3226
The existing tests in mixed-domain should be updated to use this enum value.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (DROOLS-1751) NullPointerException on org.mvel2.MVEL.executeExpression()
by Toshiya Kobayashi (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1751?page=com.atlassian.jira.plugi... ]
Toshiya Kobayashi updated DROOLS-1751:
--------------------------------------
Git Pull Request: https://github.com/kiegroup/drools/pull/1515
sent a PR with Unit test and Fix
> NullPointerException on org.mvel2.MVEL.executeExpression()
> ----------------------------------------------------------
>
> Key: DROOLS-1751
> URL: https://issues.jboss.org/browse/DROOLS-1751
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Affects Versions: 7.3.0.Final
> Reporter: Toshiya Kobayashi
> Assignee: Mario Fusco
> Labels: support
>
> Under the conditions:
> - 2 KiePackages with the same package name but different rules
> - Those packages are used by a kbase so "inUse = true"
> - Create another kbase and call kbase.addPackages() for those packages
> MVELDialectRuntimeData has a problem in merging mvelReaders so later rule execution fails with NullPointerException.
> {noformat}
> java.lang.NullPointerException: null
> at org.mvel2.MVEL.executeExpression(MVEL.java:953)
> at org.drools.core.util.MVELSafeHelper$RawMVELEvaluator.executeExpression(MVELSafeHelper.java:506)
> at org.drools.core.base.extractors.MVELObjectClassFieldReader.getValue(MVELObjectClassFieldReader.java:140)
> at org.drools.core.rule.Declaration.getValue(Declaration.java:222)
> at org.drools.core.base.mvel.MVELCompilationUnit.updateFactory(MVELCompilationUnit.java:386)
> at org.drools.core.base.mvel.MVELCompilationUnit.getFactory(MVELCompilationUnit.java:320)
> at org.drools.core.base.dataproviders.MVELDataProvider.evaluate(MVELDataProvider.java:137)
> at org.drools.core.base.dataproviders.MVELDataProvider.getResults(MVELDataProvider.java:133)
> at org.drools.core.phreak.PhreakFromNode.doLeftInserts(PhreakFromNode.java:106)
> at org.drools.core.phreak.PhreakFromNode.doNode(PhreakFromNode.java:68)
> at org.drools.core.phreak.RuleNetworkEvaluator.evalNode(RuleNetworkEvaluator.java:387)
> at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:333)
> at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:169)
> at org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:127)
> at org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:212)
> at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:87)
> at org.drools.core.concurrent.AbstractRuleEvaluator.internalEvaluateAndFire(AbstractRuleEvaluator.java:34)
> at org.drools.core.concurrent.SequentialRuleEvaluator.evaluateAndFire(SequentialRuleEvaluator.java:43)
> at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1067)
> at org.drools.core.common.DefaultAgenda.internalFireAllRules(DefaultAgenda.java:1014)
> at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1006)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1320)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1311)
> at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1295)
> at org.drools.compiler.integrationtests.Misc2Test.testMergeMVELDialect(Misc2Test.java:9109)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (DROOLS-1751) NullPointerException on org.mvel2.MVEL.executeExpression()
by Toshiya Kobayashi (JIRA)
Toshiya Kobayashi created DROOLS-1751:
-----------------------------------------
Summary: NullPointerException on org.mvel2.MVEL.executeExpression()
Key: DROOLS-1751
URL: https://issues.jboss.org/browse/DROOLS-1751
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.3.0.Final
Reporter: Toshiya Kobayashi
Assignee: Mario Fusco
Under the conditions:
- 2 KiePackages with the same package name but different rules
- Those packages are used by a kbase so "inUse = true"
- Create another kbase and call kbase.addPackages() for those packages
MVELDialectRuntimeData has a problem in merging mvelReaders so later rule execution fails with NullPointerException.
{noformat}
java.lang.NullPointerException: null
at org.mvel2.MVEL.executeExpression(MVEL.java:953)
at org.drools.core.util.MVELSafeHelper$RawMVELEvaluator.executeExpression(MVELSafeHelper.java:506)
at org.drools.core.base.extractors.MVELObjectClassFieldReader.getValue(MVELObjectClassFieldReader.java:140)
at org.drools.core.rule.Declaration.getValue(Declaration.java:222)
at org.drools.core.base.mvel.MVELCompilationUnit.updateFactory(MVELCompilationUnit.java:386)
at org.drools.core.base.mvel.MVELCompilationUnit.getFactory(MVELCompilationUnit.java:320)
at org.drools.core.base.dataproviders.MVELDataProvider.evaluate(MVELDataProvider.java:137)
at org.drools.core.base.dataproviders.MVELDataProvider.getResults(MVELDataProvider.java:133)
at org.drools.core.phreak.PhreakFromNode.doLeftInserts(PhreakFromNode.java:106)
at org.drools.core.phreak.PhreakFromNode.doNode(PhreakFromNode.java:68)
at org.drools.core.phreak.RuleNetworkEvaluator.evalNode(RuleNetworkEvaluator.java:387)
at org.drools.core.phreak.RuleNetworkEvaluator.innerEval(RuleNetworkEvaluator.java:333)
at org.drools.core.phreak.RuleNetworkEvaluator.outerEval(RuleNetworkEvaluator.java:169)
at org.drools.core.phreak.RuleNetworkEvaluator.evaluateNetwork(RuleNetworkEvaluator.java:127)
at org.drools.core.phreak.RuleExecutor.reEvaluateNetwork(RuleExecutor.java:212)
at org.drools.core.phreak.RuleExecutor.evaluateNetworkAndFire(RuleExecutor.java:87)
at org.drools.core.concurrent.AbstractRuleEvaluator.internalEvaluateAndFire(AbstractRuleEvaluator.java:34)
at org.drools.core.concurrent.SequentialRuleEvaluator.evaluateAndFire(SequentialRuleEvaluator.java:43)
at org.drools.core.common.DefaultAgenda.fireLoop(DefaultAgenda.java:1067)
at org.drools.core.common.DefaultAgenda.internalFireAllRules(DefaultAgenda.java:1014)
at org.drools.core.common.DefaultAgenda.fireAllRules(DefaultAgenda.java:1006)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.internalFireAllRules(StatefulKnowledgeSessionImpl.java:1320)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1311)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.fireAllRules(StatefulKnowledgeSessionImpl.java:1295)
at org.drools.compiler.integrationtests.Misc2Test.testMergeMVELDialect(Misc2Test.java:9109)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (WFCORE-3338) Management returning success for read-attribute on non-existent path
by Brad Maxwell (JIRA)
[ https://issues.jboss.org/browse/WFCORE-3338?page=com.atlassian.jira.plugi... ]
Brad Maxwell updated WFCORE-3338:
---------------------------------
Summary: Management returning success for read-attribute on non-existent path (was: Management returning success for read-attribute on non-existant path)
> Management returning success for read-attribute on non-existent path
> --------------------------------------------------------------------
>
> Key: WFCORE-3338
> URL: https://issues.jboss.org/browse/WFCORE-3338
> Project: WildFly Core
> Issue Type: Bug
> Components: Domain Management
> Affects Versions: 3.0.4.Final
> Reporter: Brad Maxwell
> Assignee: Brian Stansberry
>
> In Wildfly, a command such as this with a non-existent path returns success instead of failed:
> {code}
> /host=master/server=nonExistant:read-attribute(name=runtime-configuration-state)
> {
> "outcome" => "success",
> "result" => "stopped"
> }
> {code}
> Where as in EAP 6.4:
> {code}
> [domain@localhost:9999 /] /host=master/server=server-NOT-EXIST:read-attribute(name=server-state)
> Failed to get the list of the operation properties: "JBAS014883: No resource definition is registered for address [
> ("host" => "master"),
> ("server" => "server-NOT-EXIST")
> ]"
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month
[JBoss JIRA] (WFCORE-3338) Management returning success for read-attribute on non-existant path
by Brad Maxwell (JIRA)
Brad Maxwell created WFCORE-3338:
------------------------------------
Summary: Management returning success for read-attribute on non-existant path
Key: WFCORE-3338
URL: https://issues.jboss.org/browse/WFCORE-3338
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 3.0.4.Final
Reporter: Brad Maxwell
Assignee: Brian Stansberry
In Wildfly, a command such as this with a non-existent path returns success instead of failed:
{code}
/host=master/server=nonExistant:read-attribute(name=runtime-configuration-state)
{
"outcome" => "success",
"result" => "stopped"
}
{code}
Where as in EAP 6.4:
{code}
[domain@localhost:9999 /] /host=master/server=server-NOT-EXIST:read-attribute(name=server-state)
Failed to get the list of the operation properties: "JBAS014883: No resource definition is registered for address [
("host" => "master"),
("server" => "server-NOT-EXIST")
]"
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
8 years, 1 month