Why do I obtain a Java error when I try to configure the Reuters Data Service to work with the Datafeed Toolbox 3.0 (R2007b)?
1 view (last 30 days)
Show older comments
MathWorks Support Team
on 27 Jun 2009
Edited: MathWorks Support Team
on 19 Apr 2023
I obtain a Java error when I try to configure the Reuters to work with the Datafeed Toolbox 3.0 (R2007b).
These errors occur when you attempt to use the Reuters Configuration Editor to configure connections on a machine on which an XML Parser is not installed.
ERROR: java com.reuters.rfa.tools.config.editor.ConfigEditor
org.xml.sax.SAXException: System property
org.xml.sax.driver not specified at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source)
at com.reuters.rfa.tools.config.editor.rfaConfigRuleDB.rfaConfigRuleDB.java:56)
at com.reuters.rfa.tools.config.editor.ConfigEditor.init(ConfigEditor.java:86)
at (com.reuters.rfa.tools.config.editor.ConfigEditor.(ConfigEditor.java:61)
at com.reuters.rfa.tools.config.editor.ConfigEditor.main(ConfigEditor.java:1303)
I am following the procedure described in the documentation titled: "About Data Servers and Data Service Providers".
Accepted Answer
MathWorks Support Team
on 26 Mar 2023
Edited: MathWorks Support Team
on 19 Apr 2023
To address this issue, download an XML parser file and then include a path to this file in your CLASSPATH environment variable.
To set your CLASSPATH environment variable to include the XML parser file C:\xerces.jar (downloaded from
), execute the following at the Windows Command prompt:
set CLASSPATH=%CLASSPATH%;matlabroot\toolbox\datafeed\datafeed\config_editor.jar;C:\xerces.jar
where 'matlabroot' is the MATLAB installation directory found by executing MATLABROOT at the MATLAB command prompt.
Then run the Configuration Editor as follows:
java -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser com.reuters.rfa.tools.config.editor.ConfigEditor
0 Comments
More Answers (0)
See Also
Categories
Find more on Downloads in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!