logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ronan Egan" <eganro...@eircom.net>
Subject RE: Smtp Appender Exception on load from XML config file : NoclassDeffoundError
Date Wed, 10 Mar 2004 15:59:07 GMT
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 [ronan@redcircle.com].
log4j: Setting property [from] to [ronan@redcircle.com].
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
org.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:210)
	at
org.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java
:140)
	at
org.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator
.java:153)
	at
org.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigu
rator.java:415)
	at org.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:384)
	at org.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:783)
	at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:666)
	at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:616)
	at
org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:584)
	at org.apache.log4j.xml.DOMConfigurator.configure(DOMConfigurator.java:687)
	at BrownLog.main(BrownLog.java:36)
Exception in thread "main"



-----Original Message-----
From: Ceki Gülcü [mailto:ceki@qos.ch]
Sent: 09 March 2004 17:59
To: Log4J Users List
Subject: RE: Smtp Appender Exception on load from XML config file :
NoclassDeffoundError



Ronan,

The log4j-user list strips out many types of attachments and attachments
over a certain size (300 Kb or so).
If your attachment consists of just plain text, then please send it as
text. Apologies for the hassle.

At 05:35 PM 3/9/2004 +0000, you wrote:
>Ceki,
>I've attached a trace of the debug run in case this may be of any further
>help
>
>Also here is what the console appender spits out:
>
>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 [ronan@redcircle.com].
>log4j: Setting property [from] to [ronan@redcircle.com].
>log4j: Parsing layout of class: "org.apache.log4j.PatternLayout"
>log4j: Setting property [conversionPattern] to [%d %-5p %c - %m%n].

--
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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message