Bug 1146856 - Some switchyard features for karaf cannot be installed without some prerequisites
Summary: Some switchyard features for karaf cannot be installed without some prerequis...
Keywords:
Status: MODIFIED
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: SwitchYard
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: DR4
: ---
Assignee: David Ward
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-26 09:02 UTC by Martin Basovník
Modified: 2021-10-15 11:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)
switchyard-bpm log (4.95 KB, text/plain)
2014-09-26 09:02 UTC, Martin Basovník
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SWITCHYARD-2358 0 Major Resolved Some switchyard features for karaf cannot be installed without some prerequisites. 2015-10-20 19:01:03 UTC

Description Martin Basovník 2014-09-26 09:02:45 UTC
Created attachment 941492 [details]
switchyard-bpm log

===Description of problem:
Some switchyard features cannot be installed on karaf without having previously installed switchyard feature.

switchyard-bpm
switchyard-hibernate

=> switchyard-2.0.0.Alpha2-redhat-1-core-features.xml should be fixed

=== Version-Release number of selected component (if applicable):
FSW 6.1 DR2

=== How reproducible:


=== Steps to Reproduce:
features:addurl mvn:org.switchyard.karaf/switchyard/2.0.0.Alpha2-redhat-1/xml/features
features:install switchyard-bpm


=== Additional info:
Prerequisite:
features:install switchyard

Comment 1 Rob Cernich 2014-09-29 20:52:24 UTC
Please use the following features url when working with Fuse:

features:addurl mvn:org.switchyard.karaf/switchyard/2.0.0.Alpha2-redhat-1/xml/core-features

Notice the classifier is "core-features" instead of "features".

Comment 2 Martin Basovník 2014-10-01 06:05:04 UTC
Rob, why should I use classifier "core-features"? File with classifier "features" contains the following content and "core-features" is contained.

<repository>mvn:org.switchyard.karaf/switchyard/2.0.0.Alpha2-redhat-1/xml/core-features</repository>
<repository>mvn:org.apache.camel.karaf/apache-camel/2.12.0.redhat-610379/xml/features</repository>
<repository>mvn:org.apache.cxf.karaf/apache-cxf/2.7.11/xml/features</repository>
<repository>mvn:org.apache.activemq/activemq-karaf/5.9.0/xml/features</repository>

Nevertheless I tried to reproduce the bug with the following features url and the problem still exists.
mvn:org.switchyard.karaf/switchyard/2.0.0.Alpha2-redhat-1/xml/core-features

Comment 3 Rob Cernich 2014-10-01 13:21:24 UTC
Hey Martin,

The reason for the two different files is because those repository declarations cause the dependencies to be resolved from them, as opposed to the repositories configured on Fuse.  For example, the activemq repo will pull in v5.9.0, instead of 5.9.0.redhat-600379, which is what is packaged with Fuse.  Same goes for CXF.  It looks like prod has overwritten the version of Camel so it matches what Fuse is using, so that takes care of one of the problems.

Long story short, core-features only includes the SwitchYard features and repository declarations for SwitchYard specific dependencies (e.g. drools).

As this works with the community builds, I suspect the cause lies in something that changed as part of productization.

Thanks for verifying.
Rob

Comment 4 Rob Cernich 2014-10-21 16:43:34 UTC
Hey David, could you please verify this is working correctly as part of testing your current changes (upgrade to 6.2)?  It looks like much has changed between Alpha2 and Alpha3.  Thanks in advance.

Comment 5 JBoss JIRA Server 2014-12-05 23:13:54 UTC
Rob Cernich <rcernich> updated the status of jira SWITCHYARD-2358 to Resolved


Note You need to log in before you can comment on or make changes to this bug.