You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Marc Schaaf (JIRA)" <ji...@apache.org> on 2010/02/25 09:26:27 UTC

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

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


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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Sergey Beryozkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DOSGI-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838272#action_12838272 ] 

Sergey Beryozkin commented on DOSGI-66:
---------------------------------------

Should we really have DSW completely dependent on Spring ? The activator may be able to do bits which can be awkward or impossible to do from Spring (I'm presuming you;re referring to xml-based spring config) ?

> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Marc Schaaf (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DOSGI-66?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marc Schaaf resolved DOSGI-66.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2
         Assignee: Marc Schaaf

Fixed by commit r926967

> 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.
-
You can reply to this email to add a comment to the issue online.


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

Posted by "Marc Schaaf (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DOSGI-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838328#action_12838328 ] 

Marc Schaaf commented on DOSGI-66:
----------------------------------

Sorry I didn't express my approach correctly ;-)   I want to declare the Activator as a Spring bean and hook the old start() / stop() methods as init and destroy methods to the bean. This way we would have the same possibilities as with a regular activator but the start() is only called once Spring is loaded and ready. 

> 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
>
> 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.
-
You can reply to this email to add a comment to the issue online.