Bug 44809 - Improve AprLifecycleListener Error Messages
Summary: Improve AprLifecycleListener Error Messages
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Connectors (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 enhancement (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2008-04-11 10:18 UTC by Marvin
Modified: 2008-08-27 00:29 UTC (History)
0 users



Attachments
Patch to provide more detailed error information on SSLEngine init failure. (660 bytes, patch)
2008-04-11 10:18 UTC, Marvin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marvin 2008-04-11 10:18:59 UTC
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).
Comment 1 jfclere 2008-08-27 00:29:00 UTC
Fixed in trunk and proposed for backup in tc6.0.x.