[JBoss JIRA] (WFLY-10652) Mdb Clustered Singleton Delivery is not working
by Flavia Rainone (JIRA)
[ https://issues.jboss.org/browse/WFLY-10652?page=com.atlassian.jira.plugin... ]
Flavia Rainone commented on WFLY-10652:
---------------------------------------
This bug is caused by the refactoring done for WFLY-10352. Because we lack a test for the clustered singleton delivery feature (WFLY-10656) , the regression went unnoticed.
> Mdb Clustered Singleton Delivery is not working
> ------------------------------------------------
>
> Key: WFLY-10652
> URL: https://issues.jboss.org/browse/WFLY-10652
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Reporter: Flavia Rainone
> Assignee: Flavia Rainone
> Fix For: 14.0.0.CR1
>
>
> When trying to deploy an application with clustered singleton MDB delivery, we see this error:
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.ejb3.clustered.singleton"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"messaging-clustering-singleton.war\".clustered.singleton.dependency is missing [org.wildfly.ejb3.clustered.singleton]"]}}}
> The clustered singleton service is not being installed with the expected name.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (WFLY-10656) Create a test based on messaging-clustering-singleton quickstart
by Flavia Rainone (JIRA)
Flavia Rainone created WFLY-10656:
-------------------------------------
Summary: Create a test based on messaging-clustering-singleton quickstart
Key: WFLY-10656
URL: https://issues.jboss.org/browse/WFLY-10656
Project: WildFly
Issue Type: Enhancement
Components: Clustering, EJB
Reporter: Flavia Rainone
Assignee: Paul Ferraro
We don't have a test for clustered singleton MDB delivery.
We need to create one, this will guarantee that the feature is always working. Right now, we only have the quickstart (messaging-clustering-singleton).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (DROOLS-2531) Scenario Simulation feature
by Ivo Bek (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2531?page=com.atlassian.jira.plugi... ]
Ivo Bek updated DROOLS-2531:
----------------------------
Component/s: Scenario Simulation and Testing
> Scenario Simulation feature
> ---------------------------
>
> Key: DROOLS-2531
> URL: https://issues.jboss.org/browse/DROOLS-2531
> Project: Drools
> Issue Type: Enhancement
> Components: Scenario Simulation and Testing
> Reporter: Daniele Zonca
> Assignee: Daniele Zonca
> Labels: ScenarioSimulation
>
> We want to create a new feature in Drools WB and core to support scenario testing.
> The scenarios will be executed in a simulation mode to let the user able to test his system and export results for post-simulation analysis/no regression.
> Drools WB should support user in scenario definition (i.e. define facts template) and then let insert input data (single or bulk) with corresponding expected results.
> Drools core should support steps definition with a fluent API and then simulation runs. We should also support a JUnit-like output format.
> This feature will also dismiss current Test Scenario asset
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (WFLY-10652) Mdb Clustered Singleton Delivery is not working
by Flavia Rainone (JIRA)
[ https://issues.jboss.org/browse/WFLY-10652?page=com.atlassian.jira.plugin... ]
Flavia Rainone commented on WFLY-10652:
---------------------------------------
[~pferraro] If I change line 77 of MdbDeliveryDependenciesProcessor to depend on CLUSTERED_SINGLETON_CAPABILITY.getCapabilityServiceName(), it still doesn't work. Apparently, there is no service with that name.
> Mdb Clustered Singleton Delivery is not working
> ------------------------------------------------
>
> Key: WFLY-10652
> URL: https://issues.jboss.org/browse/WFLY-10652
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Reporter: Flavia Rainone
> Assignee: Flavia Rainone
> Fix For: 14.0.0.CR1
>
>
> When trying to deploy an application with clustered singleton MDB delivery, we see this error:
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.ejb3.clustered.singleton"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"messaging-clustering-singleton.war\".clustered.singleton.dependency is missing [org.wildfly.ejb3.clustered.singleton]"]}}}
> The clustered singleton service is not being installed with the expected name.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (WFLY-10652) Mdb Clustered Singleton Delivery is not working
by Flavia Rainone (JIRA)
[ https://issues.jboss.org/browse/WFLY-10652?page=com.atlassian.jira.plugin... ]
Flavia Rainone commented on WFLY-10652:
---------------------------------------
[~pferraro] Unfortunately, we don't have any tests for this. Nor for delivery active, AFAIK (which is the feature that was there before singleton clustered was added to the list). I think a test is something that should be added, I'll create a Jira for that.
Yes, in the mean time, the only reproducer is the quickstart.
> Mdb Clustered Singleton Delivery is not working
> ------------------------------------------------
>
> Key: WFLY-10652
> URL: https://issues.jboss.org/browse/WFLY-10652
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Reporter: Flavia Rainone
> Assignee: Flavia Rainone
> Fix For: 14.0.0.CR1
>
>
> When trying to deploy an application with clustered singleton MDB delivery, we see this error:
> "WFLYCTL0412: Required services that are not installed:" => ["org.wildfly.ejb3.clustered.singleton"],"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"messaging-clustering-singleton.war\".clustered.singleton.dependency is missing [org.wildfly.ejb3.clustered.singleton]"]}}}
> The clustered singleton service is not being installed with the expected name.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (JGRP-2227) Use of AUTH does not result in a SecurityException, but instead nodes create separate clusters with the same name
by Robert Cernak (JIRA)
[ https://issues.jboss.org/browse/JGRP-2227?page=com.atlassian.jira.plugin.... ]
Robert Cernak reopened JGRP-2227:
---------------------------------
see previous comment
> Use of AUTH does not result in a SecurityException, but instead nodes create separate clusters with the same name
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JGRP-2227
> URL: https://issues.jboss.org/browse/JGRP-2227
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.0.6
> Reporter: Robert Cernak
> Assignee: Bela Ban
> Fix For: 4.0.12
>
> Attachments: jgroupsDoesNotThrowSecurityExceptionWithJgroups4012.zip, jgroupsLogs.zip
>
>
> I implemented method org.jgroups.auth.AuthToken#authenticate(AuthToken token, Message msg) in my class and its body contained only one line: return false;
> In this way authentication should be false and I should get SecurityException.
> When I started joining of nodes together to form a cluster, instead of getting SecurityException, nodes formed 2 different clusters with the same name.
> I am sure method was evaluated, since I tried to run it also with breakpoint, which was triggered during joining process.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (DROOLS-2668) Drools persistence tests fail on DB2 after changing Tx sync registration to not interposed.
by Radovan Synek (JIRA)
[ https://issues.jboss.org/browse/DROOLS-2668?page=com.atlassian.jira.plugi... ]
Radovan Synek updated DROOLS-2668:
----------------------------------
Summary: Drools persistence tests fail on DB2 after changing Tx sync registration to not interposed. (was: Drools persistance tests fail on DB2 after changing Tx sync registration to not interposed.)
> Drools persistence tests fail on DB2 after changing Tx sync registration to not interposed.
> -------------------------------------------------------------------------------------------
>
> Key: DROOLS-2668
> URL: https://issues.jboss.org/browse/DROOLS-2668
> Project: Drools
> Issue Type: Bug
> Components: core engine
> Reporter: Radovan Synek
> Assignee: Mario Fusco
>
> After incorporating changes proposed in https://issues.jboss.org/browse/JBPM-7347, tests in drools-persistence module started failing with DB2-10.5 due to:
> ARJUNA016129: Could not end XA resource com.ibm.db2.jcc.t4.ec@66f4fb48
> com.ibm.db2.jcc.am.XaException: [jcc][t4][10401][12066][4.19.26] XA exception: XA_RBROLLBACK ERRORCODE=-4228, SQLSTATE=null
> On every other DB all the tests passed.
> Please note that the issue is not present on any branch yet; this is a result of testing before the aforementioned changes are merged.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (JGRP-2227) Use of AUTH does not result in a SecurityException, but instead nodes create separate clusters with the same name
by Robert Cernak (JIRA)
[ https://issues.jboss.org/browse/JGRP-2227?page=com.atlassian.jira.plugin.... ]
Robert Cernak commented on JGRP-2227:
-------------------------------------
I retested it with Infinispan 9.3.0Final, which contains jgroups 4.0.12, however I can still reproduce the issue.
I have 2 nodes which I am trying to connect to one Infinispan cluster. When I am joining 2nd node, when I start Infinispan cache, I see that jgroups communication channels are starting. Also I see that authenticate() method in my Token implementation is triggered. In authenticate() method I only return false to simulate authentication failure.
After method authenticate() return false, I see in logs
2018-06-27 21:34:52,092 WARN [jgroups-128,tra_commandsChannel,809272a0-d1b7-4e82-a8a7-98ae321c88cf-d2d68] (Log4J2LogImpl.java:96) - 809272a0-d1b7-4e82-a8a7-98ae321c88cf-d2d68: failed to validate AuthHeader (token: InfinityCommandsAuthToken) from c1a2e420-1384-4a1d-8dbd-de19127b1d86-8994a; dropping message and sending rejection message
However, I did not catch any SecurityException in my code. Also in my Intellij IDEA I have breakpoint set for any SecurityException, however nothing is thrown.
In attachment I include my jgroups configuration, my Token implementation and as well jgroups logs.
[^jgroupsDoesNotThrowSecurityExceptionWithJgroups4012.zip]
> Use of AUTH does not result in a SecurityException, but instead nodes create separate clusters with the same name
> -----------------------------------------------------------------------------------------------------------------
>
> Key: JGRP-2227
> URL: https://issues.jboss.org/browse/JGRP-2227
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 4.0.6
> Reporter: Robert Cernak
> Assignee: Bela Ban
> Fix For: 4.0.12
>
> Attachments: jgroupsDoesNotThrowSecurityExceptionWithJgroups4012.zip, jgroupsLogs.zip
>
>
> I implemented method org.jgroups.auth.AuthToken#authenticate(AuthToken token, Message msg) in my class and its body contained only one line: return false;
> In this way authentication should be false and I should get SecurityException.
> When I started joining of nodes together to form a cluster, instead of getting SecurityException, nodes formed 2 different clusters with the same name.
> I am sure method was evaluated, since I tried to run it also with breakpoint, which was triggered during joining process.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months