This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Tomcat and the fly likes tomcat is not running in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "tomcat is not running in eclipse" Watch "tomcat is not running in eclipse" New topic
Author

tomcat is not running in eclipse

abhijeet srivastava
Greenhorn

Joined: Aug 22, 2006
Posts: 26
Hi all!

I have tomcat5.5,eclipse3.3 Europa and linux fedora 6. I have configured my application and set server as tomcat. Still when I am giving url http://localhost:8080 it is not working and showing error-

HTTP Status 404 - /

type Status report

message /

description The requested resource (/) is not available.
Apache Tomcat/5.5.25


whats wrong?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 14572
    
    7

Tomcat [i]is[/b] working. You even got an error message from it, telling you that you are running Tomcat Version 5.5.25.

However you don't have a default webapp installed or if you do, it has no default ("hello") page.

Usually you'll have bound your webapp to a non-default web application Context, so your URLs would look more like "http://localhost:8080/mywebapp/hello.jsp".


Customer surveys are for companies who didn't pay proper attention to begin with.
abhijeet srivastava
Greenhorn

Joined: Aug 22, 2006
Posts: 26
Thanks. Its working on giving full application file path like-

http://localhost:8080/Test/Hello.jsp

but its not showing home page of tomcat on giving-

http://localhost:8080

before running tomcat in eclipse it was showing.
but now nor external tomcat home page is running nor eclipse's internal though on giving full path of file of any application it is perfectly fine.

where to configure for showing tomcat home page?
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16487
    
    2

Originally posted by abhijeet srivastava:
where to configure for showing tomcat home page?
We have a Apache/Tomcat forum. Let's try asking this question there.
Mladen Grabowsky
Greenhorn

Joined: Sep 19, 2007
Posts: 29
before running tomcat in eclipse it was showing.
but now nor external tomcat home page is running nor eclipse's internal though on giving full path of file of any application it is perfectly fine.

eclipse has modified the server.xml of your tomcat.
Sorry to say that, but I don't think that there is a way to restore your orig. configuration.
You should not use a TC that is used for other than devevlopment purposes from within eclipse.

You can configure if eclipse should modify you installation or not in the server settings in eclipse.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat is not running in eclipse
 
Similar Threads
problem with RequestDispatcher
Deploying .war file in tomcat
Dynamic content problem with Tomcat 6.x
Unable to view default tomcat localhost page..
Problem after clicking on tomcat Manager link