Bug 1047961

Summary: [GSS] (6.2.x) Race condition during server start-up - RA not deployed
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brad Maxwell <bmaxwell>
Component: JCAAssignee: Brad Maxwell <bmaxwell>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Simka <msimka>
Severity: unspecified Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.1.1CC: cdewolf, lcosti, myarboro, smumford
Target Milestone: CR1   
Target Release: EAP 6.2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
A race condition was found to be preventing custom Resource Adapters from being deployed in up some instances. The race condition was caused by `org.jboss.as.connector.subsystems.resourceadapters.ResourceAdapterService` not starting in time to deploy the resource adapter. This issue has been fixed in this release, and the ResourceAdapterService now starts in time to deploy custom resource adapters.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-24 20:16:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 984855, 1292367    
Bug Blocks: 1027004    

Comment 3 Martin Simka 2014-01-30 12:51:01 UTC
Verified on 6.2.1.CP.CR3

Comment 4 Lucas Costi 2014-01-31 02:27:21 UTC
Release note flag set for EAP 6.2.1

Comment 6 Brad Maxwell 2014-10-09 20:37:01 UTC
Description of problem:
A custom RA is not always deployed when the JBoss EAP server is restarted. There are no errors in the log file even at TRACE level and only indication that something went wrong is the message:

11:30:45,303 INFO  [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775:    New missing/unsatisfied dependencies:
      service jboss.ra.example-ra (missing) dependents: [service jboss.deployment.unit."example.jar".component.ExampleMDB.CREATE] 


I have attached two log files to the case one from a successful start up and one from a failed startup. The only difference as far as I can tell is the absence of any output from org.jboss.as.connector.deployers.RaXmlDeployer when the deployment fails.

I cannot not reproduce the issue in house on my machines. Customer can reproduce it in about 30% of his restarts. After the deployment fails he able to deploy the RA via JBoss cli without any problems.