Article 51RYJ Deploying a .war application on a tomcat server

Deploying a .war application on a tomcat server

by
bennymestel
from LinuxQuestions.org on (#51RYJ)
I am trying to deploy my hello.war file (Java application) on my tomcat server.

At first I do it from the "Manager App" on tomcat's default page, and it shows off afterwards in the Applications section.

But when I try to connect to it by clicking on that link (https://ip-address/hello) it gives me a standard "HTTP Status 404 - Not Found" with the description: "The origin server did not find a current representation for the target resource or is not willing to disclose that one exists."

I even try putting my hello.war file manually in the server in the appropriate folder location ("/opt/tomcat/apache-tomcat-9.0.33/webapps") and add read, execute permissions to 'others' on the .war file, add user 'tomcat' as the owner of the file, restart the service. But still nothing seems to help and I still get that 404latest?d=yIl2AUoC8zA latest?i=HFeaOu_Rj00:8wVtRTM-7W0:F7zBnMy latest?i=HFeaOu_Rj00:8wVtRTM-7W0:V_sGLiP latest?d=qj6IDK7rITs latest?i=HFeaOu_Rj00:8wVtRTM-7W0:gIN9vFwHFeaOu_Rj00
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments