cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malisetti, Ramanjaneyulu" <>
Subject conflicts with the registered path
Date Wed, 08 Oct 2014 08:49:03 GMT
              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(
        at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngine.addServant(
        at org.apache.cxf.transport.http_jetty.JettyHTTPDestination.activate(
        at org.apache.cxf.transport.AbstractObservable.setMessageObserver(
        at org.apache.cxf.binding.AbstractBindingFactory.addListener(
        at org.apache.cxf.jaxrs.JAXRSBindingFactory.addListener(
        at org.apache.cxf.endpoint.ServerImpl.start(
        at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(

how to avoid this exception?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message