Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-480

Statistics cleanup

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1-dev
    • 2.1-dev, 2.1
    • Components Core
    • None

    Description

      Seen a few problems with Statistics
      1) its always on, can't turn it off , needs to be optional inside of components using it
      2) im getting this error on commits:

      Periodically I'm seeing exceptions in the log :

      [1/24/06 14:06:47:249 MST] 6d3a8d46 WSRdbManagedC W DSRA0180W: Exception detected during ManagedConnection.destroy(). The exception is: com.ibm.ws.exception.WsException: DSRA0080E: An exception was received by the Data Store Adapter. See original exception message: Cannot call 'cleanup' on a ManagedConnection while it is still in a transaction..

      at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:223)
      at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java:174)
      at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java:213)
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanupTransactions(WSRdbManagedConnectionImpl.java:2642)

      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.destroy(WSRdbManagedConnectionImpl.java:2065)
      at com.ibm.ejs.j2c.MCWrapper.destroy(MCWrapper.java:1334)
      at com.ibm.ejs.j2c.poolmanager.FreePool.returnToFreePool(FreePool.java:340)
      at com.ibm.ejs.j2c.poolmanager.PoolManager.release(PoolManager.java:1326)
      at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java:1693)
      at com.ibm.ejs.j2c.ConnectionEventListener.connectionClosed(ConnectionEventListener.java:217)
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processConnectionClosedEvent(WSRdbManagedConnectionImpl.java:1061)

      at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.closeWrapper(WSJdbcConnection.java:561)
      at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java:126)
      at org.apache.jetspeed.statistics.impl.BatchedStatistics.releaseConnection(BatchedStatistics.java:204)
      at org.apache.jetspeed.statistics.impl.BatchedStatistics.flush(BatchedStatistics.java:190)
      at org.apache.jetspeed.statistics.impl.BatchedStatistics.checkAndDoFlush(BatchedStatistics.java:86)
      at org.apache.jetspeed.statistics.impl.BatchedStatistics.run(BatchedStatistics.java:132)
      at java.lang.Thread.run(Thread.java:567)

      Attachments

        Activity

          People

            taylor David Sean Taylor
            taylor David Sean Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: