SMTPAppender relies on the JavaMail API. It has been tested with JavaMail API version 1.2. The JavaMail API requires the JavaBeans Activation Framework package.
From what I can gather, you seem to be missing the JavaBeans Activation Framework.
See http://java.sun.com/products/javabeans/glasgow/jaf.html
At 03:59 PM 3/10/2004 +0000, Ronan Egan wrote:
Ceki, its turns out this is the correct stack trace:
log4j: Threshold ="null".
log4j: Level value for root is [debug].
log4j: root level set to DEBUG
log4j: Class name: [org.apache.log4j.net.SMTPAppender]
log4j: Setting property [SMTPHost] to [athena].
log4j: Setting property [to] to [EMAIL PROTECTED]
log4j: Setting property [from] to [EMAIL PROTECTED]
log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
log4j: Setting property [conversionPattern] to [%d %-5p %c - %m%n].
java.lang.NoClassDefFoundError: javax/activation/DataSource
at org.apache.log4j.net.SMTPAppender.activateOptions(Unknown Source)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:247)
at
-- Ceki G�lc�
For log4j documentation consider "The complete log4j manual"
ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
