<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Hi all,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">I am using logback 0.9.9 with activemq 5.5.1. Right after startup, the application always encounters an AbstractMethodException in LogbackMDCAdapter, which is firstly triggered by PooledTaskRunner (line 45). A snippet is provided as:</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space: pre; "> </span>public static void main(String[]
args) {</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre"> </span></font><font class="Apple-style-span" face="arial, helvetica, sans-serif">MDCAdapter l = StaticMDCBinder.SINGLETON.getMDCA();</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre"> </span>Map m = l.getCopyOfContextMap(); // <-- got excpetion</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre"> </span>System.out.println("np error"); // never come to this line</font></div><div><font class="Apple-style-span" face="arial, helvetica, sans-serif"><span class="Apple-tab-span" style="white-space:pre"> </span>}</font></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div></div><div
style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Seems that the concrete class LogbackMDCAdapter implements MDCAdapter without implementing the defined method getCopyOfContextMap(). </div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Any clues?</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; "><br></div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Thanks,</div><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; ">Hei</div></div></body></html>