[jboss-jira] [JBoss JIRA] (WFLY-3334) Event with qualifier @Initialized not raised if no webapp is deployed

Jozef Hartinger (JIRA) issues at jboss.org
Thu Jul 2 06:37:03 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-3334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jozef Hartinger updated WFLY-3334:
----------------------------------
    Fix Version/s: 10.0.0.Alpha5
                       (was: 10.0.0.Beta1)


> Event with qualifier @Initialized not raised if no webapp is deployed
> ---------------------------------------------------------------------
>
>                 Key: WFLY-3334
>                 URL: https://issues.jboss.org/browse/WFLY-3334
>             Project: WildFly
>          Issue Type: Bug
>          Components: CDI / Weld
>    Affects Versions: 8.1.0.CR1
>         Environment: Wildfly 8.0.0.Final, OpenJDK 1.7.0_45
>            Reporter: Daniel Lechner
>            Assignee: Jozef Hartinger
>             Fix For: 10.0.0.Alpha5
>
>
> As stated in the CDI-specification (section 6.7.3. Application context lifecycle)
> {quote}
> An event with qualifier @Initialized(ApplicationScoped.class) is fired when the application context is initialized and an event with qualifier @Destroyed(ApplicationScoped.class) is fired when the application is destroyed. 
> {quote}
> But in my environment this is only true, if the deployed application (packaged in an EAR) contains a webapplication (as WAR inside the EAR). If there is no webapplication, the event is not raised and observer-methods are not called at all.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list