Question

Ubuntu Tomcat help

Posted November 23, 2020 158 views
ApacheJava

I had a Java application deployed (setup by someone else) and I’ve been going through the process of improving it myself (read. breaking it). I need some help please

I appear to have HTTPS working ok and have now got Tomcat working, except it only shows a blank page when you go to the URL. When you inspect the page it shows a raft of 404 errors where it doesn’t seem to be able to find the .jps files. This makes me think a path is incorrectly set somewhere or a permissions issue?

TBH the whole file structure in this directory is confusing to me, there seems to be multiple versions of the same files all over the place.

File structure:

Root. 1. bin

  1. DATA
  2. Projects
  3. Tomcat
  4. admin (admin console - used to be accessed using URL/site-admin 1.apache-tomcat-8.5.29
  5. bin
  6. conf
  7. lib
  8. logs
  9. webapps 1. ROOT
  10. SITE
  11. SITE-WEB*
  12. SITE-Admin*
  13. back-end (this has the .WAR file in it)
  14. frount-end (presume spelling mistake) - (this seems to mimic the content of both the webapps/site-web directory and webapps/ROOT) 2. etc = apache2
  15. var
  16. usr

The tomcat log seems to be clear and running ok.

Help would be greatly appreciated and can post additional info if required.

thanks

Colonel Yeehaw

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!