Closed ops4j-issues closed 9 years ago
Achim Nierbeck commented
First we'll need to try to reproduce this with the standard jsf-sample of pax-web, that should already fail.
Marc Schlegel commented
Patch containing Integration-Test in pax-web-itest. Issue edited.
Achim Nierbeck commented
The issue isn't related to not finding the MBeanContainer, as those are actually only warnings.
The reason seems to be related to the following:
org.ops4j.pax.web.pax-web-jetty-bundle[org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper] : will add org.apache.myfaces.ee6.MyFacesContainerInitializer to ServletContainerInitializers
It looks like this part throws an exception, which isn't caught and therefore stalls the deployment of the war.
actually this part throws it:
BundleAnnotationFinder baf = new BundleAnnotationFinder(packageAdminTracker.getService(),bundle);
--->
Reason:
CNF: org.apache.xbean.finder.BundleAnnotationFinder
looks like the xbean-finder module is missing
Turns out, it's a bunch of imports are missing, trying to fix that.
Marc Schlegel created PAXWEB-811
Running a JSF-bundle (WAR/WAB) with jetty-bundle does not work because the bundle wont get to the DEPLOYED state.
Changing the bundle-composition using pax-web-jetty together with a the eclipse-jetty modules and javax.servlet-api (3.1.0) everything is working (this is what pax-web-itest does).
Reproduced with patch for pax-web-itest
PAXWEB811--IntegrationTest-for-JSF-on-JettyBundle.patch
The test produces an Exception within an MBeanContainer
This issue might also affect the other pax-web-containers. JSP-bundles are not affected.
Affects: 4.1.1 Fixed in: 4.1.2, 6.0.0 Attachments:
Votes: 0, Watches: 2