Why do child containers behavior differently for same profile?

25 views
Skip to first unread message

hung...@gmail.com

unread,
Nov 5, 2013, 10:45:51 PM11/5/13
to fusef...@googlegroups.com
Hi
I used  JBoss Fuse (6.0.0.redhat-024) to create one child container (child-container-1).
I've developed sample project using cxf, and camel, deploy to child-container-1 using sample-cxf profile. Child-container-1 start successfully after changing sample-cxf profile (adding, removing features, bundles..).
Now, sample-cxf profile is:

Profile id: sample-cxf
Version   : 1.0
Attributes:
        parents: camel-jms cxf
Containers: child-container-1

Container settings
----------------------------
Repositories :
        mvn:org.apache.cxf.karaf/apache-cxf/2.6.0.redhat-60024/xml/features
Features :
        camel-cxf
Fabs :
        fab:mvn:esb.example/camel-order-cxf/1.1.3

After that, I create new child-container-2. Add this profile to new child-container-2. Then start child-container-2, it is broken. Lots of unsatisfied requirements occurs: 

Unsatisfied requirement(s):
---------------------------
   package:(&(package=org.eclipse.osgi.internal.module))
.....

child-container-1 still is fine.

The question is how 2 child container process differently with same profile?
Thank for you help

Hoàng Hưng

unread,
Nov 5, 2013, 11:58:40 PM11/5/13
to fusef...@googlegroups.com
Look at instances/child-container-1 and  instances/child-container-2 folder, I see child-container-1 has folder /data/fabric-agent but child-container-2 doesn't has this folder. Is that the reason?

Vào 10:45:51 UTC+7 Thứ tư, ngày 06 tháng mười một năm 2013, Hoàng Hưng đã viết:
Reply all
Reply to author
Forward
0 new messages