Protocol Handlers Cannot Be Installed

Having trouble installing Oxygen? Got a bug to report? Post it all here.
akshatTR
Posts: 7
Joined: Mon Dec 12, 2022 11:19 pm

Protocol Handlers Cannot Be Installed

Post by akshatTR »

Hello, we are getting Protocol Handlers Cannot Be Installed in our aws ECS instance. We already checked this URL for solution - https://www.oxygenxml.com/doc/versions/ ... dlers.html.

We tried to set these (--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED) params at numerous places but none of them seem to work. Options we have tried as of now :

1) when setting CATALINA_OPTS in setenv.sh

Code: Select all

export VMOPTIONS="`cat /usr/local/oxygen-xml-web-author/oXygenXmlWebAuthor.vmoptions | tr '\r\n' '  '`"
export CATALINA_OPTS="$CATALINA_OPTS -Doxygen.data.dir=/usr/local/oxygen-xml-web-author/tomcat/work/Catalina/localhost/oxygen-xml-web-author -Dadd-opens=java.base/java.lang=ALL-UNNAMED -Dadd-opens=java.base/java.net=ALL-UNNAMED $VMOPTIONS"
2) inside dockerfile setting up JDK_JAVA_OPTS env variable.

3) Gradle file.

Nothing seem to be working. Can you please guide us to where and how should we be adding these params when we are using AWS Docker setup to deploy Oxygen.
cosminef
Site Admin
Posts: 84
Joined: Wed Aug 30, 2023 2:33 pm

Re: Protocol Handlers Cannot Be Installed

Post by cosminef »

Hello,

In the code snippet presented below, at point 1, instead of

Code: Select all

-Dadd-opens=java.base/java.lang=ALL-UNNAMED -Dadd-opens=java.base/java.net=ALL-UNNAMED $VMOPTIONS
, replace

Code: Select all

-Dadd
with

Code: Select all

--add
If difficulties arise, do not hesitate to notify us.

Best,
Cosmin
Cosmin Eftenie
www.oxygenxml.com
Post Reply