Statistics cleanup
------------------
Key: JS2-480
URL: http://issues.apache.org/jira/browse/JS2-480
Project: Jetspeed 2
Type: Improvement
Components: Components Core
Versions: 2.1-dev
Reporter: David Sean Taylor
Assigned to: David Sean Taylor
Fix For: 2.1-dev
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]