File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes The requested resource (/) is not available. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "The requested resource (/) is not available." Watch "The requested resource (/) is not available." New topic
Author

The requested resource (/) is not available.

XinShou ShangLu
Greenhorn

Joined: Sep 26, 2008
Posts: 9
I entered http://localhost:8080/ after i startup tomcat from eclipse,
it displays http 404 error, the discription is:
The requested resource (/) is not available.

I checked the eclipse preferences->server->runtime enviroment, and it's no problem.
And, I can visit my project pages correctly.

But, When i startup tomcat from tomcat\bin\startup.bat, then i visit http://localhost:8080/, and i can see tom cat.

That's why?
saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

I think the Eclipse is running the tomcat from different port other than 8080.
Can you check in the tomcat settings page.Just double click on the server in the servers view
and it will open the settings.Check the port there.

cheers,
Saurav


Be Objectively Oriented.Explore the power of OOPs.
My Blog, Eclipse EMF Query committer.
XinShou ShangLu
Greenhorn

Joined: Sep 26, 2008
Posts: 9
saurav sarkar wrote:I think the Eclipse is running the tomcat from different port other than 8080.
Can you check in the tomcat settings page.Just double click on the server in the servers view
and it will open the settings.Check the port there.

cheers,
Saurav



Thanks, Saurav.

I double click on the server and ....



[Thumbnail for tempic1.jpg]

saurav sarkar
Ranch Hand

Joined: Jan 07, 2007
Posts: 180

ok...then you may close the other tomcat server instance running then run the eclipse one
otherwise change the port in the eclipse settings and proceed.
XinShou ShangLu
Greenhorn

Joined: Sep 26, 2008
Posts: 9
saurav sarkar wrote:ok...then you may close the other tomcat server instance running then run the eclipse one
otherwise change the port in the eclipse settings and proceed.


Thanks...

It's not work to change the port...

also "The requested resource (/) is not available."
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The requested resource (/) is not available.