Re: Three Headed Monster

John Hala <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <66F0DF540E13A7409EC92937FBE01C870222C4@VUEX14MB3.vuad.villanova.edu>
I don't have the opennms-plugin-protocol-xml jar file anywhere.

bash-4.1$ yum list installed | grep opennms
iplike.i386                      2.0.2-1.el6              @opennms-stable-rhel6 
jicmp.i386                       1.2.1-1                  @opennms-stable-rhel6 
jicmp6.i386                      1.0.1-1                  @opennms-stable-rhel6 
jrrd.i386                        1.0.5-1                  @opennms-stable-rhel6 
opennms.noarch                   1.10.1-1                 @opennms-stable-common
opennms-core.noarch                                             1.10.1-1                 @opennms-stable-common
opennms-plugin-protocol-radius.noarch                 1.10.1-1                 @opennms-stable-common
opennms-plugin-protocol-xml.noarch                     1.10.1-1                 @opennms-stable-common
opennms-plugin-provisioning-dns.noarch               1.10.1-1                 @opennms-stable-common
opennms-plugin-provisioning-link.noarch                1.10.1-1                 @opennms-stable-common
opennms-plugin-provisioning-rancid.noarch           1.10.1-1                 @opennms-stable-common
opennms-plugin-provisioning-snmp-asset.noarch  1.10.1-1                 @opennms-stable-common
opennms-plugin-ticketer-centric.noarch                  1.10.1-1                 @opennms-stable-common
opennms-plugins.noarch                                         1.10.1-1                 @opennms-stable-common
opennms-repo-stable.noarch                                  1.0-18                   installed             
opennms-webapp-jetty.noarch                                1.10.1-1                 @opennms-stable-common


Thanks,
John

______________________________________
From: John Hala
Sent: Monday, April 16, 2012 12:03 PM
To: [email protected]
Subject: RE: [opennms-install] Three Headed Monster

What jar is the org.opennms.protocols.xml.collector.XmlStorageStrategy class located in?

I've searched all of the jars and could not find a referenced to it.

Thanks,
John

________________________________________
From: John Hala
Sent: Sunday, April 15, 2012 10:33 PM
To: [email protected]
Subject: Re: [opennms-install] Three Headed Monster

I have opennms fully running on Kenny and Kyle pointing to Cartman, before making changes for the three headed monster.

After making the changes for the three headed monster, and making sure I have IP addresses in the configuration files, Kenny has opennms fully running, Jetty included.  But still receiving eventd errors on Kyle:

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) 31304
max locked memory       (kbytes, -l) 64
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) 1024
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 -Xmx256m -XX:+HeapDumpOnOutOfMemoryError  -XX:MaxPermSize=128m -verbose:gc -jar /opt/opennms/lib/opennms_bootstrap.jar  start
[GC 15808K->2905K(60288K), 0.0246770 secs]
[GC 18713K->3095K(76096K), 0.0465540 secs]
[GC 34711K->4831K(76096K), 0.0150580 secs]
[GC 36447K->6471K(107712K), 0.0138700 secs]
[GC 69703K->9530K(107712K), 0.0183330 secs]
[GC 72762K->12880K(121728K), 0.0177480 secs]
[GC 86672K->14095K(121792K), 0.0275350 secs]
[GC 87887K->18599K(117440K), 0.0313230 secs]
[GC 86759K->20613K(118272K), 0.0213220 secs]
[GC 88773K->20307K(119040K), 0.0242470 secs]
[GC 87123K->24933K(113920K), 0.0287740 secs]
[GC 91749K->22064K(118336K), 0.0101590 secs]
[GC 88688K->22589K(118528K), 0.0077630 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.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 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:791)
        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:601)
        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:346)
        at java.lang.Thread.run(Thread.java:722)
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.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.springframe
 work.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(SingletonBeanFactoryLocator.java:409)
        at org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:51)
        at org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:93)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:97)
        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:601)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:111)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:45)
        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)
        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:250)
        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.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!/beanRefCon
 text.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.sprin
 gframework.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...................


Thanks,
John

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-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.