Page History
...
- In the Java application server home directory (on which Web Application Platform runs), go to the bin folder. For example, if you use Apache Tomcat, go to <tomcat_home>\bin.
- Using a plain text editor, create the setenv.bat file in that directory if it does not already exist.
Copy and paste the following line to the setenv.bat file:
Code Block set JAVA_OPTS=-Dlog4j.formatMsgNoLookups=true
- Save and close the file.
- Restart the Java application serverWeb Application Platform.
To configure setenv.bat files when the Web Application Platform is started as a service
...
- In the Java application server (on which Web Application Platform runs) home directory, go to the bin folder. For example, if you use Apache Tomcat, go to <tomcat_home>/bin.
- Using a plain text editor, create the setenv.sh file in that directory if it does not already exist.
Copy and paste the following lines to the setenv.sh file:
Code Block set JAVA_OPTS=-Dlog4j.formatMsgNoLookups=true
- Save and close the file.
- Restart the Java application serverWeb Application Platform.
Option 2 (more complex)
- Download the latest log4j 2.15.0 patched version .
- Replace all log4j 2.x jar files with their respective equivalents from the downloaded version 2.15.0 zip file while keeping the original file name.
...