Upgrade Tools issue: java.io.IOException: Server returned HTTP response code: 403 for URL: http://oss.oetiker.ch/rrdtool/rrdtool.dtd

Description

When dumping a RRD file, the generated XML contains the following header:

The Upgrade Tools uses the class RrdParseUtils from opennms-rrd-model to generate the object representation of a RRD Dump XML. This in turn uses JAXB (through JaxbUtils) to parse the XML.

For some reason, JAXB is trying to retrieve the DTD because the DOCTYPE entry exists, and this is causing problems on those situations on which the OpenNMS machine cannot reach the Internet.

The idea is to pre-process the XML to remove those headers, or use a different parser on which we can turn off validations.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Alejandro Galue December 13, 2013 at 10:38 AM

Fixed on revision 8d50eb451c3b9327a7a91e4fd4962323cbe56d24 for 1.12

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created December 12, 2013 at 5:18 PM
Updated January 27, 2017 at 4:20 PM
Resolved December 13, 2013 at 10:38 AM