Upgrade V20 to 21 -> surveillanceview.xml changed ?
"Norbert Steinhoff" <[email protected]>
| Newsgroups | gmane.network.opennms.general |
|---|---|
| Message-ID | <trinity-3fdbf477-f113-45e6-80b2-09c7a80a8c05-1511181995117@3c-app-gmx-bs22> |
Hi all,
i just upgraded my test environment to V21.0.1 and run into a xml parsing error.
output.log
[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
Cause -> the old surveillance-views.xml looks like
<surveillance-view-configuration xmlns="http://xmlns.opennms.org/xsd/config/surveillance-views" default-view="default">
<view>
<columns>
...
</columns>
<rows>
...
</rows>
<view>
</surveillance-view-configuration>
columns first
After changing it to rows first
<surveillance-view-configuration xmlns="http://xmlns.opennms.org/xsd/config/surveillance-views" default-view="default">
<view>
<rows>
...
</rows>
<columns>
...
</columns>
<view>
</surveillance-view-configuration>
the problem went away.
Is this expected ?
Rdgs Norbert
------------------------------------------------------------------------------
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