Hi Jordan,
Is it possible to provide a small reproducible test case?
Thanks,
~Jakub
On 25.10.2011 11:56, Jordan Blay wrote:
> Hi!
>
> I have my application running both on windows and on ubunto.
>
> In windows it works fine, however in ubunto I get the following exception:
>
> null for uri: http://myip:8081/api/api/emails/send
> com.sun.jersey.api.NotFoundException: null for uri:
> http://myip:8081/api/api/emails/send
> at
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1470)
> at
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
> at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
> at
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
> at
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
>
> which means that :
>
> if (!rootsRule.accept(path, null, localContext)) {
> throw new NotFoundException(request.getRequestUri());
> }
>
> in com.sun.jersey.server.impl.application.WebApplicationImpl counldn't find
> the url.
>
> but I see in the logs that INFO: Root resource classes found:
> class com.my.resource.EmailResource
>
> What is wrong?
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/Jersey-on-Ubunto-com-sun-jersey-api-NotFoundException-null-for-uri-tp6928223p6928223.html
> Sent from the Jersey mailing list archive at Nabble.com.
>