Re: mysql-connector-java-3.1.8 problem



Daniel Rohe wrote:
Which Jar file do you use from Connector/J 3.1.8? There are two Jar files. The first one (mysql-connector-java-3.1.8-bin-g.jar) uses the class Tracer for tracing which is implemented as AspectJ aspect.

Aha! I missed that in the source code tree, because I was only looking at .java files, and this is implemented as a .aj file instead.


In com/mysql/jdbc/trace/Tracer.aj there is:

    import org.aspectj.lang.JoinPoint;

    public aspect Tracer {

This is compiled into the debugging version of the JAR file, but not into the production version. I was using the production version in my tests.

Thank you for solving the mystery, Daniel :-)

David Harper
Cambridge, England

.



Relevant Pages

  • Re: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U0
    ... Lee Revell writes: ... > not use this at all in production. ... LTT/Relayfs and K42 tracing work, lots of of tracing work/papers suggest ... Advanced Operating Systems ...
    (Linux-Kernel)
  • Re: NBC orders celebrity genealogy show
    ... a monthly publication about tracing one's ... family tree. ... production in Canada and Australia. ...
    (rec.arts.tv)
  • Re: Connection refused during opmnctl startall
    ... Production ... Tracing not turned on. ... Tns error struct: ... ns main err code: 12564 ...
    (comp.databases.oracle.server)
  • Tracing soap requests
    ... Is there an easy way to turn on soap tracing of some sort for a web service? ... We have built a web service (in production) that is experiencing problems ...
    (microsoft.public.dotnet.framework.webservices)