[jboss-jira] [JBoss JIRA] Commented: (JBAS-8538) ServletContextListener not invoked in a CDI-enabled deployment

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Thu Oct 28 13:30:56 EDT 2010


    [ https://jira.jboss.org/browse/JBAS-8538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12560060#action_12560060 ] 

Marius Bogoevici commented on JBAS-8538:
----------------------------------------

Jozef, can you check against trunk? I think that this is a duplicate of https://jira.jboss.org/browse/JBAS-8395

> ServletContextListener not invoked in a CDI-enabled deployment
> --------------------------------------------------------------
>
>                 Key: JBAS-8538
>                 URL: https://jira.jboss.org/browse/JBAS-8538
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Web (Tomcat) service, Weld/CDI
>    Affects Versions:  6.0.0.M5
>            Reporter: Jozef Hartinger
>            Assignee: Remy Maucherat
>            Priority: Blocker
>             Fix For: 6.0.0.CR1
>
>         Attachments: listenerTest-bda.war, listenerTest.war
>
>
> A ServletContextListener is not invoked if the web application is a bean deployment archive (beans.xml present). See the attached applications. 
> listenerTest.war is a simple web application with a listener that logs a message to stdout. The listener is invoked as expected.
> 18:09:53,596 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/listenerTest
> 18:09:53,628 INFO  [STDOUT] Application deployed.
> listenerTest-bda.war is the same application with beans.xml file added. The listener is not invoked.
> 18:16:25,891 INFO  [org.jboss.weld.Version] WELD-000900 1.1.0 (Beta1)
> 18:16:26,480 INFO  [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/listenerTest-bda
> 18:16:26,601 INFO  [org.jboss.resteasy.cdi.CdiInjectorFactory] Found BeanManager at java:comp/BeanManager

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list