Solved

problem while running the tomcat web server?

Posted on 2013-01-05
4
364 Views
Last Modified: 2013-02-11
Hi All,

I installed tomcat 6 in my system(extracted the zip file). I am running the server with run.bat, in bin folder, and i can open the manager application successfully.with the link http://localhost:8080

But when i configured the same server in eclipse, and started the server in eclipse, now trying to open the link
http://localhost:8080  i am getting 404 error.

Please do needful.
0
Comment
Question by:prabhualla
4 Comments
 
LVL 27

Expert Comment

by:dpearson
ID: 38748092
Are you actually getting a 404 error (resource not found) or a "Could not connect to server" error?

If it is truly a 404 then the server is running (since you need a web server to be present for it to respond with a specific error code like 404) but it has no contents within its webapps folder.
0
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 38748104
When running Tomcat standalone it will start all the apps that are in it's 'webapps' folder. This includes the 'manager' app and the default start page that you see when navigate to the URL that you mentioned above (it is in webapps/ROOT directory and I believe it is the default.htm file).

When run under Eclipse, it is told to basically use a different 'webapps' folder, one that contains only the application that Eclipse is trying to run. Therefore, what you are seeing is correct because the 'manager' application is not running and that default.htm page is not there.

Is there some reason that you need that manager application to be accessible or were you just doing this to 'verify' that Tomcat is working? As stated above, because you are getting 404 page (rather that a connection timed out error) means that Tomcat IS working!
0
 
LVL 12

Expert Comment

by:Sharon Seth
ID: 38758378
So , as mccarl suggested , your app should be running currently and should be accessible when you type the URL for your app
0
 

Author Closing Comment

by:prabhualla
ID: 38829556
it is working fine
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
numbers ascending pyramid 101 212
tomcat administrtor 12 58
How  can  i  resolve  HTTP Status 404 -? 8 41
Apache module 5 42
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question