Bug 1013470

Summary: org.jboss.as.server.deployment.RegisteredDeploymentUnitProcessor has unstable compareTo()
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Stuart Douglas <sdouglas>
Component: ServerAssignee: Stuart Douglas <sdouglas>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: istudens, jcechace, myarboro
Target Milestone: ER6   
Target Release: EAP 6.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-15 16:20:32 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:

Description Stuart Douglas 2013-09-30 07:23:19 UTC
Description of problem:

As the description says, org.jboss.as.server.deployment.RegisteredDeploymentUnitProcessor's compareTo is wrong. This can prevent the server booting correctly in some circumstances (e.g. with some versions of JDK8).

Comment 1 Stuart Douglas 2013-09-30 07:24:12 UTC
Proposing for 6.2

Comment 6 Jakub Cechacek 2013-10-29 14:51:39 UTC
Verified for 6.2.0.ER6 based on Stuart's email [1] -- we haven not encountered any issues regarding deployments. 

[1] email mentioned above:
>There is no way to reproduce the circumstances that caused the server to fail to start. AFAIK even on later JDK8 builds it should work fine.
>
>This change is right in the heart of the deployment code, if it is wrong then it >will show up in problems with the deployment process, there is no way to test it in isolation.