Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-3442

Tomcat exception reports reference non-existent log files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.x, 2.1
    • Fix Version/s: Wish List
    • Component/s: Tomcat
    • Security Level: public (Regular issues)
    • Labels:
      None

      Description

      JSP/Servlets that encounter an error instruct users to look for a full stack trace in the "Apache Tomcat/6.0-snapshot logs"

      The exception report should be customized to be more helpful to Geronimo users.

      For example:

      HTTP Status 500 -

      type Exception report

      message

      description The server encountered an internal error () that prevented it from fulfilling this request.

      exception

      org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'sampleService' is defined
      org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:345)
      org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:894)
      org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:243)
      org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
      org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:703)
      com.interface21.sample.multiplecontexts.web1.FirstServlet.doGet(FirstServlet.java:26)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
      note The full stack trace of the root cause is available in the Apache Tomcat/6.0-snapshot logs.

      Apache Tomcat/6.0-snapshot

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kevan Kevan Lee Miller
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: