My scoped plan is not working
MyPlan.plan
Code:
scoped="true" atomic="false"
<artifact type="bundle" name="BundleOneForPlan" version="[1.0.0, 2.0.0)"/>
<artifact type="bundle" name="BundleTwoForPlan" version="[1.0.0, 3.1.0)"/>
MyPlanTwo.plan
Code:
scoped="true" atomic="false"
<artifact type="bundle" name="BundleOneForPlan" version="[1.0.0, 2.0.0)"/>
<artifact type="bundle" name="BundleTwoTwoForPlan" version="[1.0.0, 3.1.0)"/>
BundleOneForPlan is exposing an OSGi -service other two bundles are referring to the same service
the deployment of second plan was not successful
Code:
[2009-10-19 06:15:07.420] fs-watcher <HD0001I> Processing 'CREATED' event for file 'MyPlan.plan'.
[2009-10-19 06:15:07.575] fs-watcher <DE0056I> Installing plan 'multi-artifact.plan' version '1.0.0'.
[2009-10-19 06:15:07.755] fs-watcher <DE0057I> Installed bundle 'BundleOneForPlan' version '1.0.0'.
[2009-10-19 06:15:07.782] fs-watcher <DE0057I> Installed bundle 'BundleTwoForPlan' version '1.0.0'.
[2009-10-19 06:15:07.808] fs-watcher <DE0057I> Installed plan 'multi-artifact.plan' version '1.0.0'.
[2009-10-19 06:15:07.912] fs-watcher <DE0059I> Starting plan 'multi-artifact.plan' version '1.0.0'.
[2009-10-19 06:15:07.934] fs-watcher <DE0059I> Starting bundle 'BundleOneForPlan' version '1.0.0'.
[2009-10-19 06:15:07.993] fs-watcher <DE0059I> Starting bundle 'BundleTwoForPlan' version '1.0.0'.
Activator Called
[2009-10-19 06:15:08.663] Thread-3 <DE0060I> Started bundle 'BundleOneForPlan' version '1.0.0'.
COMMON BEANS STATIC MESSAGE null
Service Message null
HELLO VISHAL
[2009-10-19 06:15:08.719] Thread-3 <DE0060I> Started bundle 'BundleTwoForPlan' version '1.0.0'.
[2009-10-19 06:15:08.744] Thread-3 <DE0060I> Started plan 'multi-artifact.plan' version '1.0.0'.
[2009-10-19 06:15:18.272] fs-watcher <HD0001I> Processing 'CREATED' event for file 'MyPlanTwo.plan'.
[2009-10-19 06:15:18.433] fs-watcher <DE0056I> Installing plan 'multi-artifact-two.plan' version '1.0.0'.
[2009-10-19 06:15:18.633] fs-watcher <DE0057I> Installed bundle 'BundleOneForPlan' version '1.0.0'.
[2009-10-19 06:15:18.664] fs-watcher <DE0057I> Installed bundle 'BundleTwoTwoForPlan' version '1.0.0'.
[2009-10-19 06:15:18.710] fs-watcher <DE0057I> Installed bundle 'multi-artifact-two.plan-synthetic.context' version '1.0.0'.
[2009-10-19 06:15:18.727] fs-watcher <DE0057I> Installed plan 'multi-artifact-two.plan' version '1.0.0'.
[2009-10-19 06:15:18.857] fs-watcher <DE0059I> Starting plan 'multi-artifact-two.plan' version '1.0.0'.
[2009-10-19 06:15:18.886] fs-watcher <DE0059I> Starting bundle 'BundleTwoTwoForPlan' version '1.0.0'.
Activator Called
[2009-10-19 06:15:18.944] fs-watcher <DE0059I> Starting bundle 'multi-artifact-two.plan-synthetic.context' version '1.0.0'.
[2009-10-19 06:15:18.989] fs-watcher <DE0060I> Started bundle 'multi-artifact-two.plan-synthetic.context' version '1.0.0'.
[2009-10-19 06:15:19.034] fs-watcher <DE0060I> Started bundle 'BundleOneForPlan' version '1.0.0'.
[2009-10-19 06:15:24.169] service-monitor-thread-1 <KE0010W> Mandatory reference '&myService' in bundle 'multi-artifact-two.plan-1-BundleTwoTwoForPlan' version '1.0.0' is waiting for service with filter '(objectClass=com.xyz.api.IService)'.
[2009-10-19 06:15:39.180] service-monitor-thread-1 <KE0010W> Mandatory reference '&myService' in bundle 'multi-artifact-two.plan-1-BundleTwoTwoForPlan' version '1.0.0' is waiting for service with filter '(objectClass=com.xyz.api.IService)'.