org.osgi.service.cm.ConfigurationException: null : Cannot start the broker

Pentaho BI Platform Tracking | Emanuel Teixeira | 1 year ago
  1. 0

    We start the di-server in a specific directory, and then we move it to another directory, and we get a FileNotFoundException when starts di-server. +The DI server starts normally even with the exception thrown, however, this could have impacted on some features like Monitoring.+ The exception thrown: {noformat} 20-Oct-2015 14:55:26.728 INFO [FelixStartLevel] org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer.register Registered blueprint namespace handler for http://schemas.xmlsoap.org/ws/2005/02/rm/policy 20-Oct-2015 14:55:26.745 INFO [FelixStartLevel] org.apache.cxf.bus.osgi.CXFExtensionBundleListener.addExtensions Adding the extensions from bundle org.apache.cxf.cxf-rt-javascript (122) [org.apache.cxf.javascript.JavascriptServerListener] *ERROR* [org.osgi.service.cm.ManagedServiceFactory, id=393, bundle=230/mvn:org.apache.activemq/activemq-osgi/5.10.0]: Updating configuration org.apache.activemq.server.357bfb70-f62a-4fbe-87cf-6631aba2c260 caused a problem: Cannot start the broker org.osgi.service.cm.ConfigurationException: null : Cannot start the broker at org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:110) at Proxy355e9be9_9d2d_4595_b35a_83b943048786.updated(Unknown Source) at org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:88) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.provide(ConfigurationManager.java:1605) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.run(ConfigurationManager.java:1548) at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103) at java.lang.Thread.run(Unknown Source) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [C:/Releases/6.0/pdi-ee-server-6.0.0.0-353/data-integration-server/pentaho-solutions/system/karaf/etc/activemq.xml]; nested exception is java.io.FileNotFoundException: class path resource [C:/Releases/6.0/pdi-ee-server-6.0.0.0-353/data-integration-server/pentaho-solutions/system/karaf/etc/activemq.xml] cannot be opened because it does not exist at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:539) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451) at org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:90) ... 6 more Caused by: java.io.FileNotFoundException: class path resource [C:/Releases/6.0/pdi-ee-server-6.0.0.0-353/data-integration-server/pentaho-solutions/system/karaf/etc/activemq.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:171) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328) ... 13 more [INFO] Started bridged http service SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Releases/6.0/a/pdi-ee-server-6.0.0.0-353/data-integration-server/tomcat/webapps/pentaho-di/WEB-INF/lib/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Releases/6.0/a/pdi-ee-server-6.0.0.0-353/data-integration-server/pentaho-solutions/system/kettle/plugins/pentaho-big-data-plugin/lib/slf4j-log4j12-1.7.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] {noformat}

    Pentaho BI Platform Tracking | 1 year ago | Emanuel Teixeira
    org.osgi.service.cm.ConfigurationException: null : Cannot start the broker
  2. 0

    We start the di-server in a specific directory, and then we move it to another directory, and we get a FileNotFoundException when starts di-server. +The DI server starts normally even with the exception thrown, however, this could have impacted on some features like Monitoring.+ The exception thrown: {noformat} 20-Oct-2015 14:55:26.728 INFO [FelixStartLevel] org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer.register Registered blueprint namespace handler for http://schemas.xmlsoap.org/ws/2005/02/rm/policy 20-Oct-2015 14:55:26.745 INFO [FelixStartLevel] org.apache.cxf.bus.osgi.CXFExtensionBundleListener.addExtensions Adding the extensions from bundle org.apache.cxf.cxf-rt-javascript (122) [org.apache.cxf.javascript.JavascriptServerListener] *ERROR* [org.osgi.service.cm.ManagedServiceFactory, id=393, bundle=230/mvn:org.apache.activemq/activemq-osgi/5.10.0]: Updating configuration org.apache.activemq.server.357bfb70-f62a-4fbe-87cf-6631aba2c260 caused a problem: Cannot start the broker org.osgi.service.cm.ConfigurationException: null : Cannot start the broker at org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:110) at Proxy355e9be9_9d2d_4595_b35a_83b943048786.updated(Unknown Source) at org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:88) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.provide(ConfigurationManager.java:1605) at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.run(ConfigurationManager.java:1548) at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103) at java.lang.Thread.run(Unknown Source) Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [C:/Releases/6.0/pdi-ee-server-6.0.0.0-353/data-integration-server/pentaho-solutions/system/karaf/etc/activemq.xml]; nested exception is java.io.FileNotFoundException: class path resource [C:/Releases/6.0/pdi-ee-server-6.0.0.0-353/data-integration-server/pentaho-solutions/system/karaf/etc/activemq.xml] cannot be opened because it does not exist at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:341) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:539) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451) at org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:90) ... 6 more Caused by: java.io.FileNotFoundException: class path resource [C:/Releases/6.0/pdi-ee-server-6.0.0.0-353/data-integration-server/pentaho-solutions/system/karaf/etc/activemq.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:171) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328) ... 13 more [INFO] Started bridged http service SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Releases/6.0/a/pdi-ee-server-6.0.0.0-353/data-integration-server/tomcat/webapps/pentaho-di/WEB-INF/lib/slf4j-log4j12-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Releases/6.0/a/pdi-ee-server-6.0.0.0-353/data-integration-server/pentaho-solutions/system/kettle/plugins/pentaho-big-data-plugin/lib/slf4j-log4j12-1.7.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] {noformat}

    Pentaho BI Platform Tracking | 1 year ago | Emanuel Teixeira
    org.osgi.service.cm.ConfigurationException: null : Cannot start the broker
  3. 0

    [AMQ-2212] RAR on Weblogic: embedded broker fails to start with : org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class - ASF JIRA

    apache.org | 11 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [jira] Commented: (AMQ-2212) RAR on Weblogic: embedded broker fails to start with : org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class

    apache.org | 11 months ago
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist
  6. 0

    {code}<Apr 16, 2009 10:21:12 PM IST> <Warning> <Socket> <BEA-000402> <There are: 5 active sockets, but the maximum number of socket reader threads allowed by the configuration is: 4. You may want to alter your configuration.> <Apr 16, 2009 10:21:53 PM IST> <Warning> <netuix> <BEA-423420> <Redirect is executed in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true&_pageLabel=HomePage1.> <Apr 16, 2009 10:23:25 PM IST> <Warning> <Connector> <BEA-190155> <Compliance checking/validation of the resource adapter /Users/gtully/j2ee/bea/user_projects/domains/base_domain/servers/AdminServer/upload/activemq-rar-5.3-SNAPSHOT.rar resulted in the following warnings: The ra.xml <resourceadapter-class> class 'org.apache.activemq.ra.ActiveMQResourceAdapter' should implement java.io.Serializable but does not.> 2009-04-16 22:23:26,074 [ (self-tuning)'] DEBUG ActiveMQResourceAdapter - setting [password] property 2009-04-16 22:23:26,074 [ (self-tuning)'] DEBUG ActiveMQResourceAdapter - setting [useInboundSession] to: false 2009-04-16 22:23:26,075 [ (self-tuning)'] DEBUG ActiveMQResourceAdapter - setting [serverUrl] to: tcp://localhost:61616 2009-04-16 22:23:26,075 [ (self-tuning)'] DEBUG ActiveMQResourceAdapter - setting [userName] to: defaultUser <Apr 16, 2009 10:23:26 PM IST> <Warning> <WorkManager> <BEA-002919> <Unable to find a WorkManager with name activemq-rar-5.3-SNAPSHOT.rar. Dispatch policy activemq-rar-5.3-SNAPSHOT.rar will map to the default WorkManager for the application activemq-rar-5> 2009-04-16 22:23:26,432 [ActiveMQ Broker] DEBUG XBeanBrokerFactory - Now attempting to figure out the type of resource: broker-config.xml 2009-04-16 22:23:26,679 [ActiveMQ Broker] INFO ResourceXmlApplicationContext - Refreshing org.apache.xbean.spring.context.ResourceXmlApplicationContext@22886042: display name [org.apache.xbean.spring.context.ResourceXmlApplicationContext@22886042]; startup date [Thu Apr 16 22:23:26 IST 2009]; root of context hierarchy 2009-04-16 22:23:27,409 [ActiveMQ Broker] INFO XBeanXmlBeanDefinitionReader - Loading XML bean definitions from class path resource [broker-config.xml] 2009-04-16 22:23:27,416 [ActiveMQ Broker] WARN ActiveMQResourceAdapter - Could not start up embeded ActiveMQ Broker 'xbean:broker-config.xml': IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist 2009-04-16 22:23:27,450 [ActiveMQ Broker] DEBUG ActiveMQResourceAdapter - Reason for: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:349) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104) at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:123) at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:423) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:353) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64) at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52) at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96) at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52) at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71) at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54) at org.apache.activemq.ra.ActiveMQResourceAdapter$1.run(ActiveMQResourceAdapter.java:78) Caused by: java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:142) at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:336) ... 13 more 2009-04-16 22:23:27,468 [ (self-tuning)'] DEBUG tiveMQManagedConnectionFactory - copying standard ResourceAdapter configuration properties 2009-04-16 22:23:27,468 [ (self-tuning)'] DEBUG tiveMQManagedConnectionFactory - setting [clientid] to: null 2009-04-16 22:23:27,468 [ (self-tuning)'] DEBUG tiveMQManagedConnectionFactory - setting [password] property 2009-04-16 22:23:27,468 [ (self-tuning)'] DEBUG tiveMQManagedConnectionFactory - setting [serverUrl] to: tcp://localhost:61616 {code}

    Apache's JIRA Issue Tracker | 8 years ago | Gary Tully
    org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [broker-config.xml]; nested exception is java.io.FileNotFoundException: class path resource [broker-config.xml] cannot be opened because it does not exist

  1. kjhdofjosvs 1 times, last 1 month ago
  2. stigkj 1 times, last 3 weeks ago
  3. marcbouvierdav 1 times, last 2 months ago
  4. linxiaolong 2 times, last 3 months ago
  5. ruifung 2 times, last 3 months ago
18 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    class path resource [C:/Releases/6.0/pdi-ee-server-6.0.0.0-353/data-integration-server/pentaho-solutions/system/karaf/etc/activemq.xml] cannot be opened because it does not exist

    at org.springframework.core.io.ClassPathResource.getInputStream()
  2. Spring Core
    ClassPathResource.getInputStream
    1. org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:171)
    1 frame
  3. Spring Beans
    XmlBeanDefinitionReader.loadBeanDefinitions
    1. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:328)
    2. org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
    2 frames
  4. Apache XBean :: Spring
    ResourceXmlApplicationContext.loadBeanDefinitions
    1. org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:111)
    2. org.apache.xbean.spring.context.ResourceXmlApplicationContext.loadBeanDefinitions(ResourceXmlApplicationContext.java:104)
    2 frames
  5. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)
    2. org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:539)
    3. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)
    3 frames
  6. AMQ bundle
    ActiveMQServiceFactory.updated
    1. org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:90)
    1 frame
  7. Unknown
    Proxy355e9be9_9d2d_4595_b35a_83b943048786.updated
    1. Proxy355e9be9_9d2d_4595_b35a_83b943048786.updated(Unknown Source)
    1 frame
  8. Apache Felix Configuration Admin Service
    UpdateThread.run
    1. org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:88)
    2. org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.provide(ConfigurationManager.java:1605)
    3. org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.run(ConfigurationManager.java:1548)
    4. org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:103)
    4 frames
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame