diff --git a/core/db/dbtool.bat b/core/db/dbtool.bat index c1ff6918bde3..018499c0a812 100644 --- a/core/db/dbtool.bat +++ b/core/db/dbtool.bat @@ -1 +1 @@ -"%JAVA_HOME%\bin\java.exe" -DCTSMS_PROPERTIES="%CTSMS_PROPERTIES%" -DCTSMS_JAVA="%CTSMS_JAVA%" -Dfile.encoding=Cp1252 -Djava.awt.headless=true -classpath %CATALINA_HOME%\webapps\ctsms-web\WEB-INF\lib\ctsms-core-.7.0.jar;%CATALINA_HOME%\webapps\ctsms-web\WEB-INF\lib\* org.phoenixctms.ctsms.executable.DBTool %* \ No newline at end of file +"%JAVA_HOME%\bin\java.exe" -DCTSMS_PROPERTIES="%CTSMS_PROPERTIES%" -DCTSMS_JAVA="%CTSMS_JAVA%" -Dfile.encoding=Cp1252 -Djava.awt.headless=true --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -classpath %CATALINA_HOME%\webapps\ctsms-web\WEB-INF\lib\ctsms-core-.7.0.jar;%CATALINA_HOME%\webapps\ctsms-web\WEB-INF\lib\* org.phoenixctms.ctsms.executable.DBTool %* \ No newline at end of file diff --git a/core/db/dbtool.sh b/core/db/dbtool.sh index 7c4569d5d733..12706f61136c 100644 --- a/core/db/dbtool.sh +++ b/core/db/dbtool.sh @@ -1,4 +1,4 @@ #!/bin/bash CTSMS_PROPERTIES=${CTSMS_PROPERTIES:-/ctsms/properties} CTSMS_JAVA=${CTSMS_JAVA:-/ctsms/java} -java -DCTSMS_PROPERTIES="$CTSMS_PROPERTIES" -DCTSMS_JAVA="$CTSMS_JAVA" -Dfile.encoding=Cp1252 -Djava.awt.headless=true -Xms2048m -Xmx4096m -Xss256k -XX:+UseParallelGC -XX:MaxGCPauseMillis=1500 -XX:GCTimeRatio=9 -XX:+CMSClassUnloadingEnabled -XX:ReservedCodeCacheSize=256m -classpath /ctsms/build/ctsms/web/target/ctsms-1.8.1/WEB-INF/lib/ctsms-core-1.8.1.jar:/ctsms/build/ctsms/web/target/ctsms-1.8.1/WEB-INF/lib/* org.phoenixctms.ctsms.executable.DBTool $* \ No newline at end of file +java -DCTSMS_PROPERTIES="$CTSMS_PROPERTIES" -DCTSMS_JAVA="$CTSMS_JAVA" -Dfile.encoding=Cp1252 -Djava.awt.headless=true --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED -Xms2048m -Xmx4096m -Xss256k -XX:+UseParallelGC -XX:MaxGCPauseMillis=1500 -XX:GCTimeRatio=9 -XX:+CMSClassUnloadingEnabled -XX:ReservedCodeCacheSize=256m -classpath /ctsms/build/ctsms/web/target/ctsms-1.8.1/WEB-INF/lib/ctsms-core-1.8.1.jar:/ctsms/build/ctsms/web/target/ctsms-1.8.1/WEB-INF/lib/* org.phoenixctms.ctsms.executable.DBTool $* \ No newline at end of file