-
Bug
-
Resolution: Done
-
Critical
-
fuse-6.x-GA
-
None
-
%
-
-
After applying Fuse 6.3.0 Rollup 7 to an existing Fuse environment with a 3-node ensemble and master/slave broker profiles, the broker containers take a longer time to start and from the log we can see that the ActiveMQServiceFactory cannot find the configured broker.xml file on first start attempt and fails with FileNotFoundException:
2018-10-13 16:32:38,707 | ERROR | AMQ-1-thread-1 | ActiveMQServiceFactory | 105 - io.fabric8.mq.mq-fabric - 1.2.0.redhat-630343 | Exception on start: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [profile:stage-amq-broker3.xml]; nested exception is java.io.FileNotFoundException: class path resource [profile:stage-amq-broker3.xml] cannot be opened because it does not exist org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [profile:stage-amq-broker3.xml]; nested exception is java.io.FileNotFoundException: class path resource [profile:stage-amq-broker3.xml] cannot be opened because it does not exist at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)[127:org.apache.servicemix.bundles.spring-beans:3.2.18.RELEASE_1] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:303)[127:org.apache.servicemix.bundles.spring-beans:3.2.18.RELEASE_1] at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)[138:org.apache.xbean.spring:3.18.0] at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)[138:org.apache.xbean.spring:3.18.0] at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)[128:org.apache.servicemix.bundles.spring-context:3.2.18.RELEASE_1] at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:545)[128:org.apache.servicemix.bundles.spring-context:3.2.18.RELEASE_1] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:454)[128:org.apache.servicemix.bundles.spring-context:3.2.18.RELEASE_1] at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)[138:org.apache.xbean.spring:3.18.0] at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)[138:org.apache.xbean.spring:3.18.0] at io.fabric8.mq.fabric.ActiveMQServiceFactory$1.<init>(ActiveMQServiceFactory.java:164)[105:io.fabric8.mq.mq-fabric:1.2.0.redhat-630343] at io.fabric8.mq.fabric.ActiveMQServiceFactory.createBroker(ActiveMQServiceFactory.java:164)[105:io.fabric8.mq.mq-fabric:1.2.0.redhat-630343] at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.doStart(ActiveMQServiceFactory.java:543)[105:io.fabric8.mq.mq-fabric:1.2.0.redhat-630343] at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration.access$500(ActiveMQServiceFactory.java:359)[105:io.fabric8.mq.mq-fabric:1.2.0.redhat-630343] at io.fabric8.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$1.run(ActiveMQServiceFactory.java:498)[105:io.fabric8.mq.mq-fabric:1.2.0.redhat-630343] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_181] at java.util.concurrent.FutureTask.run(FutureTask.java:266)[:1.8.0_181] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)[:1.8.0_181] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)[:1.8.0_181] at java.lang.Thread.run(Thread.java:748)[:1.8.0_181] Caused by: java.io.FileNotFoundException: class path resource [profile:stage-amq-broker3.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:171)[130:org.apache.servicemix.bundles.spring-core:3.2.18.RELEASE_1] at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:329)[127:org.apache.servicemix.bundles.spring-beans:3.2.18.RELEASE_1] ... 18 more
On the next retry 10 seconds later, the file is found and the broker configures and boots up.
- is incorporated by
-
ENTESB-7843 Jetty unable to find its SSL keystore in Fabric registry: FileNotFoundException: /opt/fuse/jboss-fuse-6.3/profile:fuse.jks (No such file or directory)
- Closed
- is related to
-
ENTESB-7259 Fabric container tries to create two broker instances
- Closed
-
ENTESB-7515 AMQ broker is not started after patching to 6.3 R6
- Closed