static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-20 Thread Benson Margulies
/doc ../../doc true jvm 1| 2016-03-16 08:08:39,183 | WARN | tp1085327538-940 | Response | 217 - org.eclipse.jet

Re: static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-20 Thread Benson Margulies
On Fri, Mar 18, 2016 at 6:46 AM, Achim Nierbeck wrote: > > http://ops4j.github.io/pax/web/4.2.x/index.html#_advanced_jetty_configuration For my particular application, zero java code is actually preferable. Anyhow, why would configuring it that way prevent Jetty from try to write to closed conn

Re: static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-19 Thread Benson Margulies
This is only a problem for errors. On Wed, Mar 16, 2016 at 8:11 AM, Benson Margulies wrote: > > > > > /doc > >class="org.eclipse.jetty.server.handler.ResourceHandler"> > ../../doc > true >

Re: static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-19 Thread Achim Nierbeck
ahh it's a closed connection ... which version of Pax-Web are you using? And did you check if that bug is already been fixed with Pax-Web? regards, Achim 2016-03-18 11:54 GMT+01:00 Benson Margulies : > > On Fri, Mar 18, 2016 at 6:46 AM, Achim Nierbeck > wrote: > >> >> http://ops4j.github.io/pa

Re: static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-19 Thread Benson Margulies
Karaf 4.0.4 brought me 4.2.4 of pax-web. Is it safe to stick 4.2.5 in there? I'm making assumptions about the meaning of the following, but, in general, it seems wrong to get this much traffic for a simple 404 on static content. jvm 1| 2016-03-16 08:08:39,183 | WARN | tp1085327538-940 | Re

Re: static content apparently not working in Karaf 4.0.4 via jetty config

2016-03-19 Thread Achim Nierbeck
Hi, maybe the service approach suits you better? http://ops4j.github.io/pax/web/4.2.x/index.html#_advanced_jetty_configuration go to section Using Handler and Connectors as Services regards, Achim 2016-03-16 13:26 GMT+01:00 Benson Margulies : > This is only a problem for errors. > > > On Wed,