glassfish
  1. glassfish
  2. GLASSFISH-3749

Excessive Logging in ManagedConnection

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 9.1peur1
    • Fix Version/s: 9.1peur1_dev
    • Component/s: jdbc
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      3,749

      Description

      Starting in b02, com.sun.gjc.spi.ManagedConnection produces excessive logging
      messages on all calls, which drastically hurts performance.

      These log messages have been in that class all along; it appears that the fix
      for issue 1735 produces a different logWriter for ManagedConnection than
      previously. Still, it's probably better to make the messages in
      ManagedConnection logged at level FINE.

        Activity

        Hide
        Scott Oaks added a comment -

        Add cc

        Show
        Scott Oaks added a comment - Add cc
        Hide
        gfbugbridge added a comment -

        <BT6614381>

        Show
        gfbugbridge added a comment - <BT6614381>
        Hide
        Jagadish added a comment -

        JDBC-RA is a system RA which can directly use logger with FINE level.
        Need to change printWriter calls to logger calls. This should solve the issue.

        Workaround :
        Set connector/resource-adapter log-level to WARNING so that these (INFO)
        messages are not logged.

        Show
        Jagadish added a comment - JDBC-RA is a system RA which can directly use logger with FINE level. Need to change printWriter calls to logger calls. This should solve the issue. Workaround : Set connector/resource-adapter log-level to WARNING so that these (INFO) messages are not logged.
        Hide
        Jagadish added a comment -

        changing subcomponent

        Show
        Jagadish added a comment - changing subcomponent
        Hide
        Jagadish added a comment -

        FIX INFORMATION :

        Checking in com/sun/gjc/spi/CPManagedConnectionFactory.java;
        /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/CPManagedConnectionFactory.java,v <--
        CPManagedConnectionFactory.java
        new revision: 1.7.8.1; previous revision: 1.7
        done
        Checking in com/sun/gjc/spi/DMManagedConnectionFactory.java;
        /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/DMManagedConnectionFactory.java,v <--
        DMManagedConnectionFactory.java
        new revision: 1.9.8.1; previous revision: 1.9
        done
        Checking in com/sun/gjc/spi/DSManagedConnectionFactory.java;
        /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/DSManagedConnectionFactory.java,v <--
        DSManagedConnectionFactory.java
        new revision: 1.6.8.1; previous revision: 1.6
        done
        Checking in com/sun/gjc/spi/ManagedConnection.java;
        /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/ManagedConnection.java,v <--
        ManagedConnection.java
        new revision: 1.15.4.1; previous revision: 1.15
        done
        Checking in com/sun/gjc/spi/ManagedConnectionFactory.java;
        /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/ManagedConnectionFactory.java,v <--
        ManagedConnectionFactory.java
        new revision: 1.10.8.2; previous revision: 1.10.8.1
        done
        Checking in com/sun/gjc/spi/XAManagedConnectionFactory.java;
        /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/XAManagedConnectionFactory.java,v <--
        XAManagedConnectionFactory.java
        new revision: 1.7.8.1; previous revision: 1.7
        done

        Fix will be available in GF v2 UR1 b05

        Show
        Jagadish added a comment - FIX INFORMATION : Checking in com/sun/gjc/spi/CPManagedConnectionFactory.java; /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/CPManagedConnectionFactory.java,v <-- CPManagedConnectionFactory.java new revision: 1.7.8.1; previous revision: 1.7 done Checking in com/sun/gjc/spi/DMManagedConnectionFactory.java; /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/DMManagedConnectionFactory.java,v <-- DMManagedConnectionFactory.java new revision: 1.9.8.1; previous revision: 1.9 done Checking in com/sun/gjc/spi/DSManagedConnectionFactory.java; /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/DSManagedConnectionFactory.java,v <-- DSManagedConnectionFactory.java new revision: 1.6.8.1; previous revision: 1.6 done Checking in com/sun/gjc/spi/ManagedConnection.java; /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/ManagedConnection.java,v <-- ManagedConnection.java new revision: 1.15.4.1; previous revision: 1.15 done Checking in com/sun/gjc/spi/ManagedConnectionFactory.java; /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/ManagedConnectionFactory.java,v <-- ManagedConnectionFactory.java new revision: 1.10.8.2; previous revision: 1.10.8.1 done Checking in com/sun/gjc/spi/XAManagedConnectionFactory.java; /cvs/glassfish/jdbcra/src/com/sun/gjc/spi/XAManagedConnectionFactory.java,v <-- XAManagedConnectionFactory.java new revision: 1.7.8.1; previous revision: 1.7 done Fix will be available in GF v2 UR1 b05

          People

          • Assignee:
            Jagadish
            Reporter:
            Scott Oaks
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: