2016-03-17 12:08 GMT+01:00 MMA <[email protected]>:
> Yes, there should be jar conflict. But could not find how to resolve the
> issue.
>
> In TomEE I need to call the rest as
> http://localhost:[PORT_NO]/restfulws/test/sayHi but in other sever I need to
> call http://localhost:[PORT_NO]/restfulws/*rest*/test/sayHi
>
> So my issue was why TomEE does not allow to call restful ws as
> http://localhost:[PORT_NO]/restfulws/*rest*/test/sayHi?
> What is the configuration I need to change?
>

Remove jersey, map a servlet named with your jaxrs Application to
/rest/* and it should do it.

> In TomEE I need to call ws as :
> http://localhost:[PORT_NO]/restfulws/test/sayHi
>
> In Weblogic I need to call:
> http://localhost:[PORT_NO]/restfulws/*rest*/test/sayHi
>
> In plain Apache-tomcat-7.0.52 I need to call:
> http://localhost:[PORT_NO]/restfulws/*rest*/test/sayHi
>
>
>
> --
> View this message in context: 
> http://tomee-openejb.979440.n4.nabble.com/Not-able-to-call-rest-webservice-in-TomEE-1-7-2-with-Jersey-Servlet-tp4677910p4677923.html
> Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to