Oxygen XML, JDL Security Manager
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 1
- Joined: Wed Nov 06, 2024 11:33 am
Oxygen XML, JDL Security Manager
Post by Guilleradden »
Hello,
Beginning with JDK 17, Java SecurityManager is deprecated (https://bugs.openjdk.org/browse/JDK-8264713).
This displays the warning messages described in other threads.
Running SecurityManager-related code no longer works out of the box with Java 18+.
When using these latest Java versions, OygenXML's "independent distribution" (without bundled JRE) breaks on startup.
UnsupportedOperationException is thrown.
As a workaround, the additional JVM parameter -Djava.security.manager=allow should be specified.
It may be included in the start scripts (for example, oxygenDeveloper.sh).
I'm not sure if that will fix the problem in the future, but it still works with Oxygen 27 and OpenJDK 21.
Regards
Beginning with JDK 17, Java SecurityManager is deprecated (https://bugs.openjdk.org/browse/JDK-8264713).
This displays the warning messages described in other threads.
Running SecurityManager-related code no longer works out of the box with Java 18+.
When using these latest Java versions, OygenXML's "independent distribution" (without bundled JRE) breaks on startup.
UnsupportedOperationException is thrown.
As a workaround, the additional JVM parameter -Djava.security.manager=allow should be specified.
It may be included in the start scripts (for example, oxygenDeveloper.sh).
I'm not sure if that will fix the problem in the future, but it still works with Oxygen 27 and OpenJDK 21.
Regards
-
- Posts: 9456
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Oxygen XML, JDL Security Manager
Hi,
In general all our automated and manual tests are done with Oxygen with a certain Java VM version. So ideally you should avoid using the Oxygen all platforms distribution and use instead an installation kit which comes bundled with Java 17. Officially we do not support Java versions of flavors which have not been thoroughly tested with Oxygen.
Indeed with Java > 17 Oxygen can run only when its security manager is disabled, we have an internal issue to have it work even without disabling the security manager in the startup script. The security manager in Oxygen adds a certain security layer for certain operations, for example it shows confirmation dialogs when attempting to open remote URLs in Oxygen, so we need to work to have this mechanism implemented with other means.
Regards,
Radu
In general all our automated and manual tests are done with Oxygen with a certain Java VM version. So ideally you should avoid using the Oxygen all platforms distribution and use instead an installation kit which comes bundled with Java 17. Officially we do not support Java versions of flavors which have not been thoroughly tested with Oxygen.
Indeed with Java > 17 Oxygen can run only when its security manager is disabled, we have an internal issue to have it work even without disabling the security manager in the startup script. The security manager in Oxygen adds a certain security layer for certain operations, for example it shows confirmation dialogs when attempting to open remote URLs in Oxygen, so we need to work to have this mechanism implemented with other means.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “DITA (Editing and Publishing DITA Content)”
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