You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (JIRA)" <ji...@apache.org> on 2014/09/03 11:23:51 UTC

[jira] [Commented] (CXF-5981) AbstractTransportFactory does not have register method in CXF 3.0

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

Sergey Beryozkin commented on CXF-5981:
---------------------------------------

Hi

Can you provide more information please ? Under which conditions this issue occurs ? May be you can attach a Maven based test project ?

thanks, Sergey

> AbstractTransportFactory does not have register method in CXF 3.0
> -----------------------------------------------------------------
>
>                 Key: CXF-5981
>                 URL: https://issues.apache.org/jira/browse/CXF-5981
>             Project: CXF
>          Issue Type: Bug
>          Components: Bus, Core, JAX-RS, Resources
>    Affects Versions: 3.0.1
>         Environment: Tomcat 7.0 , 
>            Reporter: Piyush Muthal
>             Fix For: NeedMoreInfo
>
>
> Hi Team,
> As you know the register() method is removed from the AbstractTransportFactory in CXF 3.0. I found a problem , when CXF tries to create HTTPTransportFactory with default name space then it does not register the DestinationFactory in DestinationFactoryManager. So in CXFNonSpringServlet when  DestinationFactory df = dfm             .getDestinationFactory("http://cxf.apache.org/transports/http/configuration") is executed then it returns HttpTransportFactory with empty registry. The same registry is used by the servlet controller creation. Hence When I hit any URI then I get o/p as "Can't find the the request for"                                 + request.getRequestURL() + "'s Observer. Please suggest me the solution or give me appropriate reply for the same.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)