Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond

The context path "feed" is set here:

https://sourceforge.net/p/red-feed-aggregator/code/ci/master/tree/red-feed-aggregator.xml#l4

 

The application path "webresources" is set here:

https://sourceforge.net/p/red-feed-aggregator/code/ci/master/tree/src/main/java/fr/gouesse/julien/jaxrs/RedFeedAggregatorApplication.java#l8

 

The path of the resource "corsproxy" is set here:

https://sourceforge.net/p/red-feed-aggregator/code/ci/master/tree/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java#l23

 

The path of the web service "raw?url="" is set here:

https://sourceforge.net/p/red-feed-aggregator/code/ci/master/tree/src/main/java/fr/gouesse/julien/jaxrs/CorsProxyResource.java#l38

 

That's why I use this path to test this web service:

http://80.13.94.99/feed/webresources/corsproxy/raw?url="">

 

I still get an HTTP error 404 :(

 

> Message du 06/08/20 22:47
> De : "Simone Bordet" <sbordet@xxxxxxxxxxx>
> A : gouessej@xxxxxxxxx
> Copie à : "Simone Bordet" <sbordet@xxxxxxxxxxx>, "JETTY user mailing list" <jetty-users@xxxxxxxxxxx>
> Objet : Re: [jetty-users] My CORS proxy using Jersey (for JAX-RS) with Jetty 9.4.31 doesn't respond
>
> Hi,
>
> On Thu, Aug 6, 2020 at 8:15 PM <gouessej@xxxxxxxxx> wrote:
> > 2020-08-06 20:09:07.840:INFO:oejsh.ContextHandler:main: Started o.e.j.w.WebAppContext@1d31475{/feed,file:///opt/jetty/temp/jetty-0_0_0_0-8080-red-feed-aggregator_war-_feed-80_13_94_99-1302284637019804290.dir/webapp/,AVAILABLE,80.13.94.99}{/opt/web/mybase/webapps/red-feed-aggregator.war}
>
> So your application is deployed on contextPath /feed.
>
> This means @ApplicationPath("feed"), @Path("/webresources/corsproxy"), etc.
>
> --
> Simone Bordet
> ----
> http://cometd.org
> http://webtide.com
> Developer advice, training, services and support
> from the Jetty & CometD experts.
>

Back to the top