java.net.URLPermission problem
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 1
- Joined: Thu Feb 09, 2017 3:31 pm
java.net.URLPermission problem
I'm having this issue with evaluation version Oxygen on a xsl:import-schema statement in a schematron file:
Scenario name: Schematron + SQF
Document type: Schematron
Engine name: ISO Schematron
Severity: fatal
Description: XTSE0220: ro.sync.net.protocol.http.abstraction.f: access denied ("java.net.URLPermission" "http://schemas.opengis.net/sweCommon/2. ... onents.xsd" "GET:")
Start location: 12:149
URL: http://www.w3.org/TR/xslt20/#err-XTSE0220
Added this to Oxygen XML Editor 18/jre/lib/security/java.policy
// allows anyone to listen on dynamic ports
permission java.net.SocketPermission "localhost:0", "listen";
permission java.net.SocketPermission "*", "connect,accept,listen";
rebooted the laptop, still does not work
Windows 7 Enterprise, SP 1, 32 bits
<oXygen/> XML Editor 18.1, build 2017013018
Any clue ?
Thanks
Scenario name: Schematron + SQF
Document type: Schematron
Engine name: ISO Schematron
Severity: fatal
Description: XTSE0220: ro.sync.net.protocol.http.abstraction.f: access denied ("java.net.URLPermission" "http://schemas.opengis.net/sweCommon/2. ... onents.xsd" "GET:")
Start location: 12:149
URL: http://www.w3.org/TR/xslt20/#err-XTSE0220
Added this to Oxygen XML Editor 18/jre/lib/security/java.policy
// allows anyone to listen on dynamic ports
permission java.net.SocketPermission "localhost:0", "listen";
permission java.net.SocketPermission "*", "connect,accept,listen";
rebooted the laptop, still does not work
Windows 7 Enterprise, SP 1, 32 bits
<oXygen/> XML Editor 18.1, build 2017013018
Any clue ?
Thanks
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: java.net.URLPermission problem
Hi,
Oxygen has a security manager which sometimes tries to block outbound HTTP connections. Usually our users are notified each time Oxygen blocks a connection and they have the possibility to add the trusted host in the Preferences->Network Connection Settings / Trusted Hosts page. Somehow in your case adding the host as a trusted host does not seem to work.
I reproduced the problem on our side and I added an internal issue to try and fix this.
The only workarounds I have right now would be to either download the XML Schemas locally and refer to them either directly or via an XML catalog which resolves them locally or you can drop us an email (support@oxygenxml.com) and I could give you some steps to inhibit the entire security in your Oxygen application.
Regards,
Radu
Oxygen has a security manager which sometimes tries to block outbound HTTP connections. Usually our users are notified each time Oxygen blocks a connection and they have the possibility to add the trusted host in the Preferences->Network Connection Settings / Trusted Hosts page. Somehow in your case adding the host as a trusted host does not seem to work.
I reproduced the problem on our side and I added an internal issue to try and fix this.
The only workarounds I have right now would be to either download the XML Schemas locally and refer to them either directly or via an XML catalog which resolves them locally or you can drop us an email (support@oxygenxml.com) and I could give you some steps to inhibit the entire security in your Oxygen application.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: java.net.URLPermission problem
Hi,
Just to update this thread, with Oxygen 19 adding the host to the lit of trusted hosts should be enough for the Schematron to be properly applied.
Regards,
Radu
Just to update this thread, with Oxygen 19 adding the host to the lit of trusted hosts should be enough for the Schematron to be properly applied.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service