There is a custom class ServiceUnavailabeErrorValve declared in server.xml that uses javax. Docker fails to run as it copy server.xml and project's war separatly. I solved the project's issues as it uses external services with javax by applying transformer eclipse plugin. However still don't know how to aply transformer to server.xml file.
Thanks!
I havent any clue how to solve it.