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 2023/04/18 16:42:46 UTC
[Bug 66569] New: ServletContextListener errors are not reported
https://bz.apache.org/bugzilla/show_bug.cgi?id=66569
Bug ID: 66569
Summary: ServletContextListener errors are not reported
Product: Tomcat 9
Version: 9.0.73
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: ebourg@apache.org
Target Milestone: -----
Exceptions occurring in the contextInitialized() method of a
ServletContextListener stop the webapp and are not reported in the Tomcat log.
This makes debugging the issue rather difficult, logging the stacktrace in the
catalina log would greatly help.
--
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 66569] ServletContextListener errors are not reported
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66569
--- Comment #1 from Remy Maucherat <re...@apache.org> ---
https://github.com/apache/tomcat/blob/main/java/org/apache/catalina/core/StandardContext.java#L4450
?
--
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 66569] ServletContextListener errors are not reported
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66569
--- Comment #2 from Emmanuel Bourg <eb...@apache.org> ---
What file captures this log?
--
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 66569] ServletContextListener errors are not reported
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66569
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED
--- Comment #3 from Mark Thomas <ma...@apache.org> ---
In a default configuration the log message written to stdout and
catalina-yyyy-mm-dd.log states:
"One or more listeners failed to start. Full details will be found in the
appropriate container log file."
The container log file in a default configuration will be
localhost-yyyy-mm-dd.log The full stack trace is available in that file.
--
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