Protocol Handlers Cannot Be Installed
Posted: Wed Jan 31, 2024 10:35 pm
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
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.
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"
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.