I have WAR applications that are running successfully on a tomcat server without any problem, but when i created a tomcat container using docker on linux machine it doesn’t work. I believe the problem is that my application is not designed to run on docker, how to edit it and make sure that it will run on a container?
One more thing to tell,the tomcat is running but when i try to access the application from my browser, it keeps loading and loading until connection times out
I have no idea how Plesk works - it is unrelated to docker anyway.
Did you create your own image? If not which image:tag did you use?
Please share screenshots about your container configurations from Plesk, so we can at least get an idea of what you tried to do. Please additionaly add snipets from the container logs that indicate the problem(s).
Thank you for your support. After analyzing the logs and further analysis i found the problem that my application is trying to connect to a MySQL server and when i remove the connection string, the tomcat container runs successfully, any recommendations? I need to connect to MySQL server.