org.osgi.service.cm.ConfigurationException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

The application is unable to connect to the database.
It could be resolved by configuring access privileges on the database side.

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • When starting DI Server the plugin ActiveMQ fails to start, and in log file of Catalina we see a new SEVERE message each 6 seconds. Error message in pentaho.log file: {noformat} 2015-10-08 17:04:49,688 ERROR [org.apache.activemq.broker.BrokerService] Failed to start Apache ActiveMQ ([pentahoJmsBroker, ID:wd-wolverine-59029-1444320289440-0:1], java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind) 2015-10-08 17:04:50,249 ERROR [org.apache.felix.configadmin.1.8.0] [[org.osgi.service.cm.ConfigurationAdmin]][org.osgi.service.cm.ManagedServiceFactory, id=1015, bundle=230/mvn:org.apache.activemq/activemq-osgi/5.10.0]: Updating configuration org.apache.activemq.server.eec7fa27-20a2-4249-bf3f-3dcde568ee80 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 Proxybafff0aa_983e_4a87_93f0_101f3024e15d.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: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1092) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:489) at org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:90) ... 6 more {noformat} Error message in catalina.XXX.log file: {noformat} 08-Oct-2015 17:05:01.627 INFO [Camel (camel-2) thread #1 - JmsConsumer[snmpQueue]] org.apache.camel.component.jms.DefaultJmsMessageListenerContainer.handleListenerSetupFailure JMS message listener invoker needs to establish shared Connection 08-Oct-2015 17:05:02.643 SEVERE [Camel (camel-2) thread #1 - JmsConsumer[snmpQueue]] org.apache.camel.component.jms.DefaultJmsMessageListenerContainer.refreshConnectionUntilSuccessful Could not refresh JMS Connection for destination 'snmpQueue' - retrying in 5000 ms. Cause: Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect 08-Oct-2015 17:05:08.700 SEVERE [Camel (camel-2) thread #1 - JmsConsumer[snmpQueue]] org.apache.camel.component.jms.DefaultJmsMessageListenerContainer.refreshConnectionUntilSuccessful Could not refresh JMS Connection for destination 'snmpQueue' - retrying in 5000 ms. Cause: Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect 08-Oct-2015 17:05:14.722 SEVERE [Camel (camel-2) thread #1 - JmsConsumer[snmpQueue]] org.apache.camel.component.jms.DefaultJmsMessageListenerContainer.refreshConnectionUntilSuccessful Could not refresh JMS Connection for destination 'snmpQueue' - retrying in 5000 ms. Cause: Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect {noformat}
    via by Emanuel Teixeira,
  • When starting DI Server the plugin ActiveMQ fails to start, and in log file of Catalina we see a new SEVERE message each 6 seconds. Error message in pentaho.log file: {noformat} 2015-10-08 17:04:49,688 ERROR [org.apache.activemq.broker.BrokerService] Failed to start Apache ActiveMQ ([pentahoJmsBroker, ID:wd-wolverine-59029-1444320289440-0:1], java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616?maximumConnections=1000&wireFormat.maxFrameSize=104857600 due to: java.net.BindException: Address already in use: JVM_Bind) 2015-10-08 17:04:50,249 ERROR [org.apache.felix.configadmin.1.8.0] [[org.osgi.service.cm.ConfigurationAdmin]][org.osgi.service.cm.ManagedServiceFactory, id=1015, bundle=230/mvn:org.apache.activemq/activemq-osgi/5.10.0]: Updating configuration org.apache.activemq.server.eec7fa27-20a2-4249-bf3f-3dcde568ee80 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 Proxybafff0aa_983e_4a87_93f0_101f3024e15d.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: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1092) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:489) at org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:90) ... 6 more {noformat} Error message in catalina.XXX.log file: {noformat} 08-Oct-2015 17:05:01.627 INFO [Camel (camel-2) thread #1 - JmsConsumer[snmpQueue]] org.apache.camel.component.jms.DefaultJmsMessageListenerContainer.handleListenerSetupFailure JMS message listener invoker needs to establish shared Connection 08-Oct-2015 17:05:02.643 SEVERE [Camel (camel-2) thread #1 - JmsConsumer[snmpQueue]] org.apache.camel.component.jms.DefaultJmsMessageListenerContainer.refreshConnectionUntilSuccessful Could not refresh JMS Connection for destination 'snmpQueue' - retrying in 5000 ms. Cause: Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect 08-Oct-2015 17:05:08.700 SEVERE [Camel (camel-2) thread #1 - JmsConsumer[snmpQueue]] org.apache.camel.component.jms.DefaultJmsMessageListenerContainer.refreshConnectionUntilSuccessful Could not refresh JMS Connection for destination 'snmpQueue' - retrying in 5000 ms. Cause: Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect 08-Oct-2015 17:05:14.722 SEVERE [Camel (camel-2) thread #1 - JmsConsumer[snmpQueue]] org.apache.camel.component.jms.DefaultJmsMessageListenerContainer.refreshConnectionUntilSuccessful Could not refresh JMS Connection for destination 'snmpQueue' - retrying in 5000 ms. Cause: Error while attempting to add new Connection to the pool; nested exception is javax.jms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason: java.net.ConnectException: Connection refused: connect {noformat}
    via by Emanuel Teixeira,
    • org.osgi.service.cm.ConfigurationException: null : Cannot start the broker at org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:110) at Proxybafff0aa_983e_4a87_93f0_101f3024e15d.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: java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:171) at org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1092) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:489) at org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:90) ... 6 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Pilleo
    4 times, last one,
    ruifung
    3 times, last one,
    71 more bugmates