Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.1
    • Fix Version/s: None
    • Component/s: jdbc
    • Labels:
      None
    • Environment:

      CentOs

      Description

      I define my db pool like

      <jdbc-connection-pool validation-table-name="DUAL" datasource-classname="oracle.jdbc.pool.OracleConnectionPoolDataSource" is-isolation-level-guaranteed="false" res-type="javax.sql.ConnectionPoolDataSource" sql-trace-listeners="de.xyz.platform.sqllogger.SQLTraceListenerImpl" name="OraclePool" is-connection-validation-required="true">

      and define my sql tracer like

      public class SQLTraceListenerImpl implements SQLTraceListener {

      private final static Logger logger = Logger.getLogger(SQLTraceListenerImpl.class);

      @Override
      public void sqlTrace(SQLTraceRecord record)

      { logger.info(record); }

      }

      and the only thing I get in the server log is

      [#|2012-05-10T10:41:31.922+0200|WARNING|glassfish3.1.1|javax.enterprise.resource.resourceadapter.com.sun.enterprise.connectors.util|_ThreadID=16;_ThreadName=Thread-2;|RAR7096: Exception null while trying to set the value de.xyz.platform.sqllogger.SQLTraceListenerImpl on property SqlTraceListeners |#]

      One thing would be to know what I did wrong and the other thing would be to improve this exception.

        Activity

        ztangm created issue -
        shreedhar_ganapathy made changes -
        Field Original Value New Value
        Assignee shreedhar_ganapathy [ shreedhar_ganapathy ] Jagadish [ jr158900 ]
        Component/s jca [ 10602 ]
        Jagadish made changes -
        Component/s jdbc [ 10603 ]
        Component/s jca [ 10602 ]
        Jagadish made changes -
        Assignee Jagadish [ jr158900 ] sfelts [ sfelts ]

          People

          • Assignee:
            sfelts
            Reporter:
            ztangm
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: