You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/10/31 04:55:48 UTC

DO NOT REPLY [Bug 4534] New: - error-page not being processed

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4534>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4534

error-page not being processed

           Summary: error-page not being processed
           Product: Tomcat 4
           Version: 4.0.1 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: gator@bigpond.net.au


I have an error page directive in my web.xml
    <error-page>
	<error-code>404</error-code>
	<location>/LSLC/Err404.jsp></location>	
    </error-page>

Without this directive I get the Tomcat 404 page
With this directive I get a blank page displayed
Err404.jsp can be navigated to and correctly displays

With the dumper valve turned on I see this output with no error page in place

2001-10-31 14:53:58 RequestDumperValve[Standalone]: REQUEST URI       
=/LSLC/index.jspa
2001-10-31 14:53:58 RequestDumperValve[Standalone]:           authType=null
2001-10-31 14:53:58 RequestDumperValve[Standalone]:  characterEncoding=null
2001-10-31 14:53:58 RequestDumperValve[Standalone]:      contentLength=-1
2001-10-31 14:53:58 RequestDumperValve[Standalone]:        contentType=null
2001-10-31 14:53:58 RequestDumperValve[Standalone]:        contextPath=
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             
cookie=JSESSIONID=9660A7F76594C5738683E04511569526
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             
header=accept=image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, 
application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             header=accept-
language=en-au
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             header=accept-
encoding=gzip, deflate
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             header=user-
agent=Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             
header=host=localhost:8080
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             
header=connection=Keep-Alive
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             
header=cookie=JSESSIONID=9660A7F76594C5738683E04511569526
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             locale=en_AU
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             method=GET
2001-10-31 14:53:58 RequestDumperValve[Standalone]:           pathInfo=null
2001-10-31 14:53:58 RequestDumperValve[Standalone]:           protocol=HTTP/1.1
2001-10-31 14:53:58 RequestDumperValve[Standalone]:        queryString=null
2001-10-31 14:53:58 RequestDumperValve[Standalone]:         remoteAddr=127.0.0.1
2001-10-31 14:53:58 RequestDumperValve[Standalone]:         remoteHost=127.0.0.1
2001-10-31 14:53:58 RequestDumperValve[Standalone]:         remoteUser=null
2001-10-31 14:53:58 RequestDumperValve[Standalone]: 
requestedSessionId=9660A7F76594C5738683E04511569526
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             scheme=http
2001-10-31 14:53:58 RequestDumperValve[Standalone]:         serverName=localhost
2001-10-31 14:53:58 RequestDumperValve[Standalone]:         serverPort=8080
2001-10-31 14:53:58 RequestDumperValve[Standalone]:        servletPath=null
2001-10-31 14:53:58 RequestDumperValve[Standalone]:           isSecure=false
2001-10-31 14:53:58 RequestDumperValve[Standalone]: ----------------------------
-----------------------------------
2001-10-31 14:53:58 StandardEngine[Standalone]: Mapping server name 'localhost'
2001-10-31 14:53:58 StandardEngine[Standalone]:  Trying a direct match
2001-10-31 14:53:58 RequestDumperValve[Standalone]: ----------------------------
-----------------------------------
2001-10-31 14:53:58 RequestDumperValve[Standalone]:           authType=null
2001-10-31 14:53:58 RequestDumperValve[Standalone]:      contentLength=-1
2001-10-31 14:53:58 RequestDumperValve[Standalone]:        contentType=text/html
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             
header=Date=Wed, 31 Oct 2001 03:53:58 GMT
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             
header=Server=Apache Tomcat/4.0.1 (HTTP/1.1 Connector)
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             
header=Connection=close
2001-10-31 14:53:58 RequestDumperValve[Standalone]:            
message=/index.jspa
2001-10-31 14:53:58 RequestDumperValve[Standalone]:         remoteUser=null
2001-10-31 14:53:58 RequestDumperValve[Standalone]:             status=404
2001-10-31 14:53:58 RequestDumperValve[Standalone]: 
===============================================================

with the error in place i see

2001-10-31 14:55:11 RequestDumperValve[Standalone]: REQUEST URI       
=/LSLC/index.jspa
2001-10-31 14:55:11 RequestDumperValve[Standalone]:           authType=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]:  characterEncoding=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]:      contentLength=-1
2001-10-31 14:55:11 RequestDumperValve[Standalone]:        contentType=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]:        contextPath=
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             
cookie=JSESSIONID=9660A7F76594C5738683E04511569526
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             
header=accept=*/*
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             header=accept-
language=en-au
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             header=accept-
encoding=gzip, deflate
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             header=user-
agent=Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             
header=host=localhost:8080
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             
header=connection=Keep-Alive
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             
header=cookie=JSESSIONID=9660A7F76594C5738683E04511569526
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             locale=en_AU
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             method=GET
2001-10-31 14:55:11 RequestDumperValve[Standalone]:           pathInfo=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]:           protocol=HTTP/1.1
2001-10-31 14:55:11 RequestDumperValve[Standalone]:        queryString=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]:         remoteAddr=127.0.0.1
2001-10-31 14:55:11 RequestDumperValve[Standalone]:         remoteHost=127.0.0.1
2001-10-31 14:55:11 RequestDumperValve[Standalone]:         remoteUser=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]: 
requestedSessionId=9660A7F76594C5738683E04511569526
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             scheme=http
2001-10-31 14:55:11 RequestDumperValve[Standalone]:         serverName=localhost
2001-10-31 14:55:11 RequestDumperValve[Standalone]:         serverPort=8080
2001-10-31 14:55:11 RequestDumperValve[Standalone]:        servletPath=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]:           isSecure=false
2001-10-31 14:55:11 RequestDumperValve[Standalone]: ----------------------------
-----------------------------------
2001-10-31 14:55:11 StandardEngine[Standalone]: Mapping server name 'localhost'
2001-10-31 14:55:11 StandardEngine[Standalone]:  Trying a direct match
2001-10-31 14:55:11 RequestDumperValve[Standalone]: ----------------------------
-----------------------------------
2001-10-31 14:55:11 RequestDumperValve[Standalone]:           authType=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]:      contentLength=-1
2001-10-31 14:55:11 RequestDumperValve[Standalone]:        contentType=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             
header=Connection=close
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             
header=Connection=close
2001-10-31 14:55:11 RequestDumperValve[Standalone]:            
message=/LSLC/Err404.jsp>
2001-10-31 14:55:11 RequestDumperValve[Standalone]:         remoteUser=null
2001-10-31 14:55:11 RequestDumperValve[Standalone]:             status=404
2001-10-31 14:55:11 RequestDumperValve[Standalone]: 
===============================================================

I have also tried just a really basic html page which also produces a blank 
page.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>