Hmmm - some further clues that something may be amiss here: //fails: //srvHttp.registerResources(alias, "", myContext); //srvHttp.registerResources(alias + logsAlias, "", this.envLogsContext); //works: srvHttp.registerResources(alias + logsAlias, "", this.envLogsContext); srvHttp.registerResources(alias, "", myContext); Simply swapping the order of registration changes the behaviour , not quite to fully working - but a lot closer. I'm fairly sure the order of registration shouldn't change any behaviour, except in the case of a duplicate alias exception - which this isn't. The OSGi rules for walking back down a substring of aliases until there's a match aren't based on which got registered first Looking at the traces, Jetty seems to be using later registered aliases first - hence why the swap makes a difference. I suspect what is broken here is how Jetty does path matching to servlets - it doesn't look like it matches according to alias rules for OSGi in this newer Jetty version. -- Rob Rob Walker wrote: This looks definitely wrong to me in the current SVN rev, albeit our usage is a strange case that perhaps not many use, I think the new internal operation is wrong -- Ascert - Taking systems to the Edge [EMAIL PROTECTED] +44 (0)20 7488 3470 www.ascert.com |
- Strange results trying Jetty 6 version of Http service Rob Walker
- Re: Strange results trying Jetty 6 version of Http s... Stuart McCulloch
- Re: Strange results trying Jetty 6 version of Ht... Rob Walker
- Re: Strange results trying Jetty 6 version o... Rob Walker
- Re: Strange results trying Jetty 6 versi... Rob Walker
- Re: Strange results trying Jetty 6 ... Rob Walker