users@jersey.java.net

Re: [Jersey] Websphere 6.1 integration

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 04 Feb 2010 10:06:54 +0100

Hi Matthieu,

Can you send the log output from WebSphere when you deploy the Jersey-
base web application?

Also you might want to double check the context path that WebSphere
uses when deploying the web application as it might be different to
that when deployed by GlassFish v2.

Paul.

On Feb 3, 2010, at 3:24 PM, VINCENT Matthieu (Prestataire) wrote:

> Hi,
>
> I’m actually developing a web application using services REST with
> Jersey.
> When I deploy my application on Glassfish (v2), I’ve no problem to
> communicate between my 2 parts.
> Problems come when trying on Websphere 6_1, I receive a 404 error
> when calling my service.
>
> com.sun.jersey.api.client.UniformInterfaceException: POST http://localhost:9780/xxx/service/
> returned a response status of 404
> at
> com.sun.jersey.api.client.WebResource.handle(WebResource.java:562)
> at com.sun.jersey.api.client.WebResource.access
> $300(WebResource.java:68)
> at com.sun.jersey.api.client.WebResource
> $Builder.post(WebResource.java:498)
>
> So I’m looking for any feedback on jersey integration and deployment
> on a Websphere server.
>
> Thanks in advance
>
> Matthieu
> Java/J2EE Consultant