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

Lets see your embedded-jetty Server / handler / ServletContextHandler setup code.


Joakim Erdfelt / joakim@xxxxxxxxxxx

On Fri, Aug 14, 2015 at 5:41 AM, Bryan Coleman <bryan.coleman@xxxxxxxx> wrote:

I did see it and got the impression the uber jar fixed some of the issues with the all jar.

 

That said, I have changed course and am now using individual jars.  The following jars appear to provide me what is needed: servlet, server, util, http, io and security.

 

The problem is I am still seeing the same results with exception to the log message that shows the jetty version as 3.2.v20150730 instead of the SNAPSHOT.

 

Any ideas?

 

From: jetty-users-bounces@xxxxxxxxxxx [mailto:jetty-users-bounces@xxxxxxxxxxx] On Behalf Of Jan Bartel
Sent: Thursday, August 13, 2015 7:49 PM
To: JETTY user mailing list
Subject: 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

 

Bryan,

Did you see this recent thread on this list? https://dev.eclipse.org/mhonarc/lists/jetty-users/msg06029.html

Jan

 

On 14 August 2015 at 06:13, Bryan Coleman <bryan.coleman@xxxxxxxx> wrote:

I am working to migrate our system to use the latest uber jar and am now receiving a 404 when trying to access a custom Servlet.  The static content remains usable.

 

Currently, we are using the jetty-9.2.11.v20150529-all.jar and things are working properly.

 

I am not seeing any errors in the log.

 

Log for 9.2.11:

[main] INFO  org.eclipse.jetty.server.Server  - jetty-9.2.11.v20150529

[main] INFO  org.eclipse.jetty.server.handler.ContextHandler  - Started o.e.j.s.ServletContextHandler@7a461744{/,null,AVAILABLE}

[main] INFO  org.eclipse.jetty.server.handler.ContextHandler  - Started o.e.j.s.ServletContextHandler@6b1cc2fb{/static,file:///static/,AVAILABLE}

[main] INFO  org.eclipse.jetty.server.ServerConnector  - Started ServerConnector@15ffb1ba{SSL-HTTP/1.1}{0.0.0.0:8180}

[main] INFO  org.eclipse.jetty.server.Server  - Started @74224ms

 

Log for 9.3.2:

[main] INFO  org.eclipse.jetty.server.Server  - jetty-9.3.z-SNAPSHOT

[main] INFO  org.eclipse.jetty.server.handler.ContextHandler  - Started o.e.j.s.ServletContextHandler@7e7d6175{/,null,AVAILABLE}

[main] INFO  org.eclipse.jetty.server.handler.ContextHandler  - Started o.e.j.s.ServletContextHandler@6da5cb1{/static,file:///static/,AVAILABLE}

[main] INFO  org.eclipse.jetty.util.ssl.SslContextFactory  - x509={hostname.domain.com=1, hostname=1} wild={} alias=null for SslContextFactory@5713e261(file:///simple.keystore,null)

[main] INFO  org.eclipse.jetty.server.ServerConnector  - Started ServerConnector@1c71d704{SSL,[ssl, http/1.1]}{0.0.0.0:8180}

[main] INFO  org.eclipse.jetty.server.Server  - Started @79112ms

 

Other facts:

Using jdk-1.8.0_51

Client is IE 10

 

Also, curious why the uber jar is logging the version as 9.3.z-SNAPSHOT?

 

Any ideas would be greatly appreciated.

 

Thank You,

 

Bryan

 


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


_______________________________________________
jetty-users mailing list
jetty-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users


Back to the top