Le 5 juin 2015 02:04, "Thusitha Thilina Dayaratne" < [email protected]> a écrit : > > Hi Romain, > > As I understand you are pointing the > TomEEMyFacesContainerInitializer.onStartup method. I debug the standard > TomEE distribution and it correctly fire the SCI and filter out the > applications that aren't having and JSF stuffs. > But in my case AbstractFacesInitilizer.initFace get called and it don't > come to TomEEMyFacesContainerInitializer.onStartup. It seems I missed > something. > Did you deploy tomee-myfaces? If so register the init manually maybe
> Thanks > > 2015-06-05 12:28 GMT+05:30 Romain Manni-Bucau <[email protected]>: > > > well tomee-myfaces is a module i didnt mean tomee or myfaces (not sure i > > have been clean) > > > > the structure is lib/*.jar more or less with this in the container loader > > and not as osgi bundles > > > > > > Romain Manni-Bucau > > @rmannibucau <https://twitter.com/rmannibucau> | Blog > > <http://rmannibucau.wordpress.com> | Github < > > https://github.com/rmannibucau> | > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > > <http://www.tomitribe.com> > > > > 2015-06-05 8:56 GMT+02:00 Thusitha Thilina Dayaratne < > > [email protected]>: > > > > > Hi > > > > > > >>tomee-myfaces filters it, the logic here is not OSGi compliant if you > > > dont > > > >>keep tomee structure > > > Thanks a lot for quick reply Romain. I'm having an OSGi bundle which > > > consist of TomEE 1.7.2, openejb 4.7.2, myface 2.1.17, openwebbeans 1.2.7, > > > openjpa 2.4.0. And I'm using that bundle for the integration. > > > Could you please tell what you mean by "if you dont keep tomee > > structure" ? > > > > > > Thanks > > > > > > 2015-06-05 12:18 GMT+05:30 Romain Manni-Bucau <[email protected]>: > > > > > > > tomee-myfaces filters it, the logic here is not OSGi compliant if you > > > dont > > > > keep tomee structure > > > > > > > > > > > > Romain Manni-Bucau > > > > @rmannibucau <https://twitter.com/rmannibucau> | Blog > > > > <http://rmannibucau.wordpress.com> | Github < > > > > https://github.com/rmannibucau> | > > > > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber > > > > <http://www.tomitribe.com> > > > > > > > > 2015-06-05 8:46 GMT+02:00 Thusitha Thilina Dayaratne < > > > > [email protected]>: > > > > > > > > > Hi, > > > > > > > > > > I'm trying to integrate TomEE 1.7.2 with an embedded tomcat server. > > > After > > > > > the integration when I'm starting the server it prints the following > > > > > warning message. > > > > > WARN {org.apache.myfaces.webapp.AbstractFacesInitializer} - No > > > mappings > > > > of > > > > > FacesServlet found. Abort initializing MyFaces. > > > > > > > > > > II debug the code and it get printed because initFaces method in the > > > > > org.apache.myfaces.webapp.AbstractFacesInitializer get called for all > > > the > > > > > applications that are deployed even some of them don't contain any > > JSF > > > > > stuffs. > > > > > This is not happening in standard TomEE distribution. Could someone > > > point > > > > > me a possible cause for this scenario? AM I missing any properties or > > > > > something to set? > > > > > > > > > > Thanks > > > > > Best Regards > > > > > -- > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > --
