GeeCON Prague 2014*
The moose likes Tomcat and the fly likes How to Deploye WAR in Tomcat? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "How to Deploye WAR in Tomcat?" Watch "How to Deploye WAR in Tomcat?" New topic
Author

How to Deploye WAR in Tomcat?

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
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

Joined: Jan 10, 2002
Posts: 61310
    
  66

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?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
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

Joined: Jan 10, 2002
Posts: 61310
    
  66

It's in the Tomcat docs, and has been discussed numerous times in this forum. Search for tomcat-users.xml.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to Deploye WAR in Tomcat?