Error parsing load rule: schema_reference: Failed to read schema document 'LoadRule.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property.
I am getting below error while using IBM API's in my tool. please help me in resolving this issue
com.ibm.team.filesystem.client.FileSystemException: Error parsing load rule: schema_reference: Failed to read schema document 'LoadRule.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property.
at com.ibm.team.filesystem.client.internal.load.LoadRuleFactory.privateGetLoadRule(LoadRuleFactory.java:194) at com.ibm.team.filesystem.client.internal.load.LoadRuleFactory.getLoadRule(LoadRuleFactory.java:129) at com.ibm.team.filesystem.client.internal.load.LoadRuleFactory.getLoadRule(LoadRuleFactory.java:125) |
2 answers
See the details in:
You can avoid this by adding the property 'javax.xml.accessExternalSchema = all' in a file called 'jaxp.properties' in the jre 'lib' folder.
Also, just to double check, which version of RTC are you using?
Comments
GURVINDER SOKHI
commented Sep 11 '19, 6:19 a.m.
Hi David I get the same error when I am trying to run a build via RTC build engine. Error below. I tried your solution but the same error persists. Any idea how to fix it?
2019-09-11 11:08:27 [Jazz build engine] Fetching files to fetch destination "B:\RTC-BuildSystem-Toolkit-Win-6.0.2\jazz\buildsystem\buildengine\eclipse\ALM_RTC_Coaching.TeamA.ProductOne.DEV" ... com.ibm.team.filesystem.client.FileSystemException: Error parsing load rule: schema_reference: Failed to read schema document 'LoadRule.xsd', because 'bundleresource' access is not allowed due to restriction set by the accessExternalSchema property. at com.ibm.team.filesystem.client.internal.load.LoadRuleFactory.privateGetLoadRule(LoadRuleFactory.java:187)
It might be related to a similar issue:
It looks like this should be fixed in:
RTC 7.0
RTC 6.0.6.1 iFix003
RTC 6.0.6 iFix010
RTC 6.05 iFix015
If the problem persists, please open a ticket with support.
|
I couldn't update the client because of the server. So I worked around it by adding this to eclipse.ini
-Djavax.xml.accessExternalSchema=all
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.