[jetty-user] 404 Not Found for any request while STARTING

Dmitry Lisay <[email protected]>
Newsgroups gmane.comp.java.jetty.support
Message-ID <[email protected]>
Hello.

If there's a request during startup phase Jetty always answers with 404 Not
Found regardless of handlers set. The server handles connections whlie it's
still STARTING (in HttpConnection.handleRequest() it calls isRunning() ) but
later in HandlerWrapper.handle() there's a check for isStarted() which leads
to ignoring any defined handlers and resulsts in default 404. There's no way
to intercept that 404 error response.

Is it an indended behaviour or a bug?

Jetty version: 6.1.25
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.