We have upgraded from R12.7 to R12.8 and right after the upgrade we are getting errors regarding our custom authentication scheme. The errors are all making reference to log4j component:
July 18, 2018 12:35:36.0 PM[517380410:E] Exception Stack Trace: java.lang.NoClassDefFoundError: org/apache/log4j/Logger
We still have some servers in R12.7, and we noticed there is a log4j.jar file present while in the upgraded servers there is not. Why is this file missing? How can we solve this?
Policy Server R12.8
The error occurs because your custom code is using the log4j component included in the Policy Server, and as R12.8 Policy Server includes a newer log4j version which changes the jar & properties file names and structure, it cannot find the classes needed by the code.
In order to solve this you need to modify your custom code to use the new jar files instead.