I'm using Karaf 2.2.2/PAX WEB 1.0.4 and Karaf 2.2.4/PAX WEB 1.0.8 to deploy some WAB bundles.
For the most part everything is working as expected. The one thing I can't seem to get working is custom error pages in my web.xml:
When using the <error-code>404</error-code> I always get the default Jetty error message. I can access my "/error.jsp" page directly without issue.
When using the <exception-type>java.lang.Exception</exception-type> it works for the first WAB bundle I install, but if I install other bundles it does not work.
For the example files I'm deploying by dropping in Karaf's deploy folder. I've also tried installing using Karaf osgi:install command and via Karaf features.