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

ServiceConstructionException thrown when refreshing a child Spring context

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.7, 2.7.11
    • Fix Version/s: 3.0, 2.7.12
    • Component/s: JAX-RS
    • Labels:
      None
    • Environment:

      Spring 3.2

    • Estimated Complexity:
      Unknown

      Description

      The exception "org.apache.cxf.service.factory.ServiceConstructionException: There is an endpoint already running on /childendpoint" is thrown when refreshing a child Spring context containing a JAX-RS server created using the <jaxrs:server> notation and when a JAX-RS server is also defined in the parent Spring context.

        Attachments

        1. sample_application.zip
          6 kB
          Florian Léger
        2. jaxrs_spring_destroy_created_server.diff
          2 kB
          Florian Léger

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              fleger Florian Léger
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: