Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Deploying .war file in tomcat

 
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
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat questions are better suited on the Tomcat forum.
CarefullyChooseOneForum

Moving thread
 
Bartender
Posts: 21756
148
Android Eclipse IDE Tomcat Server Redhat Java 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.
 
For my next feat, I will require a volunteer from the audience! Perhaps this tiny ad?
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!