Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying .war file in tomcat

 
Hemal Mahagederawatte
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a .war file. I want to deploy it in the Tomcat server.

I copied the .war file in <Tomcat_Home>/webapps/
and started the Tomcat server

But i can not access my application through http://localhost:8080/webapps/<app_name>; or http://localhost:8080/<app_name>;

when i try to access my application with http://localhost:8080/<app_name>; it is redirected to ocalhost:8080/axis2/services/ and displays a error HTTP Status 404

Thanks in advanced
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat questions are better suited on the Tomcat forum.
CarefullyChooseOneForum

Moving thread
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18156
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like the app deployed OK. However the app itself is redirecting to an internal function, which is the Apache Axis Services display page.

There's something wrong with the webapp itself, however, since this page is part of the Apache Axis jar and shouldn't be giving a 404 error.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic