cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Malisetti, Ramanjaneyulu" <Ramanjaneyulu.Malise...@ca.com>
Subject conflicts with the registered path
Date Wed, 08 Oct 2014 08:49:03 GMT
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(JAXRSServerFactoryBean.java:201)

how to avoid this exception?

Regards
Raman

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