Moin Grzegor,

i did get the default handler (aka "/") working by blueprint (from the pax 
web samples dir), but this does not cover other http contexts further up in 
the context tree. I have some Camel routes running there and i would like 
to have one default exception and error page for all contexts. Jetty 
provides such a possibility by IoC in the Jetty XML where one can override 
the default classes, but due to OSGi class-loading Jetty will not find my 
overriding classes declared in a separate bundle.
At this moment i am looking at the "bundleContext.getServiceReference( 
"org.ops4j.pax.web.service.WebContainer" );" as it has a method 
registerErrorPage which with a null httpContext should use the default http 
context.
Or is there a way to register a bundle so that Jetty wil find it by its 
jetty.xml?

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to