I'm stumped with something that should be really simple. I am using pax-web-jetty-bundle 3.0.0 and registering the following:
httpService.registerResources("/", "/tmp/static",null);
I am however unable to see /tmp/static/somefile.txt
when accessing http://localhost:8080/somefile.txt
(I get a 404 not found).
This is just the basic example of course. the registerResources
call finishes without incident (I've debugged through) but the resources are simply not served.
I've also tried a more complex example with my own HttpContext
to no avail: the getResources method is not even called.
I also have other servlets registered with null httpcontextx. Any idea what could be wrong here? Thanks!