Skip to content

Commit

Permalink
add windows options
Browse files Browse the repository at this point in the history
  • Loading branch information
spbolton committed Jun 3, 2024
1 parent 7694121 commit f4c1c76
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions dotCMS/src/main/resources/container/tomcat9/bin/setenv.bat
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
set "CATALINA_OPTS=%CATALINA_OPTS% -Dfile.encoding=UTF8"
set "CATALINA_OPTS=%CATALINA_OPTS% --illegal-access=deny"
set "CATALINA_OPTS=%CATALINA_OPTS% --add-opens=java.base/java.lang=ALL-UNNAMED"
set "CATALINA_OPTS=%CATALINA_OPTS% --add-opens=java.base/java.io=ALL-UNNAMED"
set "CATALINA_OPTS=%CATALINA_OPTS% --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED"
set "CATALINA_OPTS=%CATALINA_OPTS% -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"
set "CATALINA_OPTS=%CATALINA_OPTS% -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"
set "CATALINA_OPTS=%CATALINA_OPTS% -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl"
set "CATALINA_OPTS=%CATALINA_OPTS% -Dorg.apache.tomcat.util.digester.PROPERTY_SOURCE=org.apache.tomcat.util.digester.EnvironmentPropertySource"
@echo off

set CATALINA_OPTS=%CATALINA_OPTS% -Dfile.encoding=UTF8
set CATALINA_OPTS=%CATALINA_OPTS% --illegal-access=deny
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.lang=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.io=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.lang.ref=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.lang.reflect=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.net=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.nio=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.nio.charset=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.time=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.time.zone=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.util=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.util.concurrent=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.util.concurrent.locks=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/java.util.regex=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/javax.crypto.spec=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.management/javax.management=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/sun.nio.cs=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/sun.util.calendar=ALL-UNNAMED
set CATALINA_OPTS=%CATALINA_OPTS% --add-opens java.base/sun.util.locale=ALL-UNNAMED

set CATALINA_OPTS=%CATALINA_OPTS% -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl
set CATALINA_OPTS=%CATALINA_OPTS% -Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl
set CATALINA_OPTS=%CATALINA_OPTS% -Djavax.xml.parsers.SAXParserFactory=com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
set CATALINA_OPTS=%CATALINA_OPTS% -Dorg.apache.tomcat.util.digester.PROPERTY_SOURCE=org.apache.tomcat.util.digester.EnvironmentPropertySource

0 comments on commit f4c1c76

Please sign in to comment.