Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old June 24th, 2002, 09:58 PM
Jason Brice Jason Brice is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Christchurch, New Zealand
Posts: 0 Jason Brice User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Jason Brice Send a message via AIM to Jason Brice
Question 404 Error With Apache Tomcat/4.0.3

We've just installed Tomcat on our server, but it doesn't seem to want to display .jsp pages. It always gives 404 Errors.

URL

The file is definitely there. What would be causing this?

Reply With Quote
  #2  
Old July 2nd, 2002, 04:36 PM
dhtmlkitchen dhtmlkitchen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Boston, MA
Posts: 30 dhtmlkitchen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Two ways to troubleshoot:
1) Start with basic test case and see if it works.
2) Simplify the current situation and clean it up.

Take the first and second approach:

1) a. Try a totally simple hello WWW webapp in tomcat. Register a context element in server.xml

b. Once you get that to work, copy some files from your real webapp and restart Tomcat.


2) a. take a look at your current web-app.

b. Look at the doctype in your web.xml file.
Is it missing the xml declaration and/or doctype? Are all of the elements in the correct order? Do the servlet-mappings and url-patterns exist? A bad web.xml file will cause problems. Usually this problem prevents Tomcat from even starting, but I am using 4.0.2, not 4.0.3, maybe there is a difference. you can save your web.xml file as _web.xml and make a new web.xml to test. Just use an xml declaration, a doctype, and a webapp element.
__________________
http://dhtmlkitchen.com/

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > 404 Error With Apache Tomcat/4.0.3


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway