• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

404 Not Found

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
LOOK! OVER THERE! (yoink) your tiny ad is now my tiny ad.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic