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 2012/10/22 10:20:12 UTC

[jira] [Commented] (DOSGI-66) The DSW only loads the intent map when certain spring bundles are loaded and started upfront

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

Christian Schneider commented on DOSGI-66:
------------------------------------------

I was really confused when I saw that the spring config was only used to initialize an Activator. We should document such side effects so people know we need the spring config.
For the future I would like to remove the spring dependency again. Is there any drawback when I try to load the xml intent file without spring?
                
> The DSW only loads the intent map when certain spring bundles are loaded and started upfront
> --------------------------------------------------------------------------------------------
>
>                 Key: DOSGI-66
>                 URL: https://issues.apache.org/jira/browse/DOSGI-66
>             Project: CXF Distributed OSGi
>          Issue Type: Bug
>          Components: DSW
>    Affects Versions: 1.1, 1.2
>            Reporter: Marc Schaaf
>            Assignee: Marc Schaaf
>             Fix For: 1.2
>
>
> The DSW loads the intent map via Spring from an XML file. For this import it needs access to some namespace handlers that are provided by the CXF bundle. If the Spring OSGi Extender bundles are not completely started before the DSW tries to load the map, the loading fails as the namespace handlers are not found. 
> A possible solution would be to change the startup of the DSW from the OSGi activator to Spring. This way the DSW would be started by the Spring OSGi Extender bundles once they are ready and the DSW could successfully load the map.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira