This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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.
 
Similar Threads
HTTP Status 404. My project runs ok w/ eclipse +tomcat; fails when exporting to .war
unable to compile
Unable to view default tomcat localhost page..
The requested resource (/) is not available.
what is .faces file?