Re: Unable to Start after Upgrade from 20 to 21
Deepak Singh <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <CA+nhtdinLWM0tKROadTnn1rfDSfXyphHnpJtHYFz42RL9XC9_A@mail.gmail.com> |
Hi
Commenting out didn't helped.
Then I fired the config tester command
i.e. /usr/share/opennms/bin/config-tester -av
it gave me the following error, and I am clueless about it, it seems that
in surveillance category one or more column is required which it unable to
find, this mess has happened because of the upgrade from 20 to 21
does any one have IDEA
Testing database-schema.xml ... OK (0.021s)
Testing datacollection-config.xml ... 21:20:47.216
[DataCollectionConfigParser-Thread-1] ERROR
org.opennms.netmgt.config.DataCollectionConfigParser - 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; The markup in the document following the root element must
be well-formed.]
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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; The markup in the document following the root element must
be well-formed.]
at
org.opennms.core.xml.MarshallingExceptionTranslator.translate(MarshallingExceptionTranslator.java:61)
~[org.opennms.core.xml-21.0.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:281)
~[org.opennms.core.xml-21.0.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:248)
~[org.opennms.core.xml-21.0.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:243)
~[org.opennms.core.xml-21.0.1.jar:?]
at
org.opennms.netmgt.config.DataCollectionConfigParser$2.run(DataCollectionConfigParser.java:192)
[opennms-config-21.0.1.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
Caused by: javax.xml.bind.UnmarshalException
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.handleXMLMarshalException(JAXBUnmarshaller.java:980)
~[org.eclipse.persistence.moxy-2.5.1.jar:?]
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:303)
~[org.eclipse.persistence.moxy-2.5.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:276)
~[org.opennms.core.xml-21.0.1.jar:?]
... 4 more
Caused by: org.eclipse.persistence.exceptions.XMLMarshalException:
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException; lineNumber: 155;
columnNumber: 2; The markup in the document following the root element must
be well-formed.
at
org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:114)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.convertSAXException(SAXUnmarshaller.java:999)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:496)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:695)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:655)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:301)
~[org.eclipse.persistence.moxy-2.5.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:276)
~[org.opennms.core.xml-21.0.1.jar:?]
... 4 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) ~[xercesImpl-2.9.1.jar:?]
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
~[?:1.8.0_144]
at
org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:221)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:492)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:695)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:655)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:301)
~[org.eclipse.persistence.moxy-2.5.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:276)
~[org.opennms.core.xml-21.0.1.jar:?]
... 4 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155; columnNumber: 2;
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(XMLFilterImpl.java:357)
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
21:20:47.293 [Main] INFO
org.opennms.netmgt.config.DataCollectionConfigParser -
parseExternalResources: external data collection groups are already parsed
21:20:47.305 [Main] INFO org.opennms.core.xml.AbstractJaxbConfigDao -
Loaded data-collection in 376 ms
OK (0.384s)
Testing destinationPaths.xml ... OK (0.023s)
Testing discovery-configuration.xml ... OK (0.042s)
Testing drools-northbounder-configuration.xml ... 21:20:47.395 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Config for Drools
Northbounder in 20 ms
OK (0.024s)
Testing eventconf.xml ... OK (2.573s)
Testing eventd-configuration.xml ... OK (0.016s)
Testing exclude-ueis.properties ... OK (0.001s)
Testing email-northbounder-configuration.xml ... 21:20:50.010 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Config for E-mail
Northbounder in 16 ms
OK (0.024s)
Testing groups.xml ... OK (0.028s)
Testing http-datacollection-config.xml ... OK (0.026s)
Testing jasper-reports.xml ... OK (0.02s)
Testing javamail-configuration.properties ... OK (0.002s)
Testing javamail-configuration.xml ... 21:20:50.137 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Javamail configuration
in 37 ms
OK (0.043s)
Testing jdbc-datacollection-config.xml ... 21:20:50.172 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded JDBC Data Collection
Configuration in 23 ms
OK (0.035s)
Testing jmx-config.xml ... 21:20:50.192 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Jmx Configuration in 17
ms
OK (0.021s)
Testing jmx-datacollection-config.xml ... OK (0.002s)
Testing ksc-performance-reports.xml ... OK (0.016s)
Testing microblog-configuration.xml ... 21:20:50.222 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Microblog Configuration
in 6 ms
OK (0.011s)
Testing notifd-configuration.xml ... OK (0.016s)
Testing notificationCommands.xml ... OK (0.02s)
Testing notifications.xml ... OK (0.026s)
Testing opennms-datasources.xml ... OK (0.015s)
Testing opennms-server.xml ... OK (0.001s)
Testing poll-outages.xml ... 21:20:50.315 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded poll outage
configuration in 10 ms
21:20:50.316 [Main] INFO org.opennms.core.xml.AbstractJaxbConfigDao -
Loaded poll outage configuration in 1 ms
OK (0.012s)
Testing poller-configuration.xml ... 21:20:50.443 [Main] INFO
org.opennms.netmgt.poller.monitors.JDBCMonitor - JDBCmonitor class loaded
21:20:50.444 [Main] INFO org.opennms.netmgt.poller.monitors.JDBCMonitor -
JDBCmonitor class loaded
21:20:50.445 [Main] INFO org.opennms.netmgt.poller.monitors.JDBCMonitor -
JDBCmonitor class loaded
OK (1.854s)
Testing provisiond-configuration.xml ... 21:20:52.190 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Provisiond
Configuration in 6 ms
OK (0.02s)
Testing reportd-configuration.xml ... 21:20:52.210 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Reportd Configuration
in 10 ms
OK (0.02s)
Testing response-adhoc-graph.properties ... OK (0.008s)
Testing response-graph.properties ... OK (0.004s)
Testing rrd-configuration.properties ... OK (0.004s)
Testing rtc-configuration.xml ... OK (0.006s)
Testing rws-configuration.xml ... OK (0.009s)
Testing scriptd-configuration.xml ... OK (0.021s)
Testing service-configuration.xml ... OK (0.015s)
Testing site-status-views.xml ... OK (0.01s)
Testing snmp-adhoc-graph.properties ... OK (0.001s)
Testing snmp-config.xml ... OK (0.015s)
Testing snmp-graph.properties ... OK (0.072s)
Testing snmptrap-northbounder-configuration.xml ... 21:20:52.419 [Main]
INFO org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Config for SNMP
Trap Northbounder in 33 ms
OK (0.039s)
Testing statsd-configuration.xml ... 21:20:52.442 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded statistics daemon
configuration in 16 ms
OK (0.023s)
Testing surveillance-views.xml ...
java.lang.reflect.InvocationTargetException
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.BeanCreationException: Error
creating bean with name 'surveillanceViewConfigDao' defined in class path
resource [META-INF/opennms/applicationContext-configTester.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; lineNumber: 5;
columnNumber: 22; 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; lineNumber: 5;
columnNumber: 22; 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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1058)
at
org.opennms.netmgt.config.tester.ConfigTester.testConfig(ConfigTester.java:70)
at
org.opennms.netmgt.config.tester.ConfigTester.testConfig(ConfigTester.java:154)
at
org.opennms.netmgt.config.tester.ConfigTester.main(ConfigTester.java:139)
... 6 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; lineNumber: 5;
columnNumber: 22; 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; lineNumber: 5;
columnNumber: 22; 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)
... 16 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; lineNumber: 5;
columnNumber: 22; 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)
... 22 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; lineNumber: 5;
columnNumber: 22; 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)
... 23 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 5; columnNumber: 22;
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(XMLFilterImpl.java:551)
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(XMLFilterImpl.java:357)
at
org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:221)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:492)
... 26 more
relay@relayserver:~$ sudo /etc/init.d/opennms start
Starting Open Network Management System: opennms
.
relay@relayserver:~$ sudo /etc/init.d/opennms status
Could not connect to the OpenNMS JVM (OpenNMS might not be running or could
be starting up or shutting down): Failed to retrieve RMIServer stub:
javax.naming.ServiceUnavailableException [Root exception is
java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested
exception is:
java.net.ConnectException: Connection refused (Connection refused)]
opennms is stopped
relay@relayserver:~$ sudo /usr/share/opennms/bin/config-tester -av
21:21:36.028 [Main] INFO
org.opennms.netmgt.config.tester.ConfigTesterFilterDao - Initializing
ConfigTesterFilterDao
21:21:36.135 [Main] INFO
org.springframework.context.support.ClassPathXmlApplicationContext -
Refreshing
org.springframework.context.support.ClassPathXmlApplicationContext@2dcc9229:
startup date [Thu Dec 21 21:21:36 IST 2017]; root of context hierarchy
21:21:36.182 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.core.soa-21.0.1.jar!/beanRefContext.xml]
21:21:36.379 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-ackd-21.0.1.jar!/beanRefContext.xml]
21:21:36.397 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-alarmd-21.0.1.jar!/beanRefContext.xml]
21:21:36.411 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-asterisk-21.0.1.jar!/beanRefContext.xml]
21:21:36.424 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-config-21.0.1.jar!/beanRefContext.xml]
21:21:36.437 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-config-tester-21.0.1.jar!/beanRefContext.xml]
21:21:36.449 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-correlator-21.0.1.jar!/beanRefContext.xml]
21:21:36.461 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-dao-21.0.1.jar!/beanRefContext.xml]
21:21:36.471 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-jetty-21.0.1.jar!/beanRefContext.xml]
21:21:36.485 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-provisiond-21.0.1.jar!/beanRefContext.xml]
21:21:36.495 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-reportd-21.0.1.jar!/beanRefContext.xml]
21:21:36.504 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-reporting-21.0.1.jar!/beanRefContext.xml]
21:21:36.512 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms-services-21.0.1.jar!/beanRefContext.xml]
21:21:36.524 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/opennms_system_report.jar!/beanRefContext.xml]
21:21:36.533 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.core.daemon-21.0.1.jar!/beanRefContext.xml]
21:21:36.541 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.bsm.daemon-21.0.1.jar!/beanRefContext.xml]
21:21:36.549 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.discovery-21.0.1.jar!/beanRefContext.xml]
21:21:36.557 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.events.daemon-21.0.1.jar!/beanRefContext.xml]
21:21:36.564 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.events.syslog-21.0.1.jar!/beanRefContext.xml]
21:21:36.571 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.events.traps-21.0.1.jar!/beanRefContext.xml]
21:21:36.579 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.poller.remote-21.0.1.jar!/beanRefContext.xml]
21:21:36.586 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.reporting.availability-21.0.1.jar!/beanRefContext.xml]
21:21:36.593 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.reporting.core-21.0.1.jar!/beanRefContext.xml]
21:21:36.600 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.reporting.jasper-reports-21.0.1.jar!/beanRefContext.xml]
21:21:36.607 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.reporting.repository-21.0.1.jar!/beanRefContext.xml]
21:21:36.614 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.telemetry.daemon-21.0.1.jar!/beanRefContext.xml]
21:21:36.630 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from URL
[jar:file:/usr/share/opennms/lib/org.opennms.features.ticketing.daemon-21.0.1.jar!/beanRefContext.xml]
21:21:36.742 [Main] INFO
org.springframework.context.support.ClassPathXmlApplicationContext -
Refreshing
org.springframework.context.support.ClassPathXmlApplicationContext@6bd4b452:
startup date [Thu Dec 21 21:21:36 IST 2017]; root of context hierarchy
21:21:36.743 [Main] INFO
org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML
bean definitions from class path resource
[META-INF/opennms/applicationContext-configTester.xml]
Testing ackd-configuration.xml ... 21:21:37.624 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Ackd Configuration in
590 ms
OK (0.602s)
Testing actiond-configuration.xml ... OK (0.024s)
Testing ami-config.xml ... OK (0.039s)
Testing availability-reports.xml ... 21:21:37.742 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded OpenNMS Report
Configuration in 47 ms
OK (0.055s)
Testing bsf-northbounder-configuration.xml ... 21:21:37.780 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Config for BSF
Northbounder in 30 ms
OK (0.037s)
Testing categories.xml ... OK (0.059s)
Testing chart-configuration.xml ... OK (0.045s)
Testing collectd-configuration.xml ... OK (0.102s)
Testing database-reports.xml ... 21:21:38.002 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Database Report
Configuration in 7 ms
OK (0.013s)
Testing database-schema.xml ... OK (0.034s)
Testing datacollection-config.xml ... 21:21:38.327
[DataCollectionConfigParser-Thread-1] ERROR
org.opennms.netmgt.config.DataCollectionConfigParser - 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; The markup in the document following the root element must
be well-formed.]
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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; The markup in the document following the root element must
be well-formed.]
at
org.opennms.core.xml.MarshallingExceptionTranslator.translate(MarshallingExceptionTranslator.java:61)
~[org.opennms.core.xml-21.0.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:281)
~[org.opennms.core.xml-21.0.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:248)
~[org.opennms.core.xml-21.0.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:243)
~[org.opennms.core.xml-21.0.1.jar:?]
at
org.opennms.netmgt.config.DataCollectionConfigParser$2.run(DataCollectionConfigParser.java:192)
[opennms-config-21.0.1.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
Caused by: javax.xml.bind.UnmarshalException
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.handleXMLMarshalException(JAXBUnmarshaller.java:980)
~[org.eclipse.persistence.moxy-2.5.1.jar:?]
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:303)
~[org.eclipse.persistence.moxy-2.5.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:276)
~[org.opennms.core.xml-21.0.1.jar:?]
... 4 more
Caused by: org.eclipse.persistence.exceptions.XMLMarshalException:
Exception Description: An error occurred unmarshalling the document
Internal Exception: org.xml.sax.SAXParseException; lineNumber: 155;
columnNumber: 2; The markup in the document following the root element must
be well-formed.
at
org.eclipse.persistence.exceptions.XMLMarshalException.unmarshalException(XMLMarshalException.java:114)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.convertSAXException(SAXUnmarshaller.java:999)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:496)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:695)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:655)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:301)
~[org.eclipse.persistence.moxy-2.5.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:276)
~[org.opennms.core.xml-21.0.1.jar:?]
... 4 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) ~[xercesImpl-2.9.1.jar:?]
at org.xml.sax.helpers.XMLFilterImpl.parse(XMLFilterImpl.java:357)
~[?:1.8.0_144]
at
org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:221)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:492)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:695)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.oxm.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:655)
~[org.eclipse.persistence.core-2.5.1.jar:?]
at
org.eclipse.persistence.jaxb.JAXBUnmarshaller.unmarshal(JAXBUnmarshaller.java:301)
~[org.eclipse.persistence.moxy-2.5.1.jar:?]
at org.opennms.core.xml.JaxbUtils.unmarshal(JaxbUtils.java:276)
~[org.opennms.core.xml-21.0.1.jar:?]
... 4 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155;
columnNumber: 2; 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; lineNumber: 155; columnNumber: 2;
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(XMLFilterImpl.java:357)
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
21:21:38.441 [Main] INFO
org.opennms.netmgt.config.DataCollectionConfigParser -
parseExternalResources: external data collection groups are already parsed
21:21:38.450 [Main] INFO org.opennms.core.xml.AbstractJaxbConfigDao -
Loaded data-collection in 401 ms
OK (0.414s)
Testing destinationPaths.xml ... OK (0.023s)
Testing discovery-configuration.xml ... OK (0.043s)
Testing drools-northbounder-configuration.xml ... 21:21:38.548 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Config for Drools
Northbounder in 26 ms
OK (0.031s)
Testing eventconf.xml ... OK (3.123s)
Testing eventd-configuration.xml ... OK (0.009s)
Testing exclude-ueis.properties ... OK (0.009s)
Testing email-northbounder-configuration.xml ... 21:21:41.702 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Config for E-mail
Northbounder in 9 ms
OK (0.013s)
Testing groups.xml ... OK (0.016s)
Testing http-datacollection-config.xml ... OK (0.03s)
Testing jasper-reports.xml ... OK (0.021s)
Testing javamail-configuration.properties ... OK (0.013s)
Testing javamail-configuration.xml ... 21:21:41.843 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Javamail configuration
in 48 ms
OK (0.062s)
Testing jdbc-datacollection-config.xml ... 21:21:41.884 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded JDBC Data Collection
Configuration in 30 ms
OK (0.037s)
Testing jmx-config.xml ... 21:21:41.902 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Jmx Configuration in 10
ms
OK (0.017s)
Testing jmx-datacollection-config.xml ... OK (0.003s)
Testing ksc-performance-reports.xml ... OK (0.017s)
Testing microblog-configuration.xml ... 21:21:41.933 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Microblog Configuration
in 6 ms
OK (0.012s)
Testing notifd-configuration.xml ... OK (0.028s)
Testing notificationCommands.xml ... OK (0.028s)
Testing notifications.xml ... OK (0.029s)
Testing opennms-datasources.xml ... OK (0.02s)
Testing opennms-server.xml ... OK (0.001s)
Testing poll-outages.xml ... 21:21:42.059 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded poll outage
configuration in 18 ms
21:21:42.060 [Main] INFO org.opennms.core.xml.AbstractJaxbConfigDao -
Loaded poll outage configuration in 1 ms
OK (0.02s)
Testing poller-configuration.xml ... 21:21:42.203 [Main] INFO
org.opennms.netmgt.poller.monitors.JDBCMonitor - JDBCmonitor class loaded
21:21:42.204 [Main] INFO org.opennms.netmgt.poller.monitors.JDBCMonitor -
JDBCmonitor class loaded
21:21:42.205 [Main] INFO org.opennms.netmgt.poller.monitors.JDBCMonitor -
JDBCmonitor class loaded
OK (1.924s)
Testing provisiond-configuration.xml ... 21:21:44.009 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Provisiond
Configuration in 18 ms
OK (0.025s)
Testing reportd-configuration.xml ... 21:21:44.033 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Reportd Configuration
in 16 ms
OK (0.023s)
Testing response-adhoc-graph.properties ... OK (0.011s)
Testing response-graph.properties ... OK (0.005s)
Testing rrd-configuration.properties ... OK (0.004s)
Testing rtc-configuration.xml ... OK (0.007s)
Testing rws-configuration.xml ... OK (0.009s)
Testing scriptd-configuration.xml ... OK (0.033s)
Testing service-configuration.xml ... OK (0.016s)
Testing site-status-views.xml ... OK (0.015s)
Testing snmp-adhoc-graph.properties ... OK (0.007s)
Testing snmp-config.xml ... OK (0.026s)
Testing snmp-graph.properties ... OK (0.158s)
Testing snmptrap-northbounder-configuration.xml ... 21:21:44.369 [Main]
INFO org.opennms.core.xml.AbstractJaxbConfigDao - Loaded Config for SNMP
Trap Northbounder in 32 ms
OK (0.043s)
Testing statsd-configuration.xml ... 21:21:44.400 [Main] INFO
org.opennms.core.xml.AbstractJaxbConfigDao - Loaded statistics daemon
configuration in 26 ms
OK (0.031s)
Testing surveillance-views.xml ...
java.lang.reflect.InvocationTargetException
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.BeanCreationException: Error
creating bean with name 'surveillanceViewConfigDao' defined in class path
resource [META-INF/opennms/applicationContext-configTester.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; lineNumber: 5;
columnNumber: 22; 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; lineNumber: 5;
columnNumber: 22; 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.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1058)
at
org.opennms.netmgt.config.tester.ConfigTester.testConfig(ConfigTester.java:70)
at
org.opennms.netmgt.config.tester.ConfigTester.testConfig(ConfigTester.java:154)
at
org.opennms.netmgt.config.tester.ConfigTester.main(ConfigTester.java:139)
... 6 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; lineNumber: 5;
columnNumber: 22; 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; lineNumber: 5;
columnNumber: 22; 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)
... 16 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; lineNumber: 5;
columnNumber: 22; 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)
... 22 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; lineNumber: 5;
columnNumber: 22; 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)
... 23 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 5; columnNumber: 22;
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(XMLFilterImpl.java:551)
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(XMLFilterImpl.java:357)
at
org.eclipse.persistence.internal.oxm.record.XMLReader.parse(XMLReader.java:221)
at
org.eclipse.persistence.internal.oxm.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:492)
... 26 more
On Sat, Dec 16, 2017 at 3:19 PM, onmstester onmstester <[email protected]>
wrote:
> Comment all includes for /usr/share/opennms/etc/datacollection/mysql.xml
> in /usr/share/opennms/etc/datacollection-config.xml and restart opennms,
> see if it could be started.
> Seems like something is wrong with mysql.xml, there was some kind of xml
> validator jar file in opennms to find out what's wrong with the xml file
>
> Sent using Zoho Mail <https://www.zoho.com/mail/>
>
>
> ---- On Sat, 16 Dec 2017 13:02:57 +0330 *Deepak Singh
> <[email protected] <[email protected]>>* wrote ----
>
> 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
>
>
>
>
> ------------------------------------------------------------
> ------------------
> 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
>
------------------------------------------------------------------------------
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