Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
%
Description
Today I build fuse esb 7 kit locally and do some fast check, I found that when I simply start
fuse-esb-7.0-SNAPSHOT.tar.gz kit,
I see several bundles status isn't correct, like
[ 53] [Resolved ] [ ] [ ] [ 60] activemq-pool (5.5.1.fuse-02-02)
[ 54] [Installed ] [ ] [ ] [ 60] activemq-console (5.5.1.fuse-02-02)
[ 55] [Resolved ] [ ] [ ] [ 60] kahadb (5.5.1.fuse-02-02)
[ 56] [Resolved ] [ ] [ ] [ 60] activemq-ra (5.5.1.fuse-02-02)
[ 57] [Resolved ] [ ] [ ] [ 60] activemq-core (5.5.1.fuse-02-02)
Fragments: 73
[ 58] [Resolved ] [ ] [ ] [ 60] Apache Aries Transaction Manager (0.2.0.incubating)
[ 59] [Installed ] [ ] [ ] [ 60] activemq-karaf (5.5.1.fuse-02-02)
[ 60] [Resolved ] [ ] [ ] [ 60] geronimo-j2ee-management_1.1_spec (1.0.1)
[ 61] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix :: Bundles :: commons-codec (1.3.0.3)
[ 62] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix Bundles: xpp3-1.1.4c (1.1.0.4c_3)
[ 63] [Resolved ] [ ] [ ] [ 60] Commons Pool (1.5.4)
[ 64] [Resolved ] [ ] [ ] [ 60] Commons Collections (3.2.1)
[ 65] [Resolved ] [ ] [ ] [ 60] geronimo-jms_1.1_spec (1.1.1)
[ 66] [Installed ] [ ] [ ] [ 60] Apache ServiceMix :: Bundles :: jasypt (1.6.0.1)
[ 67] [Installed ] [ ] [ ] [ 60] Apache ServiceMix :: Bundles :: commons-lang (2.4.0.4)
[ 68] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix Bundles: dom4j-1.6.1 (1.6.1.2)
[ 69] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix Bundles: oro-2.0.8 (2.0.8.3)
[ 70] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix Bundles: xstream-1.3 (1.3.0.3)
[ 71] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix :: Bundles :: jdom (1.1.0.3)
[ 72] [Resolved ] [ ] [ ] [ 60] Apache ServiceMix :: Bundles :: velocity (1.7.0.1)
[ 73] [Resolved ] [ ] [ ] [ 60] activemq-blueprint (5.5.1.fuse-02-02)
Hosts: 57
[ 74] [Resolved ] [ ] [ ] [ 60] Apache XBean :: OSGI Blueprint Namespace Handler (3.9.0)
[ 75] [Resolved ] [ ] [ ] [ 60] Commons JEXL (2.0.1)
from the log I can see
16:32:16,650 | WARN | Thread-3 | FeaturesServiceImpl | 14 - org.apache.karaf.features.core - 2.2.5.fuse-7-032 | Error when installing feature activemq-broker: java.lang.IllegalArgumentException
Noticed that this issue not happen on full kit fuse-esb-full-7.0-SNAPSHOT.tar.gz, after investigation, found that this is a trace condition issue, activemq-broker feature has bundle like
<bundle>blueprint:file:etc/activemq-broker.xml</bundle>
to install this bundle, need blueprint url handler available in the OSGi container, if not available when install this feature, then we saw such Error message.
When org.apache.karaf.features.core bundle is up, it will load features descriptors and try install features, we need org.apache.karaf.deployer.blueprint bundle start before org.apache.karaf.features.core