[CONTROLLER-1044] SAXParser warnings in karaf console Created: 25/Nov/14  Updated: 18/May/15  Resolved: 18/May/15

Status: Resolved
Project: controller
Component/s: restconf
Affects Version/s: Helium
Fix Version/s: None

Type: Bug
Reporter: Michal Rehak Assignee: Michal Rehak
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 2433

 Description   

On karaf distribution with netconf-connector-ssh (feature:install odl-netconf-connector-ssh) following warnings get dumped into karaf console:

Warning: org.apache.xerces.parsers.SAXParser: Feature 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning: org.apache.xerces.parsers.SAXParser: Property 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning: org.apache.xerces.parsers.SAXParser: Property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not recognized.

upon sending this restconf request:

GET http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount

and

POST http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/controller-config/yang-ext:mount/config:modules
with payload like:

<module xmlns="urn:opendaylight:params:xml:ns:yang:controller:config">
<type xmlns:prefix="urn:opendaylight:params:xml:ns:yang:openflow:common:config:impl">prefix:openflow-provider-impl</type>
<name>openflow-provider-impl</name>
<role xmlns="urn:opendaylight:params:xml:ns:yang:openflow:common:config:impl">BECOMEMASTER</role>
</module>

(change where this field in configuration is added: https://git.opendaylight.org/gerrit/#/c/12644/)

Despite of this it works and property change gets propagated to module.



 Comments   
Comment by Ladislav Borak [ 26/Nov/14 ]

The second warning is known issue in jdk7 and will be fixed in jdk8.

http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8016153

Comment by Vaclav Demcak [ 18/May/15 ]

I can not reproduce described behavior. Feature odl-netconf-connector-ssh is not available. Please could you retest your target functionality with actual implementation and if you see again some similar problem, create new bug please.

Generated at Wed Feb 07 19:54:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.