Skip to content

Commit

Permalink
GRP-3724: log4j security problem (commit 2): Add JVM property to fall…
Browse files Browse the repository at this point in the history
… back to reading log4j.properties, even after Grouper upgrades to log4j2
  • Loading branch information
credman committed Jan 21, 2022
1 parent 0fc2e4e commit a913977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container_files/tomee/bin/setenv.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLASSPATH=/opt/tomee/bin/*
#JAVA_OPTS="-Dlog4j.configurationFile=/opt/tomee/conf/log4j2.xml -DENV=$ENV -DUSERTOKEN=$USERTOKEN"
CATALINA_OPTS="-Xmx$GROUPER_MAX_MEMORY -XX:+UseG1GC -XX:+UseStringDeduplication -Dlog4j.configurationFile=/opt/tomee/conf/log4j2.xml -DENV=$ENV -DUSERTOKEN=$USERTOKEN -Dfile.encoding=UTF-8 $GROUPER_EXTRA_CATALINA_OPTS"
CATALINA_OPTS="-Xmx$GROUPER_MAX_MEMORY -XX:+UseG1GC -XX:+UseStringDeduplication -Dlog4j.configurationFile=/opt/tomee/conf/log4j2.xml -DENV=$ENV -DUSERTOKEN=$USERTOKEN -Dfile.encoding=UTF-8 -Dlog4j1.compatibility=true $GROUPER_EXTRA_CATALINA_OPTS"
LOGGING_MANAGER=-Djava.util.logging.manager=org.apache.logging.log4j.jul.LogManager

0 comments on commit a913977

Please sign in to comment.