You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2019/10/15 15:14:07 UTC

[Bug 63853] New: allow to overwrite/extend org.apache.catalina.valves.ErrorReportValve.getPartialServletStackTrace()

https://bz.apache.org/bugzilla/show_bug.cgi?id=63853

            Bug ID: 63853
           Summary: allow to overwrite/extend
                    org.apache.catalina.valves.ErrorReportValve.getPartial
                    ServletStackTrace()
           Product: Tomcat 8
           Version: 8.5.14
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: hauser@acm.org
  Target Milestone: ----

getPartialServletStackTrace() is a great idea, but still too verbose, therefore
I should refine this.

It seems possible to create an 
  public class ErrorReportValveMine extends ErrorReportValve { ...
and I could add it to the server.xml but in case of a Throwable still the old
default ErrorValve is used

==> please allow to replace the ErrorReportValve class in server.xml !

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 63853] allow to overwrite/extend org.apache.catalina.valves.ErrorReportValve.getPartialServletStackTrace()

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63853

--- Comment #3 from Ralf Hauser <ha...@acm.org> ---
please extend the
http://tomcat.apache.org/tomcat-8.5-doc/config/valve.html#Error_Report_Valve

with a hint to "errorReportValveClass" and that it can be sub-classed

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 63853] allow to overwrite/extend org.apache.catalina.valves.ErrorReportValve.getPartialServletStackTrace()

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63853

Remy Maucherat <re...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Remy Maucherat <re...@apache.org> ---
You should research the issue or post on the user list before opening a BZ.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 63853] allow to overwrite/extend org.apache.catalina.valves.ErrorReportValve.getPartialServletStackTrace()

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63853

--- Comment #2 from Ralf Hauser <ha...@acm.org> ---
https://tomcat.apache.org/tomcat-8.5-doc/config/host.html 
"errorReportValveClass" seems to be the solution, apologies  ;)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org