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

AbstractTransportFactory does not have register method in CXF 3.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.1
    • NeedMoreInfo
    • Bus, Core, JAX-RS, Resources
    • None
    • Tomcat 7.0 ,

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: