Open up the wrapper.conf file in a text editing application. Look for the # Java Additional Parameters section and add the following two lines: Code Block |
---|
| wrapper.java.additional.4=--add-opens
wrapper.java.additional.5=java.base/java.nio=ALL-UNNAMED |
The changes should look as follows: Code Block |
---|
| # Java Additional Parameters
wrapper.java.additional.1=-Djava.util.logging.config.file=../conf/logging.properties
wrapper.java.additional.2=-Dlog4j.configurationFile=../conf/log4j2.xml
wrapper.java.additional.3=-Dfile.encoding=UTF-8
wrapper.java.additional.4=--add-opens
wrapper.java.additional.5=java.base/java.nio=ALL-UNNAMED |
Image Added This configuration is needed for the Agent to work properly so it can access the Java modules to save data in memory before pushing it to Snowflake to use the COPY command. |