cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Léger (JIRA) <j...@apache.org>
Subject [jira] [Updated] (CXF-5730) ServiceConstructionException thrown when refreshing a child Spring context
Date Tue, 06 May 2014 09:06:14 GMT

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

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

    Attachment: jaxrs_spring_destroy_created_server.diff

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)

Mime
View raw message