Run the following command inside Gravity to find all version "2.13" JAR files. There are 2 directories involved. Also, please make sure to run this on every node:
Note: The version number should be changed in the below command as per the requirement. Ex: 2.5 or 2.8
1) /var/lib/gravity/planet/docker/overlay2 directory:
( If Inside gravity try the path with /etc/docker/overlay2 )
find /var/lib/gravity/planet/docker/overlay2/ -type f -iname "*log4j-core-2.13*.jar" | sort | uniq > /tmp/log4j-jar-list.txt; for i in $(grep -Eo "[[:alnum:]]{63}" /tmp/log4j-jar-list.txt | uniq); do docker ps -qa | xargs -I{} bash -c "docker inspect {} | grep -q $i && echo {}"; done | xargs -I{} bash -c "docker inspect -f $'{{.Name}}\t{{.GraphDriver.Data.UpperDir}}' {}"
/k8s_application_ui-facade-service-123456-568567567-67a7-11ec-8e13-12a653e1815b_0 /ext/docker/overlay2/2342342343243242342342342342323443/diff /k8s_application_mcm-service-2334234234-xjhlh_arm_30a1b1a8-67a7-11ec-23423423-2342342343232 /ext/docker/overlay2/3b1c343b4c9493d431e2f3c6428890dcc1b6d47c400d1e294e3793374a29a665/diff
find /var/lib/gravity/local/ -type f -iname "log4j-core-2.13*.jar" | sort | uniq > /tmp/log4j-jar-list.txt; for i in $(grep -Eo "[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{8}" /tmp/log4j-jar-list.txt | uniq); do docker ps -qa | xargs -I{} bash -c "docker inspect {} | grep -q $i && echo {}"; done | xargs -I{} bash -c "docker inspect -f $'{{.Name}}\t{{.GraphDriver.Data.UpperDir}}' {}" | grep k8s_app
1) Please have the developer open their app's project in Studio.
2) Then, open a terminal to the app's workspace directory.
3) Follow the commands in this article to identify which component in that app is referencing the old log4j JAR: How to display the project dependencies and libraries of a Mule application with Maven
4) Mitigate and redeploy app.
If apps are not running:
1) Please follow directions from this article: Nodes running out of disk space in APCE because of /var/lib/gravity directory
001115195

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.