[ 
https://issues.apache.org/jira/browse/CXF-5730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florian Léger updated CXF-5730:
-------------------------------

    Comment: was deleted

(was: Proposed patch that fixes the issue by calling the destroy() method of 
the Server instance created by the SpringJAXRSServerFactoryBean when the 
factory is destroyed.)

> ServiceConstructionException thrown when refreshing a child Spring context
> --------------------------------------------------------------------------
>
>                 Key: CXF-5730
>                 URL: https://issues.apache.org/jira/browse/CXF-5730
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.7, 2.7.11
>         Environment: Spring 3.2
>            Reporter: Florian Léger
>         Attachments: jaxrs_spring_destroy_created_server.diff, 
> sample_application.zip
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to