RE : RE : TR : A error message with JdbcAppender

2005-06-07 Thread Raoul OPPLIGER
I've copied mysql.jar in the log4j directory ==> NO PROBLEM I don't really understand why java don't used the jar specified in the class. Thanks for your help. Raoul De: Andreas Fester [mailto:[EMAIL PROTECTED] Date: mar. 07.06.2005 20:32 À

Re: RE : TR : A error message with JdbcAppender

2005-06-07 Thread James Stauffer
Probably something like this (I am not positive that this is correct): Since log4j.jar was in your jre dir it was part of boot classloader but your jdbc jar was part of the normal classloader so the log4j classes couldn't see the classes in the normal classloader. Someone please correct me. On 6/

Re: RE : TR : A error message with JdbcAppender

2005-06-07 Thread Andreas Fester
Hi, just to be curious: how can the existence of a user specific jar file (i.e. other than rt.jar, tools.jar etc.) within some jre directory influence class loading behaviour, without being present in some CLASSPATH, -cp or -Xbootclasspath??? Any hint welcome :-) Thanks and best Regards,

RE : TR : A error message with JdbcAppender

2005-06-07 Thread Raoul OPPLIGER
8) at LogTest.main(LogTest.java:7) C:\log4j> Now, there's a problem with the sql but it's another problem. Thanks. Raoul De: Andreas Fester [mailto:[EMAIL PROTECTED] Date: mar. 07.06.2005 16:24 À: Log4J Users List; Raoul OPPLIGER Objet :

Re: TR : A error message with JdbcAppender

2005-06-07 Thread Andreas Fester
Hi, James Stauffer wrote: 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. We tried to track the problem down, and I am current

Re: TR : A error message with JdbcAppender

2005-06-07 Thread James Stauffer
struct 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 JdbcApp

RE: TR : A error message with JdbcAppender

2005-06-05 Thread Raoul OPPLIGER
ation 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 su

Re: TR : A error message with JdbcAppender

2005-06-05 Thread Andreas Fester
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 use

TR : A error message with JdbcAppender

2005-06-05 Thread Raoul OPPLIGER
but I've the same problem with the instruction java -cp.. Thanks for your previous message. Raoul De: Andreas Fester [mailto:[EMAIL PROTECTED] Date: sam. 04.06.2005 19:04 À: Raoul OPPLIGER Cc: Log4CXX User; log4j-user@logging.apache.org Objet : Re

Re: A error message with JdbcAppender

2005-06-04 Thread Andreas Fester
Hi Raoul, seems that you hit the wrong mailing list :-) - log4cxx is for the C++ port of log4j. To not loose context, I appended your full original mail and forwarded it to [EMAIL PROTECTED] Although you said that mysql-connector-java-3.0.16-ga-bin.jar is in your classpath those kind of problems