Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
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
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: 10825

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: 17417

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Deploying .war file in tomcat
It's not a secret anymore!