An error occurred while attempting to start the "OpenNMS:Name=Eventd" service
Charles Hughes <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <[email protected]> |
I just installed OpenNMS and I am getting the following error when I attempt to start it. I appreciate any ideas or suggestions. THANKS! c:\Program Files (x86)\OpenNMS\bin>.\opennms.bat start c:\Program Files (x86)\OpenNMS\bin>"C:\Program Files (x86)\Java\jdk1.5.0_22\bin\ java" -Xmx256m -XX:MaxPermSize=128m -Dopennms.home="C:/Program Files (x86)/OpenN MS" -jar "C:/Program Files (x86)/OpenNMS/lib/opennms_bootstrap.jar" start [DEBUG] System property 'opennms.library.jicmp' set to 'C:\Program Files\jicmp-1 .0.9\win32\jicmp.dll. Attempting to load jicmp library from this location. [INFO] Successfully loaded jicmp library. An error occurred while attempting to start the "OpenNMS:Name=Eventd" service (c lass org.opennms.netmgt.eventd.jmx.Eventd). Shutting down and exiting. javax.management.RuntimeMBeanException: RuntimeException thrown in operation ini t at com.sun.jmx.mbeanserver.StandardMetaDataImpl.wrapRuntimeException(Sta ndardMetaDataImpl.java:994) at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataI mpl.java:430) at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM BeanServerInterceptor.java:815) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:784 ) at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:338) at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:261) at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:268) at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:136) at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:211) at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:183) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:353) at java.lang.Thread.run(Thread.java:595) Caused by: org.springframework.beans.factory.access.BootstrapException: Unable t o return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is or g.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/C:/Program%20Files%20(x86)/O penNMS/lib/opennms-services-1.8.5.jar!/beanRefContext.xml]: Cannot resolve refer ence to bean 'commonContext' while setting constructor argument; nested exceptio n is org.springframework.beans.factory.BeanCreationException: Error creating bea n with name 'commonContext' defined in URL [jar:file:/C:/Program%20Files%20(x86) /OpenNMS/lib/opennms-services-1.8.5.jar!/beanRefContext.xml]: Cannot resolve ref erence to bean 'daemonContext' while setting constructor argument; nested except ion is org.springframework.beans.factory.BeanCreationException: Error creating b ean with name 'daemonContext' defined in URL [jar:file:/C:/Program%20Files%20(x8 6)/OpenNMS/lib/opennms-services-1.8.5.jar!/beanRefContext.xml]: Cannot resolve r eference to bean 'daoContext' while setting constructor argument; nested excepti on is org.springframework.beans.factory.BeanCreationException: Error creating be an with name 'daoContext' defined in URL [jar:file:/C:/Program%20Files%20(x86)/O penNMS/lib/opennms-dao-1.8.5.jar!/beanRefContext.xml]: Instantiation of bean fai led; nested exception is org.springframework.beans.BeanInstantiationException: C ould not instantiate bean class [org.springframework.context.support.ClassPathXm lApplicationContext]: Constructor threw exception; nested exception is java.lang .NoClassDefFoundError: javax/xml/bind/JAXBException at org.springframework.beans.factory.access.SingletonBeanFactoryLocator. useBeanFactory(SingletonBeanFactoryLocator.java:409) at org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:59) at org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:101) at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init( AbstractSpringContextJmxServiceDaemon.java:109) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataI mpl.java:414) ... 15 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creati ng bean with name 'eventDaemonContext' defined in URL [jar:file:/C:/Program%20Fi les%20(x86)/OpenNMS/lib/opennms-services-1.8.5.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'commonContext' while setting constructor argument; ne sted exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/C:/Program%20 Files%20(x86)/OpenNMS/lib/opennms-services-1.8.5.jar!/beanRefContext.xml]: Canno t resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Err or creating bean with name 'daemonContext' defined in URL [jar:file:/C:/Program% 20Files%20(x86)/OpenNMS/lib/opennms-services-1.8.5.jar!/beanRefContext.xml]: Can not resolve reference to bean 'daoContext' while setting constructor argument; n ested exception is org.springframework.beans.factory.BeanCreationException: Erro r creating bean with name 'daoContext' defined in URL [jar:file:/C:/Program%20Fi les%20(x86)/OpenNMS/lib/opennms-dao-1.8.5.jar!/beanRefContext.xml]: Instantiatio n of bean failed; nested exception is org.springframework.beans.BeanInstantiatio nException: Could not instantiate bean class [org.springframework.context.suppor t.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException 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.resolve ConstructorArguments(ConstructorResolver.java:617) at org.springframework.beans.factory.support.ConstructorResolver.autowir eConstructor(ConstructorResolver.java:144) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:194) at org.springframework.context.support.AbstractApplicationContext.getBea n(AbstractApplicationContext.java:1049) at org.springframework.beans.factory.access.SingletonBeanFactoryLocator. useBeanFactory(SingletonBeanFactoryLocator.java:397) ... 23 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creati ng bean with name 'commonContext' defined in URL [jar:file:/C:/Program%20Files%2 0(x86)/OpenNMS/lib/opennms-services-1.8.5.jar!/beanRefContext.xml]: Cannot resol ve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error crea ting bean with name 'daemonContext' defined in URL [jar:file:/C:/Program%20Files %20(x86)/OpenNMS/lib/opennms-services-1.8.5.jar!/beanRefContext.xml]: Cannot res olve reference to bean 'daoContext' while setting constructor argument; nested e xception is org.springframework.beans.factory.BeanCreationException: Error creat ing bean with name 'daoContext' defined in URL [jar:file:/C:/Program%20Files%20( x86)/OpenNMS/lib/opennms-dao-1.8.5.jar!/beanRefContext.xml]: Instantiation of be an failed; nested exception is org.springframework.beans.BeanInstantiationExcept ion: Could not instantiate bean class [org.springframework.context.support.Class PathXmlApplicationContext]: Constructor threw exception; nested exception is jav a.lang.NoClassDefFoundError: javax/xml/bind/JAXBException 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.resolve ConstructorArguments(ConstructorResolver.java:617) at org.springframework.beans.factory.support.ConstructorResolver.autowir eConstructor(ConstructorResolver.java:144) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveReference(BeanDefinitionValueResolver.java:322) ... 36 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creati ng bean with name 'daemonContext' defined in URL [jar:file:/C:/Program%20Files%2 0(x86)/OpenNMS/lib/opennms-services-1.8.5.jar!/beanRefContext.xml]: Cannot resol ve reference to bean 'daoContext' while setting constructor argument; nested exc eption is org.springframework.beans.factory.BeanCreationException: Error creatin g bean with name 'daoContext' defined in URL [jar:file:/C:/Program%20Files%20(x8 6)/OpenNMS/lib/opennms-dao-1.8.5.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationExceptio n: Could not instantiate bean class [org.springframework.context.support.ClassPa thXmlApplicationContext]: Constructor threw exception; nested exception is java. lang.NoClassDefFoundError: javax/xml/bind/JAXBException 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.resolve ConstructorArguments(ConstructorResolver.java:617) at org.springframework.beans.factory.support.ConstructorResolver.autowir eConstructor(ConstructorResolver.java:144) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveReference(BeanDefinitionValueResolver.java:322) ... 48 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creati ng bean with name 'daoContext' defined in URL [jar:file:/C:/Program%20Files%20(x 86)/OpenNMS/lib/opennms-dao-1.8.5.jar!/beanRefContext.xml]: Instantiation of bea n failed; nested exception is org.springframework.beans.BeanInstantiationExcepti on: Could not instantiate bean class [org.springframework.context.support.ClassP athXmlApplicationContext]: Constructor threw exception; nested exception is java .lang.NoClassDefFoundError: javax/xml/bind/JAXBException at org.springframework.beans.factory.support.ConstructorResolver.autowir eConstructor(ConstructorResolver.java:285) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.BeanDefinitionValueResolver .resolveReference(BeanDefinitionValueResolver.java:322) ... 60 more Caused by: org.springframework.beans.BeanInstantiationException: Could not insta ntiate bean class [org.springframework.context.support.ClassPathXmlApplicationCo ntext]: Constructor threw exception; nested exception is java.lang.NoClassDefFou ndError: javax/xml/bind/JAXBException at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1 41) at org.springframework.beans.factory.support.SimpleInstantiationStrategy .instantiate(SimpleInstantiationStrategy.java:107) at org.springframework.beans.factory.support.ConstructorResolver.autowir eConstructor(ConstructorResolver.java:277) ... 69 more Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getDeclaredConstructors(Class.java:1808) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanP ostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProcessor .java:228) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBeanF actory.java:920) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:893) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb ject(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr y.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe an(AbstractBeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean (AbstractBeanFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory. preInstantiateSingletons(DefaultListableBeanFactory.java:563) at org.springframework.context.support.AbstractApplicationContext.finish BeanFactoryInitialization(AbstractApplicationContext.java:872) at org.springframework.context.support.AbstractApplicationContext.refres h(AbstractApplicationContext.java:423) at org.springframework.context.support.ClassPathXmlApplicationContext.<i nit>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<i nit>(ClassPathXmlApplicationContext.java:105) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:501) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1 26) ... 71 more c:\Program Files (x86)\OpenNMS\bin> ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-install mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-install