[ 
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.

Reply via email to