Solved

problem while running the tomcat web server?

Posted on 2013-01-05
4
365 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 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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
mysql jsp example issue 32 76
sql import cannot be resolved jsp 3 79
How to configure empty element in XML Document parser? 15 46
glassfish admin console 1 24
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…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

696 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