Summary: | Improve AprLifecycleListener Error Messages | ||
---|---|---|---|
Product: | Tomcat 6 | Reporter: | Marvin <serac> |
Component: | Connectors | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | Keywords: | PatchAvailable |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | default | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | Patch to provide more detailed error information on SSLEngine init failure. |
Fixed in trunk and proposed for backup in tc6.0.x. |
Created attachment 21817 [details] Patch to provide more detailed error information on SSLEngine init failure. The AprLifecycleListener currently provides a single, uninformative error message for a variety of possible failure conditions that can occur initializing the SSL engine for the native connectors: Failed to initialize the SSLEngine. It would be trivial to provide additional error details by passing the causing exception to the catalina core logger at, say, the debug level. I'm providing a one-liner patch to do this. FWIW, the additional error information provided by the causing exception allowed me to solve my problem (compiled APR w/out SSL).