You may be doing this already, but ANYTIME you are using IE and get a 500
Internal Server Error, you should check out the page with another browser.
IE often HIDES error messages that are the true cause of a 500 Internal
Server Error message.
  -----Original Message-----
  From: Conan Saunders [mailto:[EMAIL PROTECTED]
  Sent: Sunday, March 21, 2004 11:42 AM
  To: CF-Talk
  Subject: customizing JRun servlet 500 error page

  Under CFMX 6.1 on IIS6, if I request a URL with a query string containing
  an invalid URL character encoding, I get a 500 Internal Server Error
  response back from JRun. For example, requesting this:

  >page.cfm?test=%zz

  produces the response:

  ><head><title>JRun Servlet Error</title></head><h1>500 null</h1><body>
  ></body>

  I know that %zz is an invalid character encoding--I'm purposefully trying
  to break my app's interface with bad inputs, and then get all errors
  properly funnelled into my own error handler. Where/how can I modify the
  error handler that is producing this response? I've poked around in
  /CFusionMX/wwwroot/WEB-INF/web.xml, and I see the following two entries,
  but they don't appear to correspond to the error I'm getting back.

  ><error-page>
  >         <exception-type>java.lang.Throwable</exception-type>
  >         <location>/WEB-INF/exception/java/lang/Exception.cfm</location>
  ></error-page>
  ><error-page>
  >         <error-code>500</error-code>
  >         <location>/WEB-INF/exception/java/lang/Exception.cfm</location>
  ></error-page>

  I also looked at the custom error pages in IIS, but since the content
being
  returned contains the string "JRun Servlet Error" I assume this is coming
  from JRun rather than IIS.

  Thanks,
  Conan
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to