I’m sorry, but if there aren’t any logs that indicate the root cause of the problem, how anyone could help?
Do you expect forum members guessing possible causes one by one?
Well,
the most probable reason is database connection properties specified incorrectly
or wrong version of Java
or unwriteable temporary directory
…
Honestly, I would suggest you to switch the deployment platform to the platform that provides enough troubleshooting information when something goes wrong.
Database connection was verified to work with the jar compilation - I do understand that postgresql is a more tricky customer (from other similar issues on the forums here)
Java version was aligned: openjdk java 11
Tomcat v9
Sample war file deployment works fine on both ROOT & /sample locations
14-Sep-2021 07:35:07.665 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.50]
14-Sep-2021 07:35:07.693 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/tomcat/webapps/sample.war]
14-Sep-2021 07:35:08.354 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/tomcat/webapps/sample.war] has finished in [659] ms
14-Sep-2021 07:35:08.355 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/tomcat/webapps/ROOT.war]
14-Sep-2021 07:35:23.860 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/tomcat/webapps/ROOT.war] has finished in [15,505] ms
14-Sep-2021 07:35:23.861 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive [/opt/tomcat/webapps/ARekegCRM.war]
14-Sep-2021 07:35:33.631 INFO [main] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive [/opt/tomcat/webapps/ARekegCRM.war] has finished in [9,770] ms
14-Sep-2021 07:35:33.649 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-80”]
14-Sep-2021 07:35:33.713 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“http-nio-8080”]
14-Sep-2021 07:35:33.716 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [“ajp-nio-127.0.0.1-8009”]
14-Sep-2021 07:35:33.719 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [26192] milliseconds