When a HTTP Clienttry to load a resource on a servlet which is starting, PaxWeb can return an error 500 showing a NPE (below). It should rather return a 404 pages
I think it makes more sense to have 500 as 404 actually means that the resource is not present at all.
Hmm, 404 suits better OSGi env IMO. Servlet that didn't start yet is like an OSGi runtime with HttpService where no servlet (or resource) was registered (yet) under given alias. So 404 sounds more natural at 2nd (but I agree that not at first) glance.
Fair enough, let me go for 404.