Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Migrating from jetty-9.2.11.v20150529-all.jar to jetty-9.3.2.v20150730-uber.jar results in a HTTP Error 404

Am 25.08.2015 um 17:02 schrieb Bryan Coleman:
> Any thoughts on the code below and its relation to the HTTP ERROR 404
> when upgrading to version 9.3.2?

Can you do a System.out.println(server.dump()) after the setup
of the server? If you see a ServletHandler$Default404Servlet
in the dump, you might have the same effect I had when I started
the thread with MID <55155AAD.6040309@xxxxxxxxxxxxxx>.

I helped myself with manually removing that servlet from the
handler (which wasn't fun but does at least work). Maybe Jetty 9.3
gives you a way to tell the server to not add the 404-servlet
automatically (which isn't possible with 9.2), so you might
be able to get around the (really ugly) hack.

Cheers, Lothar

Back to the top