That helps. We will wait for 3.0.2. Thank you.
Regards Raman -----Original Message----- From: Sergey Beryozkin [mailto:[email protected]] Sent: Wednesday, October 08, 2014 2:53 PM To: [email protected]; [email protected] Subject: Re: conflicts with the registered path Hi Redirecting to the users list Apparently supporting overlapping addresses was causing issues in other cases where the Jetty transport was used and it was restricted in 3.0.1. CXF 3.0.2 (the release process is about to start) has a "org.apache.cxf.transports.http_jetty.DontCheckUrl" system property supported that can be set to continue supporting such cases if preferred Cheers, Sergey On 08/10/14 09:49, Malisetti, Ramanjaneyulu wrote: > Hi, > We are starting multiple RESTful endpoints with same base name > using code below. For instance, http://localhost:9001/org/dep and > http://localhost:9001/org/dep/manage . It used to work till 2.7.1. After we > upgraded CXF to 3.0.1 and it is failing with below exception . > > Caused by: org.apache.cxf.interceptor.Fault: Could not add cxf jetty handler > for url http://localhost:9001/org/dep/manage to Jetty server, as it conflicts > with the registered path /dep/manage. > at > org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.checkRegistedContext(JettyHTTPServerEngine.java:305) > at > org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(JettyHTTPServerEngine.java:320) > at > org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(JettyHTTPDestination.java:179) > at > org.apache.cxf.transport.AbstractObservable.setMessageObserver(AbstractObservable.java:49) > at > org.apache.cxf.binding.AbstractBindingFactory.addListener(AbstractBindingFactory.java:95) > at > org.apache.cxf.jaxrs.JAXRSBindingFactory.addListener(JAXRSBindingFactory.java:88) > at org.apache.cxf.endpoint.ServerImpl.start(ServerImpl.java:123) > at > org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryB > ean.java:201) > > how to avoid this exception? > > Regards > Raman >
