You posted to the wrong list. Try [email protected] Cheers Niclas
On Fri, Sep 2, 2011 at 9:07 PM, Roland Brand <[email protected]> wrote: > Hi there > > I am using Pax Web in Version 1.1.1 with Jetty 7.5.0.RC0. > > I registered servlets from several bundles with different HttpContexts and one > of them is registered for the root path ("/"). The code looks similar to this: > > bundle 1: > > httpService.registerServlet("/", servlet1, null, context1); > > bundle 2: > > httpService.registerServlet("/example", servlet2, null, context2); > > > A request for "/myFile.html" is correctly handled by context1, but a > subsequent request to "/example" is also handled by context1 (leading to an > Error 404) instead of context2. > > My debugging session lead me to the class > org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection where > the handle() method calls super.handle(). My request is handled by the super > class instead of the following code (line 74). > > Investigating the source repository I found out that this call to > super.handle() was introduced with the Issue PAXWEB-269. According to the > Javadoc of the class and my experience, this seems to be a bug. > > Could anyone please check this code and verify my thesis? > > Thanks a lot > > Roland > > > _______________________________________________ > qi4j-dev mailing list > [email protected] > http://lists.ops4j.org/mailman/listinfo/qi4j-dev > -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/3xugrbk I work here; http://tinyurl.com/24svnvk I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

