Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

The requested resource (/) is not available.

 
XinShou ShangLu
Greenhorn
Posts: 9
  • 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
  • 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
  • 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
  • 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
  • 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."
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic