aspose file tools
The moose likes Tomcat and the fly likes Deploying .war file in tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying .war file in tomcat" Watch "Deploying .war file in tomcat" New topic

Deploying .war file in tomcat

Hemal Mahagederawatte

Joined: Dec 17, 2008
Posts: 16
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

Joined: Jul 26, 2007
Posts: 10696

Tomcat questions are better suited on the Tomcat forum.

Moving thread

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16542

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
Have you tried LearnNowOnline?
subject: Deploying .war file in tomcat