Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1658

Brokers disappeared after deploying feature-cxf profile

XMLWordPrintable

    • % %
    • Hide

      1. Start Fuse and create fabric
      2. deploy few containers:

      container-create-child root broker 3 

      3. deploy brokers:

       mq-create --assign-container broker1 broker1

      for all brokers
      4. assign profile to brokers:

      container-add-profile broker1 feature-cxf 

      for all brokers

      Show
      1. Start Fuse and create fabric 2. deploy few containers: container-create-child root broker 3 3. deploy brokers: mq-create --assign-container broker1 broker1 for all brokers 4. assign profile to brokers: container-add-profile broker1 feature-cxf for all brokers
    • 6.3 Sprint 4 (Mar 28 - Apr 29)

      When prodife feature-cxf is deployed to container where broker is, broker won't start after provision of container and following exception is thrown:

      
              org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [profile:broker.xml]; nested exception is java.io.FileNotFoundException: class path resource [profile:broker.xml] cannot be opened because it does not exist
      
              at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
              at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
              at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)[org.apache.xbean:xbean-spring:3.15]
              at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)[org.apache.xbean:xbean-spring:3.15]
              at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-context:3.2.8.RELEASE_1]
              at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:537)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-context:3.2.8.RELEASE_1]
              at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-context:3.2.8.RELEASE_1]
      
                at org.apache.xbean.spring.context.ResourceXmlApplicationContext.(ResourceXmlApplicationContext.java:64)[119:org.apache.xbean.spring:3.15.0][org.apache.xbean:xbean-spring:3.15]
      
                at org.apache.xbean.spring.context.ResourceXmlApplicationContext.(ResourceXmlApplicationContext.java:52)[119:org.apache.xbean.spring:3.15.0][org.apache.xbean:xbean-spring:3.15]
      
                at org.fusesource.mq.fabric.ActiveMQServiceFactory$$anon$1.(ActiveMQServiceFactory.scala:104)[120:org.jboss.amq.mq-fabric:6.1.0.redhat-379][org.jboss.amq:mq-fabric:6.1.0.redhat-379]
      
              at org.fusesource.mq.fabric.ActiveMQServiceFactory$.createBroker(ActiveMQServiceFactory.scala:104)[org.jboss.amq:mq-fabric:6.1.0.redhat-379]
              at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.org$fusesource$mq$fabric$ActiveMQServiceFactory$ClusteredConfiguration$$doStart(ActiveMQServiceFactory.scala:407)[org.jboss.amq:mq-fabric:6.1.0.redhat-379]
              at org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$4.run(ActiveMQServiceFactory.scala:368)[org.jboss.amq:mq-fabric:6.1.0.redhat-379]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_60]
              at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_60]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_60]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_60]
              at java.lang.Thread.run(Thread.java:745)[:1.7.0_60]
      
              Caused by: java.io.FileNotFoundException: class path resource [profile:broker.xml] cannot be opened because it does not exist
      
              at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:157)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-core:3.2.8.RELEASE_1]
              at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)[org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-beans:3.2.8.RELEASE_1]
      
              ... 17 more
      

            acosenti Andrea Cosentino
            mmelko@redhat.com Matej Melko
            Matej Melko Matej Melko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: