Bug 1367793 - [GSS](6.4.z) Singleton service is not correctly being set in 6.4 CP9 but does work in 6.4 CP8
Summary: [GSS](6.4.z) Singleton service is not correctly being set in 6.4 CP9 but does...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.4.9
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR1
: EAP 6.4.11
Assignee: Panagiotis Sotiropoulos
QA Contact: Michal Vinkler
URL:
Whiteboard:
Depends On:
Blocks: eap6411-payload
TreeView+ depends on / blocked
 
Reported: 2016-08-17 13:30 UTC by Shay Matasaro
Modified: 2019-12-16 06:23 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-17 13:10:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
reproducer (16.48 KB, application/zip)
2016-08-17 13:31 UTC, Shay Matasaro
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker JBEAP-5745 0 Major Closed (7.1.z) Singleton service is not correctly being set in EAP 2018-07-06 03:22:04 UTC
Red Hat Issue Tracker JBEAP-5746 0 Major Closed (7.0.z) Singleton service is not correctly being set in EAP 2018-07-06 03:22:04 UTC
Red Hat Issue Tracker WFCORE-1730 0 Major Closed Singleton service is not correctly being set in WILDFLY 2018-07-06 03:22:04 UTC

Description Shay Matasaro 2016-08-17 13:30:49 UTC
EAP 6.4.9 (with and without BZ1358913) doesn't call ServiceLoader (META-INF/services/org.jboss.msc.service.ServiceActivator) when it is deployed in EAR/lib. It is called on EAP 6.4.8. The SingletonService (not a singleton EJB) is activated in the ServiceLoader so the SingletonService hasn't been activated from the first. It works as expected when deployed as an EJB (not in EAR/lib).

When the ServiceLoader is called, a message of "HATimerService will be installed!" is logged and the SingletonService will be activated.

$ fgrep -e HATimerService -e '[org.jboss.as.clustering.singleton]' domain/servers/server-one/log/server.log
12:14:52,373 INFO  [org.jboss.as.quickstarts.cluster.hasingleton.service.ejb.HATimerServiceActivator] (MSC service thread 1-7) HATimerService will be installed!
12:14:56,251 INFO  [org.jboss.as.clustering.singleton] (ServerService Thread Pool -- 54) JBAS010342: master:server-one/singleton elected as the singleton provider of the jboss.quickstart.ha.singleton.timer service
12:14:56,251 INFO  [org.jboss.as.clustering.singleton] (ServerService Thread Pool -- 54) JBAS010340: This node will now operate as the singleton provider of the jboss.quickstart.ha.singleton.timer service
12:14:56,268 INFO  [org.jboss.as.quickstarts.cluster.hasingleton.service.ejb.HATimerService] (MSC service thread 1-8) Start HASingleton timer service 'org.jboss.as.quickstarts.cluster.hasingleton.service.ejb.HATim
erService'
12:14:56,873 INFO  [org.jboss.as.clustering.singleton] (notification-thread-0) JBAS010342: master:server-one/singleton elected as the singleton provider of the jboss.quickstart.ha.singleton.timer service

Attaching a reproducer "jboss-ejb-in-ear.ear" which is based on "cluster-ha-singleton" and "ejb-in-ear" quickstarts projects. EJB calls from the SingletonService are disabled to avoid exceptions.

Comment 1 Shay Matasaro 2016-08-17 13:31:47 UTC
Created attachment 1191636 [details]
reproducer

Comment 3 Shay Matasaro 2016-08-23 20:46:38 UTC
Is there a viable workaround for this issue ?

Comment 7 JBoss JIRA Server 2016-08-26 07:54:09 UTC
Panagiotis Sotiropoulos <psotirop> updated the status of jira WFCORE-1730 to Closed

Comment 8 JBoss JIRA Server 2016-08-26 08:02:19 UTC
Panagiotis Sotiropoulos <psotirop> updated the status of jira JBEAP-5746 to Closed

Comment 9 JBoss JIRA Server 2016-08-26 08:04:03 UTC
Panagiotis Sotiropoulos <psotirop> updated the status of jira JBEAP-5745 to Closed

Comment 10 Jiří Bílek 2016-10-04 16:01:19 UTC
Verified with EAP 6.4.11.CP.CR1

Comment 11 Petr Penicka 2017-01-17 13:10:21 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.


Note You need to log in before you can comment on or make changes to this bug.