8 Replies Latest reply on Mar 6, 2014 4:25 PM by benjamin.fayle

    JBoss Fuse 6.1-redhat-328 Quickstart-jms will not install

    benjamin.fayle

      I've downloaded JBoss Fuse 6.1 and am following the instructions to run the quickstart-jms example.

       

      Initially it fails with this error:

       

      JBossFuse:karaf@root> features:addurl mvn:org.jboss.quickstarts.fuse/jms/6.1.0.redhat-328/xml/features

      JBossFuse:karaf@root> features:install quickstart-jms

      Error executing command: URL [mvn:io.fabric8/fabric8/1.0.0.redhat-328/xml/features] could not be resolved.

       

      I worked around this by changing the features.xml file per these instructions: [ENTESB-1157] Wrong feature URL for the fabric features.xml in quickstarts - JBoss Issue Tracker

       

      After redeploying JBoss Fuse now hangs while trying to install quickstart-jms:

       

      JBossFuse:karaf@root> features:addurl mvn:org.jboss.quickstarts.fuse/jms/6.1.0.redhat-328/xml/features

      JBossFuse:karaf@root> features:listurl

      Loaded   URI

        true    mvn:org.apache.activemq/activemq-karaf/5.9.0.redhat-610328/xml/features-core

        true    mvn:io.fabric8/fabric8-karaf/1.0.0.redhat-328/xml/features

        true    mvn:org.apache.jclouds.karaf/jclouds-karaf/1.6.2-incubating/xml/features

        true    mvn:org.apache.karaf.assemblies.features/enterprise/2.3.0.redhat-610328/xml/features

        true    mvn:org.apache.activemq/activemq-karaf/5.9.0.redhat-610328/xml/features

        true    mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.6.0.redhat-610328/xml/features

        true    mvn:org.fusesource.patch/patch-features/1.0.0.redhat-328/xml/features

        true    mvn:io.hawt/hawtio-karaf/1.2-M-redhat-328/xml/features

        true    mvn:org.jboss.fuse/jboss-fuse/6.1.0.redhat-328/xml/features

        true    mvn:org.apache.camel.karaf/apache-camel/2.12.0.redhat-610328/xml/features

        true    mvn:org.apache.karaf.assemblies.features/standard/2.3.0.redhat-610328/xml/features

        true    mvn:org.ops4j.pax.web/pax-web-features/3.0.6/xml/features

        true    mvn:org.apache.karaf.assemblies.features/spring/2.3.0.redhat-610328/xml/features

        true    mvn:org.jboss.quickstarts.fuse/jms/6.1.0.redhat-328/xml/features

        true    mvn:org.apache.cxf.karaf/apache-cxf/2.7.0.redhat-610328/xml/features

      JBossFuse:karaf@root> features:install quickstart-jms

      JBossFuse:karaf@root> Creating an instance of the AMQComponent

       

      I'm just trying to get the simple example running. It shouldn't be this difficult.

       

      Does anyone know a workaround?

        • 1. Re: JBoss Fuse 6.1-redhat-328 Quickstart-jms will not install
          davsclaus

          Yes this is a bug in the beta release. It has been fixed.

          • 2. Re: JBoss Fuse 6.1-redhat-328 Quickstart-jms will not install
            davsclaus
            1 of 1 people found this helpful
            • 3. Re: JBoss Fuse 6.1-redhat-328 Quickstart-jms will not install
              ffang

              Hi,

               

              A quick question, did you follow the README.txt like

              * Verify etc/users.properties from the JBoss Fuse installation contains the following 'admin' user configured:

               

                      admin=admin,admin

               

              * As demo uses AMQ Camel component, we need to provide the connection factory configuration as well. For that copy `src/main/resources/etc/org.fusesource.mq.fabric.cf-default.cfg` to the `etc/` directory of the distribution.

                  Also, if you don't use default admin/admin credentials, change the configuration file appropriately.

               

              Freeman

              • 4. Re: JBoss Fuse 6.1-redhat-328 Quickstart-jms will not install
                benjamin.fayle

                I downloaded and installed release 355 but it still doesn't work. For some reason the feature being installed shows up as mvn:io.fabric8/fabric8-karaf/1.0.0.redhat-355/xml/features not mvn:io.fabric8/fabric8-karaf/6.1.0.redhat-355/xml/features

                 

                JBossFuse:karaf@root> features:addurl mvn:org.jboss.quickstarts.fuse/jms/6.1.0.redhat-355/xml/features

                JBossFuse:karaf@root> features:listurl

                Loaded   URI

                  true    mvn:org.apache.camel.karaf/apache-camel/2.12.0.redhat-610355/xml/features

                  true    mvn:org.jboss.quickstarts.fuse/jms/6.1.0.redhat-355/xml/features

                  true    mvn:org.apache.karaf.assemblies.features/spring/2.3.0.redhat-610355/xml/features

                  true    mvn:io.hawt/hawtio-karaf/1.2-redhat-355/xml/features

                  true    mvn:org.fusesource.patch/patch-features/1.0.0.redhat-355/xml/features

                  true    mvn:org.apache.cxf.karaf/apache-cxf/2.7.0.redhat-610355/xml/features

                  true    mvn:org.apache.jclouds.karaf/jclouds-karaf/1.7.1/xml/features

                  true    mvn:io.fabric8/fabric8-karaf/1.0.0.redhat-355/xml/features

                  true    mvn:org.apache.karaf.assemblies.features/enterprise/2.3.0.redhat-610355/xml/features

                  true    mvn:org.apache.activemq/activemq-karaf/5.9.0.redhat-610355/xml/features

                  true    mvn:org.jboss.fuse/jboss-fuse/6.1.0.redhat-355/xml/features

                  true    mvn:org.apache.servicemix.nmr/apache-servicemix-nmr/1.6.0.redhat-610355/xml/features

                  true    mvn:org.apache.activemq/activemq-karaf/5.9.0.redhat-610355/xml/features-core

                  true    mvn:org.ops4j.pax.web/pax-web-features/3.0.6/xml/features

                  true    mvn:org.apache.karaf.assemblies.features/standard/2.3.0.redhat-610355/xml/features

                JBossFuse:karaf@root> features:install quickstart-jms

                Error executing command: URL [mvn:io.fabric8/fabric8-karaf/6.1.0.redhat-355/xml/features] could not be resolved.

                JBossFuse:karaf@root>

                • 5. Re: JBoss Fuse 6.1-redhat-328 Quickstart-jms will not install
                  janstey

                  Yep, this is an issue that is fixed as part of [ENTESB-1285] Unable to install REST quickstart on ER3 - JBoss Issue Tracker The versions got mixed up in the build... mvn:io.fabric8/fabric8-karaf/1.0.0.redhat-355/xml/features is the correct features URI for fabric8

                  1 of 1 people found this helpful
                  • 6. Re: JBoss Fuse 6.1-redhat-328 Quickstart-jms will not install
                    benjamin.fayle

                    So what is the work around? I tried applying the changes you made in ENTESB-1285 but didn't have any luck.

                     

                    Is there a build where this is fixed?

                    • 7. Re: JBoss Fuse 6.1-redhat-328 Quickstart-jms will not install
                      janstey

                      No build with a fix yet. But you can use a features file with the corrected versions to try out the example:

                       

                      <features name="quickstart-jms-6.1.0.redhat-355"

                                xmlns="http://karaf.apache.org/xmlns/features/v1.0.0">

                       

                        <repository>mvn:org.apache.camel.karaf/apache-camel/2.12.0.redhat-610355/xml/features</repository>

                        <repository>mvn:org.apache.activemq/activemq-karaf/5.9.0.redhat-610355/xml/features</repository>

                        <repository>mvn:io.fabric8/fabric8-karaf/1.0.0.redhat-355/xml/features</repository>

                       

                        <feature name="quickstart-jms" version="6.1.0.redhat-355" resolver="(obr)">

                            <feature version="[2.12,3)">camel-jms</feature>

                            <feature version="[2.12,3)">camel</feature>

                            <feature version="5.9.0.redhat-610355">activemq-camel</feature>

                            <feature version="6.1.0.redhat-355">mq-fabric</feature>

                       

                            <bundle>mvn:org.jboss.amq/mq-fabric-camel/6.1.0.redhat-355</bundle>

                            <bundle>mvn:org.jboss.amq/mq-fabric/6.1.0.redhat-355</bundle>

                            <bundle>mvn:io.fabric8/common-util/1.0.0.redhat-355</bundle>

                            <bundle>mvn:org.jboss.quickstarts.fuse/jms/6.1.0.redhat-355</bundle>

                        </feature>

                       

                      </features>

                      • 8. Re: JBoss Fuse 6.1-redhat-328 Quickstart-jms will not install
                        benjamin.fayle

                        I actually got things working using the fixes ENTESB-1285.