Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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)

0 votes



2 answers

Permanent link
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?





0 votes

Comments

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.


Permanent link

 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

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 1,700

Question asked: Apr 22 '19, 8:27 a.m.

Question was seen: 4,340 times

Last updated: Aug 05 '20, 1:16 p.m.

Confirmation Cancel Confirm