Bug 44809

Summary: Improve AprLifecycleListener Error Messages
Product: Tomcat 6 Reporter: Marvin <serac>
Component: ConnectorsAssignee: 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.

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.