Unable to Start after Upgrade from 20 to 21
Deepak Singh <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <CA+nhtdjh9ezGoKitsOHCPkOKNeE6astGhxnNt1=xRvgUO5Yfzg@mail.gmail.com> |
Hi
I have recently upgraded my NMS from 20 to 21 but not able to start it.
The log says INFO: HV000001: Hibernate Validator 4.3.2.Final
An error occurred while attempting to start the "OpenNMS:Name=Eventd"
service (class org.opennms.netmgt.eventd.jmx.Eventd). Shutting down and
exiting.
Below is the full startup log, please suggest what is wrong with the system.
------------------------------------------------------------------------------
Sat Dec 16 14:54:53 IST 2017
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) 7820
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) 7820
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited
end ulimit settings
Executing command: /usr/share/opennms/bin/runjava -r --
-Djava.endorsed.dirs=/usr/share/opennms/lib/endorsed
-Dorg.apache.jasper.compiler.disablejsr199=true
-Dopennms.home=/usr/share/opennms -Xmx1024m
-XX:+HeapDumpOnOutOfMemoryError
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.login.config=opennms
-Dcom.sun.management.jmxremote.access.file=/usr/share/opennms/etc/jmxremote.access
-DisThreadContextMapInheritable=true -Dgroovy.use.classvalue=true
-XX:MaxMetaspaceSize=256m -Djava.io.tmpdir=/usr/share/opennms/data/tmp -jar
/usr/share/opennms/lib/opennms_bootstrap.jar start
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib/jni/libjicmp.so. Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib/jni/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/jni/libjicmp6.so. Attempting to load jicmp6 library from this
location.
[INFO] Successfully loaded jicmp6 library.
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib/jni/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/jni/libjicmp6.so. Attempting to load jicmp6 library from this
location.
[INFO] Successfully loaded jicmp6 library.
Exception in thread "DataCollectionConfigParser-Thread-1"
org.springframework.dao.DataAccessResourceFailureException: Can't parse XML
file /usr/share/opennms/etc/datacollection/mysql.xml; nested exception:
Failed to marshal/unmarshal XML file while unmarshalling an object
(DatacollectionGroup): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]; nested exception
is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]; nested exception
is org.opennms.core.xml.MarshallingResourceFailureException: Failed to
marshal/unmarshal XML file while unmarshalling an object
(DatacollectionGroup): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]; nested exception
is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]
at
org.opennms.netmgt.config.DataCollectionConfigParser.throwException(DataCollectionConfigParser.java:336)
at
org.opennms.netmgt.config.DataCollectionConfigParser.access$200(DataCollectionConfigParser.java:64)
at
org.opennms.netmgt.config.DataCollectionConfigParser$2.run(DataCollectionConfigParser.java:198)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.opennms.core.xml.MarshallingResourceFailureException: Failed
to marshal/unmarshal XML file while unmarshalling an object
(DatacollectionGroup): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]; nested exception
is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]
at
org.opennms.core.xml.MarshallingExceptionTranslator.translate(MarshallingExceptionTranslator.java:61)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:281)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:248)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:243)
at
org.opennms.netmgt.config.DataCollectionConfigParser$2.run(DataCollectionConfigParser.java:192)
... 1 more
Caused by: javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.handleXMLMarshalException(JAXBUnmarshaller.java:980)
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:303)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:276)
... 4 more
Caused by: Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.
at
org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:114)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.convertSAXException(SAXUnmarshaller.java:999)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:496)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:695)
at
org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:655)
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:301)
... 5 more
Caused by: org.xml.sax.SAXParseException: The markup in the document
following the root element must be well-formed.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at
org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:221)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:492)
... 8 more
Exception in thread "DataCollectionConfigParser-Thread-1"
org.springframework.dao.DataAccessResourceFailureException: Can't parse XML
file /usr/share/opennms/etc/datacollection/mysql.xml; nested exception:
Failed to marshal/unmarshal XML file while unmarshalling an object
(DatacollectionGroup): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]; nested exception
is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]; nested exception
is org.opennms.core.xml.MarshallingResourceFailureException: Failed to
marshal/unmarshal XML file while unmarshalling an object
(DatacollectionGroup): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]; nested exception
is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]
at
org.opennms.netmgt.config.DataCollectionConfigParser.throwException(DataCollectionConfigParser.java:336)
at
org.opennms.netmgt.config.DataCollectionConfigParser.access$200(DataCollectionConfigParser.java:64)
at
org.opennms.netmgt.config.DataCollectionConfigParser$2.run(DataCollectionConfigParser.java:198)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.opennms.core.xml.MarshallingResourceFailureException: Failed
to marshal/unmarshal XML file while unmarshalling an object
(DatacollectionGroup): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]; nested exception
is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]
at
org.opennms.core.xml.MarshallingExceptionTranslator.translate(MarshallingExceptionTranslator.java:61)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:281)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:248)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:243)
at
org.opennms.netmgt.config.DataCollectionConfigParser$2.run(DataCollectionConfigParser.java:192)
... 1 more
Caused by: javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.]
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.handleXMLMarshalException(JAXBUnmarshaller.java:980)
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:303)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:276)
... 4 more
Caused by: Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: The markup in the
document following the root element must be well-formed.
at
org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:114)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.convertSAXException(SAXUnmarshaller.java:999)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:496)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:695)
at
org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:655)
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:301)
... 5 more
Caused by: org.xml.sax.SAXParseException: The markup in the document
following the root element must be well-formed.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at
org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:221)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:492)
... 8 more
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib/jni/libjicmp.so. Attempting to load jicmp library from this
location.
[INFO] Successfully loaded jicmp library.
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib/jni/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/jni/libjicmp6.so. Attempting to load jicmp6 library from this
location.
[INFO] Successfully loaded jicmp6 library.
[DEBUG] System property 'opennms.library.jicmp' set to
'/usr/lib/jni/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/jni/libjicmp6.so. Attempting to load jicmp6 library from this
location.
[INFO] Successfully loaded jicmp6 library.
Dec 16, 2017 2:55:06 PM org.hibernate.validator.internal.util.Version
<clinit>
INFO: HV000001: Hibernate Validator 4.3.2.Final
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:/usr/share/opennms/lib/org.opennms.features.events.daemon-21.0.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:/usr/share/opennms/lib/opennms-dao-21.0.1.jar!/beanRefContext.xml]:
Bean instantiation via constructor failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'surveillanceViewConfigDao' defined in class path resource
[META-INF/opennms/applicationContext-dao.xml]: Invocation of init method
failed; nested exception is
org.opennms.core.xml.MarshallingResourceFailureException: Failed to
marshal/unmarshal XML file while unmarshalling an object
(SurveillanceViewConfiguration): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is
expected.]; nested exception is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.]
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:277)
at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:206)
at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:154)
at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:94)
at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:173)
at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:150)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:525)
at java.lang.Thread.run(Thread.java:748)
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:/usr/share/opennms/lib/org.opennms.features.events.daemon-21.0.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:/usr/share/opennms/lib/opennms-dao-21.0.1.jar!/beanRefContext.xml]:
Bean instantiation via constructor failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'surveillanceViewConfigDao' defined in class path resource
[META-INF/opennms/applicationContext-dao.xml]: Invocation of init method
failed; nested exception is
org.opennms.core.xml.MarshallingResourceFailureException: Failed to
marshal/unmarshal XML file while unmarshalling an object
(SurveillanceViewConfiguration): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is
expected.]; nested exception is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.]
at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:404)
at org.opennms.core.spring.BeanUtils.getBeanFactory(BeanUtils.java:80)
at org.opennms.core.spring.BeanUtils.getFactory(BeanUtils.java:132)
at
org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$1.run(AbstractSpringContextJmxServiceDaemon.java:103)
at org.opennms.core.logging.Logging.withPrefix(Logging.java:71)
at
org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:275)
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:/usr/share/opennms/lib/org.opennms.features.events.daemon-21.0.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:/usr/share/opennms/lib/opennms-dao-21.0.1.jar!/beanRefContext.xml]:
Bean instantiation via constructor failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'surveillanceViewConfigDao' defined in class path resource
[META-INF/opennms/applicationContext-dao.xml]: Invocation of init method
failed; nested exception is
org.opennms.core.xml.MarshallingResourceFailureException: Failed to
marshal/unmarshal XML file while unmarshalling an object
(SurveillanceViewConfiguration): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is
expected.]; nested exception is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.]
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at
org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1064)
at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:396)
... 34 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daoContext' defined in URL
[jar:file:/usr/share/opennms/lib/opennms-dao-21.0.1.jar!/beanRefContext.xml]:
Bean instantiation via constructor failed; nested exception is
org.springframework.beans.BeanInstantiationException: Failed to instantiate
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'surveillanceViewConfigDao' defined in class path resource
[META-INF/opennms/applicationContext-dao.xml]: Invocation of init method
failed; nested exception is
org.opennms.core.xml.MarshallingResourceFailureException: Failed to
marshal/unmarshal XML file while unmarshalling an object
(SurveillanceViewConfiguration): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is
expected.]; nested exception is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.]
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1148)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1050)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 47 more
Caused by: org.springframework.beans.BeanInstantiationException: Failed to
instantiate
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'surveillanceViewConfigDao' defined in class path resource
[META-INF/opennms/applicationContext-dao.xml]: Invocation of init method
failed; nested exception is
org.opennms.core.xml.MarshallingResourceFailureException: Failed to
marshal/unmarshal XML file while unmarshalling an object
(SurveillanceViewConfiguration): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is
expected.]; nested exception is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
... 56 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'surveillanceViewConfigDao' defined in class path
resource [META-INF/opennms/applicationContext-dao.xml]: Invocation of init
method failed; nested exception is
org.opennms.core.xml.MarshallingResourceFailureException: Failed to
marshal/unmarshal XML file while unmarshalling an object
(SurveillanceViewConfiguration): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is
expected.]; nested exception is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1583)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:778)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:843)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
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:62)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
... 58 more
Caused by: org.opennms.core.xml.MarshallingResourceFailureException: Failed
to marshal/unmarshal XML file while unmarshalling an object
(SurveillanceViewConfiguration): javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is
expected.]; nested exception is javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.]
at
org.opennms.core.xml.MarshallingExceptionTranslator.translate(MarshallingExceptionTranslator.java:61)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:281)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:248)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:243)
at
org.opennms.core.xml.AbstractJaxbConfigDao.loadConfig(AbstractJaxbConfigDao.java:92)
at
org.opennms.core.xml.AbstractJaxbConfigDao.afterPropertiesSet(AbstractJaxbConfigDao.java:108)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1642)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1579)
... 74 more
Caused by: javax.xml.bind.UnmarshalException
- with linked exception:
[Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.]
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.handleXMLMarshalException(JAXBUnmarshaller.java:980)
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:303)
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:276)
... 80 more
Caused by: Exception [EclipseLink-25004] (Eclipse Persistence Services -
2.5.1.v20130918-f2b9fc5):
org.eclipse.persistence.exceptions.XMLMarshalException
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.
at
org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:114)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.convertSAXException(SAXUnmarshaller.java:999)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:496)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:695)
at
org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:655)
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:301)
... 81 more
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'columns'. One of '{"
http://xmlns.opennms.org/xsd/config/surveillance-views":rows}' is expected.
at
org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
Source)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at
org.apache.xerces.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown
Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown
Source)
at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
at
org.apache.xerces.jaxp.validation.ValidatorHandlerImpl.startElement(Unknown
Source)
at
org.eclipse.persistence.internal.oxm.record.XMLReader$ValidatingContentHandler.startElement(XMLReader.java:431)
at org.xml.sax.helpers.XMLFilterImpl.startElement(Unknown Source)
at
org.opennms.core.xml.SimpleNamespaceFilter.startElement(SimpleNamespaceFilter.java:83)
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.xml.sax.helpers.XMLFilterImpl.parse(Unknown Source)
at
org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:221)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:492)
... 84 more
2017-12-16 14:55:08,498 ActiveMQ ShutdownHook WARN Unable to register Log4j
shutdown hook because JVM is shutting down. Using SimpleLogger
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-discuss mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss