I have a few questions regarding your scenario. First, what type of
subsystems are these? I think you work only with applications? Second, I'm
not sure I understand your deployment description. Please tell me if the
following rewording is accurate.

1. We install the application containing the host bundle. (Note that the
Fragment-Host header would appear in the fragment bundle's manifest, not
the host bundle's.)
2. We install one of the applications containing a fragment bundle with a
Fragment-Host header in the bundle manifest that references the host bundle
from step one.
3. We start the application containing the host bundle first, followed by
the one containing the fragment bundle.

Third, as the reworded third step implies, are you starting the subsystems
in the correct order? Do you start them asynchronously? Fourth, what's the
relationship between the subsystem containing the host bundle and the ones
containing the fragments? Are the latter children of the former? Finally,
what do you mean by "refresh"? Do you mean you're calling
FrameworkWiring.refreshBundles?

On Mon, Feb 1, 2016 at 3:40 AM, Wouter Bancken <[email protected]>
wrote:

> Hi,
>
> We are currently deploying multiple subsystems in our application that all
> provide a part of the UI of our application. The bundles responsible for
> serving the html/js/css files are all fragments to the same fragment-host
> which is in one of our subsystems. This setup is causing issues when
> deploying our application.
>
> *Deployment:*
> 1. We install the subsystem containing the fragment-host.
> 2. We install one of the subsystems containing a fragment to this host.
> 3. We start both subsystems but we are unable to resolve the fragment.
>
> This is fixed if we refresh the fragment-host right before starting the
> subsystems (after step 2, before step 3).
>
> This refresh will be part of our deployment setup but we were wondering if
> this should have been part of the Aries subsystems framework. Should Aries
> automatically refresh the fragment-host when installing a new fragment?
>
> Best regards,
> Wouter
>

Reply via email to