[ 
https://issues.apache.org/jira/browse/OWB-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Struberg reopened OWB-1296:
--------------------------------

Either the unit test is boguous or the ServletContainerInitializer. 
Unit test fails because it sets an context attribute. But the SCI queries for 
an init param. So which one should it be? From my tommy I'd say The Init param? 
Or both?

The SCI runs before the ServletContextListener. But after e.g. the Tomcat 
specific catalina.LifecycleListener. How is the startup intended to work?

> Enable openwebbeans-web to start CDI context before ServletContextListener
> --------------------------------------------------------------------------
>
>                 Key: OWB-1296
>                 URL: https://issues.apache.org/jira/browse/OWB-1296
>             Project: OpenWebBeans
>          Issue Type: Task
>            Reporter: Romain Manni-Bucau
>            Assignee: Romain Manni-Bucau
>            Priority: Major
>             Fix For: 1.2.9
>
>
> if openwebbeans.web.sci.active=true is set either as an init parameter or a 
> system property then (in this overriding order) then it will start CDI in a 
> ServletContainerInitializer instead of ServletContextListener. It can enable 
> to have CDI for enrichment of servlet component instances in some servlet 
> containers like jetty.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to