"OpenNMS:Name=Eventd" Error

charbel bassil <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
hello,
while trying to run opennms.bat i got the following error:


[INFO] Successfully loaded jicmp library.
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: RuntimeException thrown in
operation init
        at com.sun.jmx.mbeanserver.StandardMetaDataImpl.wrapRuntimeException(StandardMetaDataImpl.java:994)
        at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:430)
        at com.sun.jmx.mbeanserver.MetaDataImpl.invoke(MetaDataImpl.java:220)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.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:266)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:137)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:202)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:352)
        at java.lang.Thread.run(Thread.java:595)
Caused by: org.springframework.beans.factory.access.BootstrapException:
Unable to return specified BeanFactory instance: factory key
[eventDaemonContext], fr
om 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:/C:/Program%20Files/OpenNMS/lib/opennms-services-1.8.10.jar!/beanRefContext.xml]:
Cannot resolve ref
erence to bean 'commonContext' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creatin
g bean with name 'commonContext' defined in URL
[jar:file:/C:/Program%20Files/OpenNMS/lib/opennms-services-1.8.10.jar!/beanRefContext.xml]:
Cannot resolve re
ference to bean 'daemonContext' while setting constructor argument;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'daemonContext' defined in URL
[jar:file:/C:/Program%20Files/OpenNMS/lib/opennms-services-1.8.10.jar!/beanRefContext.xml]:
Cannot resolve r
eference 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:/C:/Program%20Files/OpenNMS/lib/opennms-dao-1.8.10.jar!/beanRefContext.xml]:
Instantiation of bean fail
ed; nested exception is
org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class [org.springframework.context.support.ClassPath
XmlApplicationContext]: Constructor threw exception; nested exception
is java.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver
        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(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.jmx.mbeanserver.StandardMetaDataImpl.invoke(StandardMetaDataImpl.java:414)
        ... 15 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'eventDaemonContext' defined in URL
[jar:file:/C:/Program%2
0Files/OpenNMS/lib/opennms-services-1.8.10.jar!/beanRefContext.xml]:
Cannot resolve reference to bean 'commonContext' while setting
constructor argument; nes
ted exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'commonContext' defined in URL
[jar:file:/C:/Program%
20Files/OpenNMS/lib/opennms-services-1.8.10.jar!/beanRefContext.xml]:
Cannot resolve reference to bean 'daemonContext' while setting
constructor argument; ne
sted exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daemonContext' defined in URL
[jar:file:/C:/Program
%20Files/OpenNMS/lib/opennms-services-1.8.10.jar!/beanRefContext.xml]:
Cannot resolve reference to bean 'daoContext' while setting
constructor argument; nest
ed exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daoContext' defined in URL
[jar:file:/C:/Program%20Fi
les/OpenNMS/lib/opennms-dao-1.8.10.jar!/beanRefContext.xml]:
Instantiation of bean failed; nested exception is
org.springframework.beans.BeanInstantiationExc
eption: Could not instantiate bean class
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception
is java.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver
        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:617)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:144)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
        at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1049)
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
        ... 23 more
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'commonContext' defined in URL
[jar:file:/C:/Program%20File
s/OpenNMS/lib/opennms-services-1.8.10.jar!/beanRefContext.xml]: Cannot
resolve reference to bean 'daemonContext' while setting constructor
argument; nested e
xception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'daemonContext' defined in URL
[jar:file:/C:/Program%20Fil
es/OpenNMS/lib/opennms-services-1.8.10.jar!/beanRefContext.xml]:
Cannot resolve reference to bean 'daoContext' while setting
constructor argument; nested exc
eption is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'daoContext' defined in URL
[jar:file:/C:/Program%20Files/Op
enNMS/lib/opennms-dao-1.8.10.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 jav
a.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver
        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:617)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:144)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(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 creating bean with name 'daemonContext' defined in URL
[jar:file:/C:/Program%20File
s/OpenNMS/lib/opennms-services-1.8.10.jar!/beanRefContext.xml]: Cannot
resolve reference to bean 'daoContext' while setting constructor
argument; nested exce
ption is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'daoContext' defined in URL
[jar:file:/C:/Program%20Files/Ope
nNMS/lib/opennms-dao-1.8.10.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 java
.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver
        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:617)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:144)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(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 creating bean with name 'daoContext' defined in URL
[jar:file:/C:/Program%20Files/O
penNMS/lib/opennms-dao-1.8.10.jar!/beanRefContext.xml]: Instantiation
of bean failed; nested exception is
org.springframework.beans.BeanInstantiationExceptio
n: Could not instantiate bean class
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is ja
va.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:285)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(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 instantiate bean class
[org.springframework.context.support.ClassPathXmlApplicatio
nContext]: Constructor threw exception; nested exception is
java.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:277)
        ... 69 more
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/SchemaOutputResolver
        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.AutowiredAnnotationBeanPostProcessor.determineCandidateConstructors(AutowiredAnnotationBeanPostProces
sor.java:228)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.determineConstructorsFromBeanPostProcessors(AbstractAutowireCapableBe
anFactory.java:920)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:893)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(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.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)
        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:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
        ... 71 more


PostgreSQL 8.4 is running and configured (followed the instructions in
the opennms installation guide)


what might the problem be, could anyone help me please !
Thank you,

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.