[jboss-jira] [JBoss JIRA] (WFLY-10784) WeldStartCompletionService failed when optional components not installed

Martin Kouba (JIRA) issues at jboss.org
Tue Aug 28 09:23:00 EDT 2018


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

Martin Kouba commented on WFLY-10784:
-------------------------------------

bq. Each Phase runs in a separate MSC service that depends on the service for the previous Phase and therefore doesn't run until all active services in that previous phase are in a rest state. So anything you do in CLEANUP will happen after all the stuff done in INSTALL is done.

[~brian.stansberry] But if a deployment processor installs a new service (e.g. https://github.com/wildfly/wildfly/blob/master/weld/subsystem/src/main/java/org/jboss/as/weld/deployment/processors/WeldDeploymentProcessor.java#L268-L288 or an EE component service) there is no guarantee the service is "ready" during the next deployment phase, is it?

> WeldStartCompletionService failed when optional components not installed
> ------------------------------------------------------------------------
>
>                 Key: WFLY-10784
>                 URL: https://issues.jboss.org/browse/WFLY-10784
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld
>    Affects Versions: 12.0.0.Final, 13.0.0.Final
>            Reporter: Alexander Kudrevatykh
>            Assignee: Matej Novotny
>         Attachments: arq-test.tar.xz
>
>
> WebComponents are optional and fail in initialising it not causes fail of deployment, but when starting EAR application with included WAR fail in deployment since Wildfly 12 because WeldStartCompletionService depends on all components regardless of their type



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list