Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to Deploye WAR in Tomcat?

 
Natalie Kopple
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I have built a WAR called abc.war. My newly installed Tomcat works because I have tested http://localhost:8080/.

I dropped the abc.war in the C:\apache-tomcat-7.0.6\webapps directory.

And I started the Tomcat.

I entered http://localhost:8080/abc

and I got HTTP Status 404. Would you advise me what is going on? Apparently, I did something wrong. Thank you.

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set up access to the Tomcat manager app and it will tell you whether the web app was loaded or not. Also, is there any info in the logs?
 
Natalie Kopple
Ranch Hand
Posts: 325
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is a blank in the log.

Where do I find instruction to set up access to the Tomcat manager app ? Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64708
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's in the Tomcat docs, and has been discussed numerous times in this forum. Search for tomcat-users.xml.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic