Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-5981

AbstractTransportFactory does not have register method in CXF 3.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: NeedMoreInfo
    • Component/s: Bus, Core, JAX-RS, Resources
    • Labels:
      None
    • Environment:

      Tomcat 7.0 ,

    • Estimated Complexity:
      Advanced

      Description

      Hi Team,

      As you know the register() method is removed from the AbstractTransportFactory in CXF 3.0. I found a problem , when CXF tries to create HTTPTransportFactory with default name space then it does not register the DestinationFactory in DestinationFactoryManager. So in CXFNonSpringServlet when DestinationFactory df = dfm .getDestinationFactory("http://cxf.apache.org/transports/http/configuration") is executed then it returns HttpTransportFactory with empty registry. The same registry is used by the servlet controller creation. Hence When I hit any URI then I get o/p as "Can't find the the request for" + request.getRequestURL() + "'s Observer. Please suggest me the solution or give me appropriate reply for the same.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              piyush.muthal Piyush Muthal
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: