Tomcat exception reports reference non-existent log files
---------------------------------------------------------

                 Key: GERONIMO-3442
                 URL: https://issues.apache.org/jira/browse/GERONIMO-3442
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: Tomcat
    Affects Versions: 2.0.x, 2.1
            Reporter: Kevan Miller
            Priority: Minor
             Fix For: 2.0.x, 2.1


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to