javax.management.RuntimeMBeanException: Error calling queryNames for pattern: *:type=AggreMBean,* on VM: ias:j2eeType=JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=OC4J_MKT,ASInstance=middle03.middle03

Oracle Community | 645001 | 8 years ago
  1. 0

    Error - RuntimeException thrown by the invoke method of the Dynamic MBean

    Oracle Community | 8 years ago | 645001
    javax.management.RuntimeMBeanException: Error calling queryNames for pattern: *:type=AggreMBean,* on VM: ias:j2eeType=JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=OC4J_MKT,ASInstance=middle03.middle03
  2. 0

    10.1.3.3 Error while setting instance keystore and certificates in em

    Oracle Community | 9 years ago | 561667
    javax.management.RuntimeMBeanException: Error setting attribute: stagedConfig for: oc4j:J2EEServer=standalone,handler=security,j2eeType=WSMHandlerGlobalConfig
  3. 0

    Unable to make a connection to OC4J instance - passwords identical for sure

    Oracle Community | 7 years ago | 566709
    javax.management.RuntimeMBeanException: Error calling queryNames for pattern: *:j2eeType=J2EEServer,* on VM: ias:j2eeType=JVMProxy ,name=1,J2EEServerGroup=default_group,J2EEServer=archibus,ASInstance=oraias_09.boswell.bath.ac.uk
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OpenNMS - discuss - Problem starting OpenNMS

    nabble.com | 1 year 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:/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:
  6. 0

    junit.jar missing from distribution $OPENNMS/lib. Adding the junit-4.10.jar or junit-4.11.jar allows OpenNMS to start with a configured Selenium Monitor however the example monitor for www.opennms.org from the WIKI fails (shows as down service). http://www.opennms.org/wiki/Selenium_Monitor http://www.opennms.org/wiki/Selenium_IDE JAVA error throw with junit.jar missing and configured Monitor settings that fail after adding junit.jar: =========================================================================== Poller-configuration.xml ... <service name="opennmsOrgTest" interval="300000" user-defined="false" status="on"> <parameter key="retry" value="1" /> <parameter key="timeout" value="3" /> <parameter key="base-url" value="http://www.opennms.org" /> <parameter key="selenium-sequence" value="opennmsOrgTest.groovy" /> </service> ... <monitor service="opennmsOrgTest" class-name="org.opennms.netmgt.poller.monitors.SeleniumMonitor" /> .... ========================================================================= /opt/opennms/etc/selenium/opennmsOrgTest.groovy file: package selenium; import java.util.regex.Pattern; import java.util.concurrent.TimeUnit; import org.junit.*; import static org.junit.Assert.*; import static org.hamcrest.CoreMatchers.*; import org.openqa.selenium.*; import org.openqa.selenium.firefox.FirefoxDriver; import org.openqa.selenium.support.ui.Select; public opennmsOrgTest( String url, int timeoutInSeconds) { baseUrl = url; timeout = timeoutInSeconds; } private String baseUrl = ""; private int timeout = 30; public class opennmsOrgTest { private WebDriver driver; private String baseUrl; private boolean acceptNextAlert = true; private StringBuffer verificationErrors = new StringBuffer(); @Before public void setUp() throws Exception { driver = new FirefoxDriver(); baseUrl = "http://www.opennms.org/"; driver.manage().timeouts().implicitlyWait( timeout, TimeUnit.SECONDS); } @Test public void testOpennmsOrg() throws Exception { driver.get(baseUrl + "/"); driver.findElement(By.linkText("About OpenNMS")).click(); // Warning: assertTextPresent may require manual changes assertTrue(driver.findElement(By.cssSelector("BODY")).getText().matches("^[\\s\\S]*OpenNMS is an award winning network management application platform[\\s\\S]*$")); } @After public void tearDown() throws Exception { driver.quit(); String verificationErrorString = verificationErrors.toString(); if (!"".equals(verificationErrorString)) { fail(verificationErrorString); } } private boolean isElementPresent(By by) { try { driver.findElement(by); return true; } catch (NoSuchElementException e) { return false; } } private boolean isAlertPresent() { try { driver.switchTo().alert(); return true; } catch (NoAlertPresentException e) { return false; } } private String closeAlertAndGetItsText() { try { Alert alert = driver.switchTo().alert(); String alertText = alert.getText(); if (acceptNextAlert) { alert.accept(); } else { alert.dismiss(); } return alertText; } finally { acceptNextAlert = true; } } } ====================================================================== ------------------------------------------------------------------------------ Mon Jan 20 21:59:36 UTC 2014 begin ulimit settings: core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 129742 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 20480 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 129742 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited end ulimit settings Executing command: /opt/opennms/bin/runjava -r -- -Djava.endorsed.dirs=/opt/opennms/lib/endorsed -Dopennms.home=/opt/opennms -Dcom.sun.management.jmxremote.port=18980 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Xmx512m -XX:+HeapDumpOnOutOfMemoryError -XX:MaxPermSize=256m -Djava.io.tmpdir=/opt/opennms/data/tmp -verbose:gc -jar /opt/opennms/lib/opennms_bootstrap.jar start [GC 16896K->3223K(62976K), 0.0098670 secs] [GC 20119K->3492K(79872K), 0.0080360 secs] [GC 37284K->5363K(79872K), 0.0091510 secs] [DEBUG] System property 'opennms.library.jicmp' set to '/usr/lib/libjicmp.so. Attempting to load jicmp library from this location. [INFO] Successfully loaded jicmp library. [DEBUG] System property 'opennms.library.jicmp6' set to '/usr/lib/libjicmp6.so. Attempting to load jicmp6 library from this location. [INFO] Successfully loaded jicmp6 library. [GC 39155K->6779K(113664K), 0.0097510 secs] [GC 74363K->9555K(113664K), 0.0113390 secs] [GC 77139K->13256K(183552K), 0.0134770 secs] [GC 147400K->16550K(184576K), 0.0211690 secs] [GC 150694K->22919K(203264K), 0.0411530 secs] [GC 173703K->25109K(204288K), 0.0271710 secs] [GC 175893K->29778K(205312K), 0.0341310 secs] [GC 178514K->30683K(205312K), 0.0230240 secs] [GC 179419K->31599K(205312K), 0.0100290 secs] [GC 180335K->34135K(196096K), 0.0146140 secs] An error occurred while attempting to start the "OpenNMS:Name=Eventd" service (class org.opennms.netmgt.eventd.jmx.Eventd). Shutting down and exiting. 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.12.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.12.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 thre w exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'init-pollerConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/junit/runner/Computer at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:839) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:852) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:821) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:316) at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:239) at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:245) at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:116) at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:190) at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:162) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:362) at java.lang.Thread.run(Thread.java:724) Caused by: 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.12.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.12.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 'init-pollerConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/junit/runner/Computer at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409) at org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:58) at org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:100) at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:94) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112) at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46) at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) ... 13 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.12.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.12.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 'init-pollerConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init m ethod failed; nested exception is java.lang.NoClassDefFoundError: org/junit/runner/Computer at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:630) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:148) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1002) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:906) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1079) at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397) ... 31 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/opt/opennms/lib/opennms-services-1.12.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 'init-pollerConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/junit/runner/Computer at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:288) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1002) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:906) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:484) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322) ... 44 more Caused by: 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 'init-pollerConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/junit/runner/Computer at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:108) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280) ... 53 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'init-pollerConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/junit/runner/Computer at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126) ... 55 more Caused by: java.lang.NoClassDefFoundError: org/junit/runner/Computer at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:190) at org.opennms.netmgt.config.PollerConfigManager.findServiceMonitorClass(PollerConfigManager.java:1060) at org.opennms.netmgt.config.PollerConfigManager.getServiceMonitorLocators(PollerConfigManager.java:1023) at org.opennms.netmgt.config.PollerConfigManager.initializeServiceMonitors(PollerConfigManager.java:977) at org.opennms.netmgt.config.PollerConfigManager.setUpInternalData(PollerConfigManager.java:120) at org.opennms.netmgt.config.PollerConfigManager.<init>(PollerConfigManager.java:101) at org.opennms.netmgt.config.PollerConfigFactory.<init>(PollerConfigFactory.java:90) at org.opennms.netmgt.config.PollerConfigFactory.init(PollerConfigFactory.java:126) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273) at org.springframework.beans.factory.config.MethodInvokingFactoryBean.doInvoke(MethodInvokingFactoryBean.java:162) at org.springframework.beans.factory.config.MethodInvokingFactoryBean.afterPropertiesSet(MethodInvokingFactoryBean.java:152) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1479) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1419) ... 71 more Caused by: java.lang.ClassNotFoundException: org.junit.runner.Computer at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:789) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 89 more

    The OpenNMS Issue Tracker | 3 years ago | Blaine Boswell
    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.12.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.12.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 thre w exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'init-pollerConfig-factory' defined in class path resource [META-INF/opennms/applicationContext-commonConfigs.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/junit/runner/Computer

    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. javax.management.RuntimeMBeanException

      Error calling queryNames for pattern: *:type=AggreMBean,* on VM: ias:j2eeType=JVMProxy,name=1,J2EEServerGroup=default_group,J2EEServer=OC4J_MKT,ASInstance=middle03.middle03

      at oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke()
    2. oracle.oc4j.admin
      DefaultModelMBeanImpl.invoke
      1. oracle.oc4j.admin.jmx.server.mbeans.model.DefaultModelMBeanImpl.invoke(DefaultModelMBeanImpl.java:709)
      1 frame
    3. Java RT
      DynamicMetaDataImpl.invoke
      1. com.sun.jmx.mbeanserver.DynamicMetaDataImpl.invoke(DynamicMetaDataImpl.java:213)
      1 frame