sounds reasonable. I'll retest with geronimo3 again after I fixed the geronimo-openwebeans-plugin.
My previous attempt was by packaging the owb jars inside my EAR. I need to test how this behaves with owb being provided directly by the container.
When does CodiFacesContextWrapper get called, and is OWB alraedy up and running at this time?
The faces-config.xml gets scanned at MyFaces startup when the FacesServlet gets started in web.xml.
OWB typically gets started via a ServletContextListener#contextInitialized(). Since the Servlet spec defines to fire this method before any servlet gets started, all should work fine in theory.
I'll dig deeper into geronimo3 and tomcat7 to see what's going on.