It's all about the answers!

Ask a question

schema_reference: Failed to read schema document 'LoadRule.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property.


akshay p (15116) | asked May 03 '19, 1:25 a.m.
edited Aug 16 '19, 7:07 a.m. by Ralph Schoon (63.1k33646)

Hi,

Currently we are facing an issue in our  tool, when we upgrade to the IBM RTC jars version: 6.0.5, we get the this error :

“Caused by: org.xml.sax.SAXParseException; lineNumber: 3; columnNumber: 107; schema_reference: Failed to read schema document 'LoadRule.xsd', because 'file' access is not allowed due to restriction set by the accessExternalSchema property.”

Due to which   ..\com.ibm.team.filesystem.client_3.2.1000.v20171026_0239\schema\LoadRule.xsd     file access is not allowed


Work around tried so far :

   1. Create a file named jaxp.properties (if it doesn't exist) under /path/to/jdk1.8.0/jre/lib and then write this line in   it:
    javax.xml.accessExternalSchema = all
    2.Provide the above property in the run configuration of tool.

    
So please let us know :

   1. If this is a bug and how the extra piece of code/ the restrictive property can be removed.
    2.Or how to provide access to the file  ..\com.ibm.team.filesystem.client_3.2.1000.v20171026_0239\schema\LoadRule.xsd available by placing it in some other location or any other way the code can still access, it if this is not  a bug.


One answer



permanent link
David Lafreniere (4.8k7) | answered May 09 '19, 12:47 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

Your answer


Register or 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.