RE: Error with Error Document defined (really need ideas)

2005-09-21 Thread Barbara.Townsend-Batten
Please remove me from this reply list. Thanks

-Original Message-
From: Jason Bell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 20, 2005 5:33 PM
To: tomcat-user@jakarta.apache.org
Subject: RE: Error with Error Document defined (really need ideas)


Your config file suggests that you expect Tomcat to load the .html files
to a 
path on your server.  The specified files should be relevent to your web

application.  

So more than likely it will look something like:
  location/NotFound.html/location

If memory serves me Tomcat, according to your xml config, would be
looking for 
the error pages in
http://localhost:8080/srv/www/tomcat/base/errorpages/NotFound.html

I hope this helps you.

 ==
 2005-09-19 17:28:37 StandardContext[/Servlets]default:
DefaultServlet.serveResource:  Serving resource '/' headers and data
 2005-09-19 17:28:37 StandardContext[/Servlets]default:
DefaultServlet.serveResource:  Serving resource 
'/srv/www/tomcat/base/errorpages/NotFound.html' headers and data
 ==


--
Jason Bell
Lead Architect, SpikeSource Europe
e: [EMAIL PROTECTED]
w: http://www.spikesource.com
b: http://jasonbell.blog-city.com
m: +44 (0)787 529 2693

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Error with Error Document defined (really need ideas)

2005-09-20 Thread Yassine ELassad



 directBOX Reply ---
From: Yassine ELassad ([EMAIL PROTECTED])
To: tomcat-user@jakarta.apache.org
Date: 19.09.2005 17:57:50

hello every one i have a strange issue again with tomcat :)

here is the problem:

i defined an error 404 document unnder the web.xml lie the following :


=
 welcome-file-list
welcome-fileindex.html/welcome-file
welcome-fileindex.htm/welcome-file
welcome-fileindex.jsp/welcome-file
/welcome-file-list

   error-page
   error-code500/error-code

location/srv/www/tomcat/base/errorpages/InternalServerError.html/location
/error-page
error-page
error-code404/error-code
location/srv/www/tomcat/base/errorpages/NotFound.html/location
/error-page





after calling a non existing document all i have been served is a blank page 
nothing inside not even a html code nothing  i was wondering what could be the 
problem and i have checked my log which show me this :

==
2005-09-19 17:28:37 StandardContext[/Servlets]default: 
DefaultServlet.serveResource:  Serving resource '/' headers and data
2005-09-19 17:28:37 StandardContext[/Servlets]default: 
DefaultServlet.serveResource:  Serving resource 
'/srv/www/tomcat/base/errorpages/NotFound.html' headers and data
==


anyone of you guys have a plan what could be hapening out here ??


thanks for your help

Regards Yassine





__
Verpassen Sie keine eBay-Auktion und bieten Sie bequem
und schnell über das Telefon mit http://www.telefonbieten.de

Ihre eMails auf dem Handy lesen - ohne Zeitverlust - 24h/Tag
eMail, FAX, SMS, VoiceMail mit http://www.directbox.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Error with Error Document defined (really need ideas)

2005-09-20 Thread Jason Bell
Your config file suggests that you expect Tomcat to load the .html files to a 
path on your server.  The specified files should be relevent to your web 
application.  

So more than likely it will look something like:
  location/NotFound.html/location

If memory serves me Tomcat, according to your xml config, would be looking for 
the error pages in
http://localhost:8080/srv/www/tomcat/base/errorpages/NotFound.html

I hope this helps you.

 ==
 2005-09-19 17:28:37 StandardContext[/Servlets]default: 
DefaultServlet.serveResource:  Serving resource '/' headers and data
 2005-09-19 17:28:37 StandardContext[/Servlets]default: 
DefaultServlet.serveResource:  Serving resource 
'/srv/www/tomcat/base/errorpages/NotFound.html' headers and data
 ==


--
Jason Bell
Lead Architect, SpikeSource Europe
e: [EMAIL PROTECTED]
w: http://www.spikesource.com
b: http://jasonbell.blog-city.com
m: +44 (0)787 529 2693

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]