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 (153) | asked May 03, 1:25 a.m.
edited Aug 16, 7:07 a.m. by Ralph Schoon (55.3k23642)

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.2k7) | answered May 09, 12:47 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

Your answer


Register or to post your answer.