Resume halted process instances successfully by executing deadletter jobs(getting several exceptions currently when a service task which throws exceptions restarts)

It looks like your database/connection pool is not yet ready to receive the queries. Did you try delaying the bootup of your logic, e.g. by not using a CommandLineRunner, but something else?