Saturday, May 4, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 2376  / 3 Years ago, sat, october 30, 2021, 10:26:09

I have just installed Tomcat7 using apt-get install tomcat7. In CATALINA_HOME I can see default index.html file and it runs fine using localhost:8080/. Now I have placed a .war file to deploy in this same folder and run http://localhost:8080/JavaBridge.war and http://localhost:8080/JavaBridge as well, but it won't work. It says HTTP Status 404 - /JavaBridge. What am I doing wrong?


More From » java

 Answers
5

Try deploying the war by using tomcat manager. Set the tomcat user in conf/tomcat-users.xml, type http://localhost:8080/manager on your browser, and then deploy it using Tomcat-GUI manager. Make sure you give manager-gui and manager roles to your user.


[#26170] Sunday, October 31, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
rowbris

Total Points: 419
Total Questions: 122
Total Answers: 101

Location: Norway
Member since Mon, May 23, 2022
2 Years ago
;