After upgrade/refresh/distribute one or more of the servers will not start and will throw the following error, whilst other server(s) work:
ERROR 2022-07-28 18:04:58,841 [WrapperStartStopAppMain] niku.union (none:none:none:none) Clarity 16.xx failed to initialize.
com.niku.union.config.ConfigurationException: The application failed to start because of a database configuration problem. Please review the application log for specific error information.
This typically happens on non-Production servers or on Production on the servers that were not upgraded directly.
Release : Any
The jar files below are sometimes not getting properly copied by Distribute command. This causes this issue.
Copy the entire directory across instead of using Distribute or Distribute All.
We recommend to only copy the filesystem after each upgrade instead of using Distribute
Note: If you would like to also keep your $clarity/logs directory, you can keep it and then replace it back as well