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

ServiceConstructionException thrown when refreshing a child Spring context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.7.7, 2.7.11
    • 3.0, 2.7.12
    • JAX-RS
    • None
    • Spring 3.2

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: