glassfish
  1. glassfish
  2. GLASSFISH-11371

Messages not logged from DataSourceObjectBuilder

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: V3
    • Fix Version/s: V3
    • Component/s: jdbc
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Linux

    • Issuezilla Id:
      11,371

      Description

      When an invalid classname is specified via xml for a datasource, the appropriate
      log message from DataSourceObjectBuilder is not logged.

      WARNING: Can not find resource bundle for this logger. class name that failed:
      com.sun.gjc.common.DataSourceObjectBuilder

        Activity

        Hide
        Shalini added a comment -

        There is no LogStrings.properties file under
        src/main/resources/com/sun/gjc/common directory. DataSourceObjectBuilder is
        modified to use com.sun.gjc.util.MethodExecutor.class for the logger to log
        messages. Fixing this issue.

        Sending
        jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/common/DataSourceObjectBuilder.java
        Sending
        jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ManagedConnectionFactory.java
        Sending
        jdbc/jdbc-ra/jdbc-core/src/main/resources/com/sun/gjc/spi/LogStrings.properties
        Sending
        jdbc/jdbc-ra/jdbc-core/src/main/resources/com/sun/gjc/util/LogStrings.properties
        Transmitting file data ....
        Committed revision 35177.

        Show
        Shalini added a comment - There is no LogStrings.properties file under src/main/resources/com/sun/gjc/common directory. DataSourceObjectBuilder is modified to use com.sun.gjc.util.MethodExecutor.class for the logger to log messages. Fixing this issue. Sending jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/common/DataSourceObjectBuilder.java Sending jdbc/jdbc-ra/jdbc-core/src/main/java/com/sun/gjc/spi/ManagedConnectionFactory.java Sending jdbc/jdbc-ra/jdbc-core/src/main/resources/com/sun/gjc/spi/LogStrings.properties Sending jdbc/jdbc-ra/jdbc-core/src/main/resources/com/sun/gjc/util/LogStrings.properties Transmitting file data .... Committed revision 35177.

          People

          • Assignee:
            Shalini
            Reporter:
            Shalini
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: