This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Deploying .war file in tomcat" Watch "Deploying .war file in tomcat" New topic
Author

Deploying .war file in tomcat

Hemal Mahagederawatte
Greenhorn

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: 10171
    
    8

Tomcat questions are better suited on the Tomcat forum.
CarefullyChooseOneForum

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: 15959
    
  19

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.
 
Consider Paul's rocket mass heater.
 
subject: Deploying .war file in tomcat
 
Similar Threads
http://localhost:8080 shows page not diaplyed in browser.
404-tried everything
Problem in placing JSPs in webapps folder
Starting and stopping tomcat6 with maven before/after deploy
different port to different app