Hi

sorry for a delay

On Fri, Sep 24, 2010 at 3:41 PM, chetan <[email protected]> wrote:

>
> Hi I'm running a CXF application in websphere.
> When the application starts I see that the CXFServlet is initialized
> properly and servers are bound to the specified paths.
>
> Problem:
> After every restart of the server, all requests fails with a 404 Not Found.
> "No operation matching request path"
>
>
I think I've seen a similar problem in ServiceMix and if I recall it
correctly it was caused by the the concurrency issue in one of the pax
libraries (web, whiteboard).



> Now if I hit the contextRoot of the application from a browser, it displays
> all the REST services and link to see WADL.
>
> After this step ALL IS GOOD. No more 404.
> How? Why?
> Am I missing anything here? Is the application not initialized properly
> until I did this?
> Please share your thoughts.
>
>
It is difficult to understand what is happening in case of WebSphere
reloading the web apps. If you could put few breakpoints in
CXFServlet/ServletController and see what is happening then it would help.
Or if you could open a JIRA and attach a sample project which could be built
using maven or ant and then just copied to an instance of WebSphere then it
would even be better

thanks, Sergey


> Thanks,
> Chetan
> --
> View this message in context:
> http://cxf.547215.n5.nabble.com/CXF-REST-Server-returns-404-tp2852722p2852722.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>

Reply via email to