Why kar files not deployable in JBoss Fuse 6.2 ?
Issue
- Currently user is developing a project where user want to use
Red Hat JBoss Fuse 6.2but discovered that*.karor*.xmlare not picked up once they are placed in the deploy folder. - After some research user find out that the deployer feature is not installed by default. After installing this feature
Red Hat JBoss Fuse 6.2is still not picking up the*.karfiles. - So user further analysed and lookup the feature config of the deployer feature which contains the following
<feature name="deployer" description="Karaf Deployer" version="2.4.0.redhat-620133">
<feature>aries-blueprint</feature>
<bundle start="true" start-level="26">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/2.4.0.redhat-620133</bundle>
<conditional>
<condition>wrap</condition>
<bundle start="true" start-level="24">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/2.4.0.redhat-620133</bundle>
</conditional>
<conditional>
<condition>aries-blueprint</condition>
<bundle start="true" start-level="24">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.blueprint/2.4.0.redhat-620133</bundle>
</conditional>
<conditional>
<condition>spring</condition>
<bundle start="true" start-level="24">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.spring/2.4.0.redhat-620133</bundle>
</conditional>
<conditional>
<condition>kar</condition>
<bundle start="true" start-level="24">mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/2.4.0.redhat-620133</bundle>
</conditional>
</feature>
- now if user install the following bundle manually, like
osgi:install mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/2.4.0.redhat-620133
- Then the container is picking up the
*.karfiles but this should not be the procedure to enable*.kardeployment. - So why is
Red Hat JBoss Fuse 6.2not picking up.karfiles by default or after installing the deployer feature ? -
This issue was never faced with
JBoss Fuse 6.0or6.1. -
we are porting our feature from AMQ 6.1 to the new 6.2 (133 build).
With AMQ 6.1 we placed our kar file into broker's deploy directory then start the broker and the kar file was found and deployed by the broker.
With 6.2 it doesn't happen.
In order to deploy a feature we need to add the feature url and then install it manualy, using the client.
Moreover at the broker restart the feature is no more present.
Did we miss some configuration step?
Environment
- Red Hat JBoss Fuse
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
