After war file Deployment apache tomcat service is failed.

I Created a droplet.

Memory vCPUs Transfer SSD Disk 1 GB 1 vCPU 1 TB(1000GB) 25 GB

Installed S/W.

  • ubuntu 18.04 OS
  • apache tomcat 9.0.31
  • MySQL server 8.0


After uploading war file something going to wrong and tomcat service will be failed.

I attached problem link. ( config.PNG)


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Before diving into troubleshooting the problem, it’s a good idea to read over: which guides you through the Tomcat configuration process. It might also have the exact answer you are searching for.

As root, you can try to gather more information by running journalctl -xe or find the apache-tomcat logs directory in /var/log/. The first option, if journalctl is installed on your system will give you a closer look at what actually failed. It may tell you that your configuration in the tomcat config file references a filename that does not exist, or that the apache user does not have permission to execute or read one of its directories – especially if any of those files were written by the root user. You can run chown root:apache /<path>/<to>/<filename> && chmod r+x /<path>/<to>/<filename> to any files that the apache user cannot run.