RE: Doubt about log4j configuration and OCI

2010-05-19 Thread Exposito Aguilera, Francisco
log4j-user@logging.apache.org' Asunto: Re: Doubt about log4j configuration and OCI ahha. someone *has* done a JDBCAppender that will use an existing datasource. Take a look at http://www.boky.cc/2010/02/03/jdbcappender-for-log4j/ Douglas E Wegscheid Lead Technical Analyst, Whirlpool Corpo

Re: Doubt about log4j configuration and OCI

2010-05-18 Thread Douglas E Wegscheid
ahha. someone *has* done a JDBCAppender that will use an existing datasource. Take a look at http://www.boky.cc/2010/02/03/jdbcappender-for-log4j/ Douglas E Wegscheid Lead Technical Analyst, Whirlpool Corporation "A wrong note played hesitatingly is a wrong note. A wrong note played with convi

Re: Doubt about log4j configuration and OCI

2010-05-18 Thread Douglas E Wegscheid
I don't think you can load the Oracle native driver more than once (that tries to load the native bits/dlls more than once, and that's what the "Native Library already loaded" is about). A couple of choices are to try to use the existing DataSource (which I don't think JDBCAppender can do out o

Doubt about log4j configuration and OCI

2010-05-18 Thread Exposito Aguilera, Francisco
Hello, I have a doubt about how to configure log4j in order to avoid the error java.lang.UnsatisfiedLinkError: Native Library C:\oracle\product\10.2.0\client_1\BIN\ocijdbc10.dll already loaded in another classloader I want log write the log in the same database as the other sql statements I nee