• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

The requested resource (/) is not available.

 
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?
 
Ranch Hand
Posts: 180
Hibernate Eclipse IDE 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
Hibernate Eclipse IDE 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."
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic