File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The requested resource (/) is not available.

 
XinShou ShangLu
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 180
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
XinShou ShangLu
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ....

tempic1.jpg
[Thumbnail for tempic1.jpg]
 
saurav sarkar
Ranch Hand
Posts: 180
Eclipse IDE Hibernate Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic