Hi All,
on loading an smtp appender from xml with the following config:

<appender name="email" class="org.apache.log4j.net.SMTPAppender">
        <param name="SMTPHost" value="mailserver1"/>
        <param name="To" value="[EMAIL PROTECTED]"/>
        <param name="From" value="[EMAIL PROTECTED]"/>
        <layout class="org.apache.log4j.PatternLayout">
                   <param name="ConversionPattern"
                          value="%t %-5p %c{2} - %m%n"/>
                </layout>
</appender>

I get  a NoclassDeffoundError just after the ConversionPattern has been set
on debug build.

I've downloaded the jmail component specified on the log4j website, chainsaw
and other log4j features work fine so I'm assuming my problem is with the
way I've set up the smtp appender

Can anyone shed any light on the subject for me please?

Also I've bought the log4j manual but can find a working hyperlink for the
examples?
Any help appreciated,
thanks,
Ronan


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to