I can't get the error page to be processed per my web.xml config.

I have a tag:


  <servlet-mapping>
    <servlet-name>OTFwebTierEntryPoint</servlet-name>
    <url-pattern>/OTF/*</url-pattern>
  </servlet-mapping>

  <error-page>
    <error-code>404</error-code>
    <location>jscribeSysError.jsp</location>
  </error-page>

  <error-page>
    <error-code>500</error-code>
    <location>jscribeSysError.jsp</location>
  </error-page>

  <error-page>
    <exception-type-code>java.lang.Throwable</exception-type-code>
    <location>jscribeSysError.jsp</location>
  </error-page>


When I add the <error-page>  all exception traces to the browser stop, but
I'm getting null responses instead and no orion logging.

I've tried:

    <location>/OTF/jscribeSysError.jsp</location>

No different.

I've set development="true" in oron-web.xml and see that this jsp is being
compiled.  I wittled the jsp down to a dirt simple html only 

<html>
this is an error
</html>

No response sent from orion.

I WISH I COULD TURN ON DEBUG TRACING FOR ORION???

How about anyone else??  This is the most silent application I've ever worked with.

Here's the compiled jsp that is confirming it's dirt simple and is being hit as my 
web.xml
above does work??

Thanks for any thoughts.

curt


—-------------------------------


import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;

public class __jspPage0_jscribeSysError_jsp extends 
com.orionserver.http.OrionHttpJspPage
{

        public void _jspService(HttpServletRequest request, HttpServletResponse 
response) throws java.io.IOException, ServletException
        {
                String _tempString;
                Object __tempVar;
                response.setContentType("text/html");
                HttpSession session;
                __jspPage0_jscribeSysError_jsp page = this;
                session = request.getSession(true);
                PageContext pageContext = 
JspFactory.getDefaultFactory().getPageContext(this, request, response, null, true, 
8192, true);
                JspWriter out = pageContext.getOut();
                int __tempInt;
                try
                {

                        out.write("<html>\n  <head> </head>\n<body 
bgcolor=\"white\">\n\n<center>\n\n<h2>JScribe System 
Error</h2>\n</center>\n\n</body>\n</html>\n");
                }
                catch(Exception __jspE2)
                {
                        out.clearBuffer();
                        pageContext.handlePageException(__jspE2);
                }
                finally
                {
                        out.close();
                        JspFactory.getDefaultFactory().releasePageContext(pageContext);
                }
        }



Reply via email to