You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2009/10/25 14:51:59 UTC

[jira] Commented: (CXF-1182) org.apache.cxf.bus.extension.DeferredMap::undefer causes all configuration to be lost when not using Spring

    [ https://issues.apache.org/jira/browse/CXF-1182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12769825#action_12769825 ] 

Christian Schneider commented on CXF-1182:
------------------------------------------

There has been no activity on this issue since quite a long time. Please add a comment if this bug is still open. I will close the issue on 01.11.2009 if there is no reply.

> org.apache.cxf.bus.extension.DeferredMap::undefer causes all configuration to be lost when not using Spring
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: CXF-1182
>                 URL: https://issues.apache.org/jira/browse/CXF-1182
>             Project: CXF
>          Issue Type: Bug
>          Components: Configuration
>    Affects Versions: 2.0.2
>         Environment: Tomcat 5.5
>            Reporter: Damien B
>
> While trying to use "Publishing an endpoint with the API" ( http://cwiki.apache.org/CXF20DOC/servlet-transport.html ) under Tomcat, it fails with the following problem (with a modified CXFServlet):
> - CXFServlet loads, create a bus = BusFactory.newInstance()).createBus() with the default parameters (Jetty for the transports)
> - the transports are correctly registered in CXFServlet::replaceDestinationFactory (ServletTransportFactory instead of Jetty)
> - while publishing the "/Greeter" endpoint,  DestinationFactoryManagerImpl::getDestinationFactoryForUri fails to find a matching prefix with the registered ServletTransportFactory
> - then it calls ((DeferredMap)destinationFactories).undefer(), and tries again
> - undefer in turn calls the ExtensionManagerImpl, which reloads the default configuration: Jetty comes back, and the ServletTransportFactory is lost for good

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.