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=7227>.
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=7227

<error-code> directive don't work

           Summary: <error-code> directive don't work
           Product: Tomcat 3
           Version: 3.2.1 Final
          Platform: Other
        OS/Version: AIX
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


if i use this:
<error-page>
    <error-code>404</error-code>
    <location>/error.html</location>
</error-page>

I get stack overflow:
......
at org.apache.tomcat.core.Handler.service(Handler.java(Compiled Code))
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java
(Compiled Code))
at org.apache.tomcat.core.ContextManager.handleStatus
(ContextManager.java:1049)
at org.apache.tomcat.request.FileHandler.doService
(StaticInterceptor.java(Compiled Code))
at org.apache.tomcat.core.Handler.service(Handler.java(Compiled Code))
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java
(Compiled Code))
at org.apache.tomcat.core.ContextManager.handleStatus
(ContextManager.java:1049)
at org.apache.tomcat.core.ContextManager.internalService
(ContextManager.java(Compiled Code))
at org.apache.tomcat.core.ContextManager.service(ContextManager.java
(Compiled Code))
at 
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection
(HttpConnectionHandler.java(Compiled Code))
at org.apache.tomcat.service.TcpWorkerThread.runIt
(PoolTcpEndpoint.java(Compiled Code))
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run
(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:498)

if i try this:
<error-page>
    <error-code>404</error-code>
    <location>error.html</location>
</error-page>
then It don't ignores my setting at all, so I get this on page:
Error: 404
Location: /txkxx/makeerror.html
null

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

Reply via email to