| Summary: | Medic diagnostics for unsupported appender types is poor | ||
|---|---|---|---|
| Product: | [RT] Virgo | Reporter: | Steve Powell <zteve.powell> |
| Component: | unknown | Assignee: | Glyn Normington <glyn.normington> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | glyn.normington |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Steve Powell
Came from investigation in Bug 322398 If available, it now also prints the cause. For example: org.eclipse.virgo.medic.log.impl.logback.LoggerContextConfigurationFailedException: Configuration failed with the following problems: [Could not create an Appender of type [ch.qos.logback.classic.net.SMTPAppender]. Caused by java.lang.NoClassDefFoundError: javax/mail/Multipart., ActionException in Action for tag [appender] Caused by ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type ch.qos.logback.classic.net.SMTPAppender.] at org.eclipse.virgo.medic.log.impl.logback.JoranLoggerContextConfigurer.reportFailureIfNecessary(JoranLoggerContextConfigurer.java:54) at <etc.> The crucial information buried inside the list of 2 errors is: java.lang.NoClassDefFoundError: javax/mail/Multipart which shows that javax.mail is the optional import in medic which needs satisfying. |