Liquibase/Springboot startup issues

Hi. I’m dealing with a production issue started this weekend. My Spring boot service stopped working all of the sudden and can no longer startup, without any code changes from my side.

Liquibase-core version: 3.8.0
OS: Amazon linux2

Here is the relevant stack trace:

...
Caused by: liquibase.exception.UnexpectedLiquibaseException: java.nio.file.NoSuchFileException: /tmp/agent12302722365010540729.jar
at liquibase.servicelocator.ServiceLocator.setResourceAccessor(ServiceLocator.java:129)
at liquibase.servicelocator.ServiceLocator.<init>(ServiceLocator.java:69)
at liquibase.servicelocator.CustomResolverServiceLocator.<init>(CustomResolverServiceLocator.java:16)
at org.springframework.boot.liquibase.LiquibaseServiceLocatorApplicationListener$LiquibasePresent.replaceServiceLocator(LiquibaseServiceLocatorApplicationListener.java:55)
at org.springframework.boot.liquibase.LiquibaseServiceLocatorApplicationListener.onApplicationEvent(LiquibaseServiceLocatorApplicationListener.java:44)
at org.springframework.boot.liquibase.LiquibaseServiceLocatorApplicationListener.onApplicationEvent(LiquibaseServiceLocatorApplicationListener.java:36)
...

Note that this file is not related in any way with the application logic.

Let me know if you have why this error occurs and how to fix it. Thanks

Removing log4j-cve-2021-44228-hotpatch package from the OS will help.

1 Like