<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>&nbsp;&nbsp;&lt;appender name=&quot;DB&quot; class=&quot;ch.qos.logback.access.db.DBAppender&quot;&gt;</div>
<div>&nbsp;&nbsp; &nbsp;&lt;connectionSource class=&quot;ch.qos.logback.core.db.DriverManagerConnectionSource&quot;&gt;</div>
<div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;driverClass&gt;com.mysql.jdbc.Driver&lt;/driverClass&gt;</div>
<div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;url&gt;jdbc:mysql://localhost:3306/logback_db&lt;/url&gt;</div>
<div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;user&gt;logback&lt;/user&gt;</div>
<div>&nbsp;&nbsp; &nbsp; &nbsp;&lt;password&gt;logback&lt;/password&gt;</div>
<div>&nbsp;&nbsp; &nbsp;&lt;/connectionSource&gt;</div>
<div>&nbsp;&nbsp;&lt;/appender&gt;</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div>On Jun 6, 2011, at 5:29 PM, Ceki Gülcü wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>On 06/06/2011 11:26 PM, Stephen Schaeffer wrote:<br>
<blockquote type="cite">java.lang.ClassCastException: ch.qos.logback.classic.spi.LoggingEvent<br>
</blockquote>
<blockquote type="cite">cannot be cast to ch.qos.logback.access.spi.AccessEvent<br>
</blockquote>
<blockquote type="cite">at ch.qos.logback.access.db.DBAppender.subAppend(DBAppender.java:36)<br>
</blockquote>
<blockquote type="cite">at ch.qos.logback.core.db.DBAppenderBase.append(DBAppenderBase.java:107)<br>
</blockquote>
<blockquote type="cite">at<br>
</blockquote>
<blockquote type="cite">ch.qos.logback.core.UnsynchronizedAppenderBase.doAppend(UnsynchronizedAppenderBase.java:88)<br>
</blockquote>
<blockquote type="cite">at<br>
</blockquote>
<blockquote type="cite">ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:64)<br>
</blockquote>
<blockquote type="cite">at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:285)<br>
</blockquote>
<blockquote type="cite">at ch.qos.logback.classic.Logger.callAppenders(Logger.java:272)<br>
</blockquote>
<blockquote type="cite">at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:473)<br>
</blockquote>
<blockquote type="cite">at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:427)<br>
</blockquote>
<blockquote type="cite">at ch.qos.logback.classic.Logger.info(Logger.java:631)<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">Steph<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<blockquote type="cite">On Jun 6, 2011, at 5:18 PM, Ceki Gülcü wrote:<br>
</blockquote>
<blockquote type="cite"><br>
</blockquote>
<br>
Thanks. Could you provide your configuration file as well?<br>
-- <br>
Ceki<br>
_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
http://qos.ch/mailman/listinfo/logback-user<br>
<br>
</div>
</blockquote>
</div>
<br>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>
<div><span class="Apple-style-span" style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 12px; color: rgb(51, 51, 51); ">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 1em; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; ">
<strong style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; ">Stephen
 Schaeffer</strong>&nbsp;<br>
IntercontinentalExchange | ICE<br>
2100 RiverEdge Pkwy | 5th Floor | Atlanta, GA 30328<br>
Tel: 203.599.1881</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 1em; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; ">
<a href="mailto:stephen.schaeffer@theice.com">stephen.schaeffer@theice.com</a></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 1em; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; min-height: 8pt; height: 8pt; ">
&nbsp;<br class="webkit-block-placeholder">
</div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 1em; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; ">
24-hour ice helpdesk 770.738.2101<br>
<a class="jive-link-external-small" href="http://www.theice.com/" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; outline-width: 0px; outline-style: initial; outline-color: initial; font-size: 12px; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: transparent; color: rgb(53, 84, 145); text-decoration: none; ">http://www.theice.com/</a></div>
<div><br>
</div>
</span></div>
</div>
</div>
<br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
<br>
<hr>
<font face="Arial" color="Gray" size="1">This message may contain confidential information and is intended for specific recipients unless explicitly noted otherwise. If you have reason to believe you are not an intended recipient of this message, please delete
 it and notify the sender. This message may not represent the opinion of IntercontinentalExchange, Inc. (ICE), its subsidiaries or affiliates, and does not constitute a contract or guarantee. Unencrypted electronic mail is not secure and the recipient of this
 message is expected to provide safeguards from viruses and pursue alternate means of communication where privacy or a binding message is desired.<br>
</font>
</body>
</html>