Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to Deploye WAR in Tomcat?  RSS feed

 
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
Posts: 65828
134
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
Posts: 65828
134
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!