Is it possibly a classloader issue?  It could be that the JDBC driver
is loaded by the same classloader as the class that generates the
config file but by a different class loader that the code the
configures log4j.

On 6/6/05, Raoul OPPLIGER <[EMAIL PROTECTED]> wrote:
> Hi Andreas
> 
> For your information:
>         operating system:       windows XP
>         java:                   1.4.2_04
>         log4j:          logging-log4j-1.2.9
> 
> I don't really understand why there's a problem with the CLASSPATH
> because I use the database to construct the configuration file.
> 
> Regards
> 
> Raoul
> 
> 
> -----Original Message-----
> From: Andreas Fester [mailto:[EMAIL PROTECTED]
> Sent: dimanche 5 juin 2005 19:58
> To: Raoul OPPLIGER
> Cc: Log4J Users List
> Subject: Re: TR : A error message with JdbcAppender
> 
> 
> Hi Raoul,
> 
> just to be sure:
> 
> - Which operating system are you using (I suppose some
>    flavour of MS-Windows)?
> - Which java version are you using (java -version)?
> - Which log4j version are you using?
> 
> I replaced the logger name in my test program with "system.system" and
> "system.monitoring" and used your log4j.xml file, and in both cases the
> jdbc driver was loaded. So, I am still convinced that it is an issue
> with your CLASSPATH ;-)
> 
> Regards,
> 
>         Andreas
> 
> Raoul OPPLIGER wrote:
> [...]
> > I get exactly the same error as before. I send you my configuration
> > file (attention: logger's name is different). This file is dynamic and
> 
> > it is constructed with the content of a database. So I use my
> > mysql-connector to access to the database.
> [...]
> 
> --
> Andreas Fester
> mailto:[EMAIL PROTECTED]
> WWW: http://littletux.homelinux.org
> ICQ: 326674288
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to