?
Solved

problem while running the tomcat web server?

Posted on 2013-01-05
4
Medium Priority
?
367 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 28

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 36

Accepted Solution

by:
mccarl earned 1500 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

Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

Question has a verified solution.

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

If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month10 days, 21 hours left to enroll

770 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