Thanks for the answer, but yes, mail.jar and activation.jar are included (smtp.jar was not necessary for 0.9.30, so I guess it's not necessary for 1.0.0).<br><br>The behavior is quite simple:<br><br>If I start tomcat with logback-core-0.9.30.jar and logback-classic-0.9.30.jar in the lib directory of my webapp, SMTPAppender sends emails correctly (on error logging events).<br>
<br>Now, I just stop tomcat, replace the two librairies with logback-classic-1.0.0.jar and logback-core-1.0.0.jar, and I restart tomcat, SMTPAppender do not sends emails anymore...<br><br>Louis-Félix<br><br><div class="gmail_quote">
On Sat, Jan 21, 2012 at 7:58 AM, Pepe Caballero <span dir="ltr"><<a href="mailto:jose.caballero@tecnova.es">jose.caballero@tecnova.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
I migrated from 0.9.30 to 1.0.0 and works fine for me. ¿Did you add<br>
activation.jar, mail.jar and smtp.jar?<br>
<div><div class="h5"><br>
<br>
Louis-Félix wrote:<br>
><br>
> Hi,<br>
><br>
> I upgraded to logback 1.0.0 in a web application (tomcat 5, JDK 1.5), and<br>
> the ERROR email are not sent anymore from the SMTPAppender.<br>
> When I rollback my logback-core and logback-classic JARs to version<br>
> 0.9.30,<br>
> it's working again.<br>
><br>
> I have a simple config:<br>
><br>
> <appender name="courriel"<br>
> class="ch.qos.logback.classic.net.SMTPAppender"><br>
> <smtpHost>smtp.xxx.xx.xx</smtpHost><br>
> <to>xxx@xxx.xx.xx</to><br>
> <from>no-reply.ti@xxx.xx.xx</from><br>
> <subject>Test</subject><br>
> <cyclicBufferTracker<br>
> class="ch.qos.logback.core.spi.CyclicBufferTrackerImpl"><br>
> <bufferSize>25</bufferSize><br>
> </cyclicBufferTracker><br>
> <layout class="ch.qos.logback.classic.html.HTMLLayout"><br>
> <pattern>%date%level%thread%logger%line%message</pattern><br>
> </layout><br>
> </appender><br>
><br>
> I am using logback 1.0.0 with no problem in an other project (with JDK<br>
> 1.6).<br>
> Is there any known compatibility problem between logback 1.0.0 and JDK<br>
> 1.5?<br>
><br>
> Thanks,<br>
> Louis-Félix<br>
><br>
</div></div>> _______________________________________________<br>
> Logback-user mailing list<br>
> <a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
> <a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://old.nabble.com/SMTPAppender-mail-not-sent-%28logback-1.0.0%2C-JDK-1.5%29-tp33164248p33179515.html" target="_blank">http://old.nabble.com/SMTPAppender-mail-not-sent-%28logback-1.0.0%2C-JDK-1.5%29-tp33164248p33179515.html</a><br>
Sent from the Logback User mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a></font></span></blockquote></div><br>