aspose file tools*
The moose likes Tomcat and the fly likes tomcat is not running in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
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: 16145
    
  21

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

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.
 
jQuery in Action, 2nd edition
 
subject: tomcat is not running in eclipse