javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'commonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-1.10.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceDao' defined in class path resource [META-INF/opennms/applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.springframework.orm.ObjectRetrievalFailureException: Could not load class 'org.opennms.protocols.xml.collector.XmlStorageStrategy' for resource type 'dnsDns'; nested exception is java.lang.ClassNotFoundException: org.opennms.protocols.xml.collector.XmlStorageStrategy

sourceforge.net | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    OpenNMS / Mailing Lists

    sourceforge.net | 2 years ago
    javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'commonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-1.10.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceDao' defined in class path resource [META-INF/opennms/applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.springframework.orm.ObjectRetrievalFailureException: Could not load class 'org.opennms.protocols.xml.collector.XmlStorageStrategy' for resource type 'dnsDns'; nested exception is java.lang.ClassNotFoundException: org.opennms.protocols.xml.collector.XmlStorageStrategy
  2. 0

    OpenNMS / Mailing Lists

    sourceforge.net | 6 months ago
    javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'commonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-1.10.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceDao' defined in class path resource [META-INF/opennms/applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.springframework.orm.ObjectRetrievalFailureException: Could not load class 'org.opennms.protocols.xml.collector.XmlStorageStrategy' for resource type 'dnsDns'; nested exception is java.lang.ClassNotFoundException: org.opennms.protocols.xml.collector.XmlStorageStrategy
  3. 0

    OpenNMS - discuss - First run exception

    nabble.com | 1 year ago
    org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [capsdContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'capsdContext' defined in URL [jar:file:/usr/local/OpenNMS/lib/opennms-services-1.8.13.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xmlRpcNotifier' defined in class path resource [META-INF/opennms/applicationContext-capsd.xml]: Cannot create inner bean 'util:property-path#205d5c' of type [org.springframework.beans.factory.config.PropertyPathFactoryBean] while setting bean property 'xmlRpcEnabled'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'util:property-path#205d5c': Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OpenNMS - discuss - PostgreSQL SSL connection

    nabble.com | 1 year ago
    javax.management.RuntimeMBeanException: RuntimeException thrown in operation init
  6. 0

    OpenNMS - discuss - Problem starting OpenNMS

    nabble.com | 1 year ago
    org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/sw/var/opennms/lib/opennms-services-1.8.4.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemon' defined in class path resource [META-INF/opennms/applicationContext-eventDaemon.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.TransactionException: JDBC begin failed:

  1. Bogdan Zlate 1 times, last 1 year ago
11 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. org.springframework.beans.factory.access.BootstrapException

    Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'commonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.10.1.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/opt/opennms/lib/opennms-dao-1.10.1.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'resourceDao' defined in class path resource [META-INF/opennms/applicationContext-dao.xml]: Invocation of init method failed; nested exception is org.springframework.orm.ObjectRetrievalFailureException: Could not load class 'org.opennms.protocols.xml.collector.XmlStorageStrategy' for resource type 'dnsDns'; nested exception is java.lang.ClassNotFoundException: org.opennms.protocols.xml.collector.XmlStorageStrategy

    at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory()
  2. Spring Beans
    SingletonBeanFactoryLocator.useBeanFactory
    1. org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409)
    1 frame
  3. org.opennms.core
    BeanUtils.getFactory
    1. org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:51)
    2. org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:93)
    2 frames
  4. org.opennms.netmgt
    AbstractSpringContextJmxServiceDaemon.init
    1. org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:97)
    1 frame
  5. Java RT
    JmxMBeanServer.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    5. com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)
    6. com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)
    7. com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)
    8. com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
    9. com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:250)
    10. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
    11. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
    11 frames
  6. org.opennms.netmgt
    Controller.main
    1. org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:316)
    2. org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:239)
    3. org.opennms.netmgt.vmmgr.Starter.start(Starter.java:245)
    4. org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:116)
    5. org.opennms.netmgt.vmmgr.Controller.start(Controller.java:190)
    6. org.opennms.netmgt.vmmgr.Controller.main(Controller.java:162)
    6 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:601)
    4 frames
  8. org.opennms.bootstrap
    Bootstrap$3.run
    1. org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:346)
    1 frame
  9. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:722)
    1 frame