[jboss-jira] [JBoss JIRA] (WFLY-10652) Mdb Clustered Singleton Delivery is not working

Flavia Rainone (JIRA) issues at jboss.org
Thu Jun 28 17:28:00 EDT 2018


    [ https://issues.jboss.org/browse/WFLY-10652?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598537#comment-13598537 ] 

Flavia Rainone commented on WFLY-10652:
---------------------------------------

[~pferraro] I can see that depending on org.wildfly.ejb3.clustered.singleton.singleton fixes the problem above. However, it appears there is no org.wildfly.ejb3.clustered.singleton.primary service anymore. Did that service also changed its name? I need the name of the primary service that identifies the elected singleton node, i.e., the lifecycle service that is UP only in the elected node.
If you need any pointers, the service is created in ClusteredSingletonServiceCreator, and the service dependencies are set in MdbDeliveryDependenciesProcessor.
So, changing line 97 of MdbDeliveryDependenciesProcessor to 
{{.addDependency(CLUSTERED_SINGLETON_CAPABILITY.getCapabilityServiceName().append("singleton")).install();}}
solved the problem described in this Jira. Still, the messages are never delivered to a node, even if the cluster contains only a single node. That's why I'm betting that the service named CLUSTERED_SINGLETON_CAPABILITY.getCapabilityServiceName().append("primary") no longer has the same name. (see line 77 of MdbDeliveryDependenciesProcessor) .
Thanks for your help!

> 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)


More information about the jboss-jira mailing list