Do you realize what the J stands for in JDBC? You really expect to be
able to call a Java database driver from C++?

Of course C++ cannot access JDBC. There is an ODBCAppender for C++.

On Wed, Nov 26, 2008 at 1:21 PM, Greggg <[EMAIL PROTECTED]> wrote:
>
> Does anyone have any idea why this is the case.
> (that the JDBCAppender doesn't work and the class not found exception is
> thrown?)
> Thanks
>
>
>
> Greggg wrote:
>>
>> I'm having problem with the JDBCAppender under Windows (in case this
>> matter)
>> I can't get it to work....  I'm getting the class not found:
>> org.apache.log4j.jdbc.JDBCAppender
>> I created the project in Java using log4j with exactly the same appender
>> and it worked.
>> The interesting thing is that when I use a Console or a file appender all
>> works. (weven with the socket appender) but NOT with the JDBC appender and
>> this is the one I do care about..... How ironic.
>> Any suggestions what might be a problem?
>> Here is the appender code" :
>>   <appender name="MyJdbcAppender"
>> class="org.apache.log4j.jdbc.JDBCAppender">
>>
>>
>>
>>
>>     <layout class="org.apache.log4j.PatternLayout">
>>
>>     </layout>
>>   </appender>
>>
>> Thanks
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/JDBCAppender-tp20593910p20706436.html
> Sent from the Log4cxx - Users mailing list archive at Nabble.com.
>
>



-- 
Dale King

Reply via email to