I'm using Karaf 2.2.2 and with Pax Web 1.0.4. My application includes several WAB bundles.
When the OSGI container is starting up, and you attempt access the application too soon, you get a Jetty 500 error page with a ugly stack trace. Then if you try again after everything is started it works fine. I really don't want customers to see that stack trace while the application is loading. Is it possible to disable Jetty stack traces?
In order to get around this temporarily hacked the code HttpServiceContext to the following:
ErrorPageErrorHandler errorHandler = new ErrorPageErrorHandler();
setErrorHandler( errorHandler );
This works, but it would be nice if there was a cleaner way.