Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

404 Not Found

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am developing website application using struts backend as MYSQL.
Web application is hosted at remote server.
The application on server can be accessed using two urls:
http://{hostname}:8080/ and www.{hostname}/
Everything works with first url i.e. http://{hostname}:8080/
But error is thrown when it is accessed using www.{hostname}/


Not Found
The requested URL /login.do was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
------------------------------------------------------------------------


I am not able to see the tomcat logs.
Any help is appreciated.

Thanks
Deepa
[ December 01, 2007: Message edited by: Deepa More ]
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

But error is thrown when it is accessed using www.{hostname}/



Unless you have specifically configured that server to have two connectors to listen at both port 80 and port 8080, that is exactly the expected result.

Standard Tomcat installations listen only at 8080 unless you change the parameters in server.xml.

Bill
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic