Uploaded image for project: 'JIRA Server (including JIRA Core)'
  1. JIRA Server (including JIRA Core)
  2. JRASERVER-3362

Exception cleaning up and/or destroying managed connection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Timed out
    • Affects Version/s: 2.6 Pro
    • Fix Version/s: None
    • Labels:
    • Environment:

      Description

      I'm seeing the following output and exceptions in SystemLog.out repeatedly and often. I do not know what risk they pose to my data, but they are very unnerving.

      [3/9/04 10:47:36:752 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:36:770 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:36:785 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:36:800 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:36:822 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:36:830 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:36:845 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:36:860 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:36:876 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:36:889 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:36:912 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:36:932 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:36:946 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:36:983 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:36:994 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:010 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:023 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:034 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:055 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:082 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:102 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:112 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:161 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:178 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:203 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:220 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:248 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:267 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:305 EST] 706c4ce7 MCWrapper E J2CA0081E: Method cleanup failed while trying to execute method cleanup on ManagedConnection com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@4b9c4cda from resource jdbc/JiraDS. Caught exception: 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(Compiled Code))
      at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java(Compiled Code))
      at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java(Compiled Code))
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanupTransactions(WSRdbManagedConnectionImpl.java(Compiled Code))
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanup(WSRdbManagedConnectionImpl.java(Compiled Code))
      at com.ibm.ejs.j2c.MCWrapper.cleanup(MCWrapper.java(Compiled Code))
      at com.ibm.ejs.j2c.poolmanager.FreePool.returnToFreePool(FreePool.java(Compiled Code))
      at com.ibm.ejs.j2c.poolmanager.PoolManager.release(PoolManager.java(Compiled Code))
      at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java(Compiled Code))
      at com.ibm.ejs.j2c.ConnectionEventListener.connectionClosed(ConnectionEventListener.java(Compiled Code))
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processConnectionClosedEvent(WSRdbManagedConnectionImpl.java(Compiled Code))
      at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.closeWrapper(WSJdbcConnection.java(Compiled Code))
      at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java(Compiled Code))
      at org.ofbiz.core.entity.SequenceUtil$SequenceBank.fillBank(SequenceUtil.java(Compiled Code))
      at org.ofbiz.core.entity.SequenceUtil$SequenceBank.getNextSeqId(SequenceUtil.java(Inlined Compiled Code))
      at org.ofbiz.core.entity.SequenceUtil.getNextSeqId(SequenceUtil.java(Inlined Compiled Code))
      at org.ofbiz.core.entity.GenericDelegator.getNextSeqId(GenericDelegator.java(Compiled Code))
      at com.atlassian.core.ofbiz.util.EntityUtils.createValue(EntityUtils.java(Compiled Code))
      at com.atlassian.jira.mail.MailThreadManagerImpl.createMailThread(MailThreadManagerImpl.java:60)
      at com.atlassian.jira.mail.JiraMailThreader.storeSentEmail(JiraMailThreader.java:52)
      at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:48)
      at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java(Compiled Code))
      at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java(Compiled Code))
      at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java(Inlined Compiled Code))
      at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java(Compiled Code))
      at org.quartz.core.JobRunShell.run(JobRunShell.java(Compiled Code))
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java(Compiled Code))

      [3/9/04 10:47:37:317 EST] 706c4ce7 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(Compiled Code))
      at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java(Compiled Code))
      at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java(Compiled Code))
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanupTransactions(WSRdbManagedConnectionImpl.java(Compiled Code))
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.destroy(WSRdbManagedConnectionImpl.java(Compiled Code))
      at com.ibm.ejs.j2c.MCWrapper.destroy(MCWrapper.java(Compiled Code))
      at com.ibm.ejs.j2c.poolmanager.FreePool.returnToFreePool(FreePool.java(Compiled Code))
      at com.ibm.ejs.j2c.poolmanager.PoolManager.release(PoolManager.java(Compiled Code))
      at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java(Compiled Code))
      at com.ibm.ejs.j2c.ConnectionEventListener.connectionClosed(ConnectionEventListener.java(Compiled Code))
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processConnectionClosedEvent(WSRdbManagedConnectionImpl.java(Compiled Code))
      at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.closeWrapper(WSJdbcConnection.java(Compiled Code))
      at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java(Compiled Code))
      at org.ofbiz.core.entity.SequenceUtil$SequenceBank.fillBank(SequenceUtil.java(Compiled Code))
      at org.ofbiz.core.entity.SequenceUtil$SequenceBank.getNextSeqId(SequenceUtil.java(Inlined Compiled Code))
      at org.ofbiz.core.entity.SequenceUtil.getNextSeqId(SequenceUtil.java(Inlined Compiled Code))
      at org.ofbiz.core.entity.GenericDelegator.getNextSeqId(GenericDelegator.java(Compiled Code))
      at com.atlassian.core.ofbiz.util.EntityUtils.createValue(EntityUtils.java(Compiled Code))
      at com.atlassian.jira.mail.MailThreadManagerImpl.createMailThread(MailThreadManagerImpl.java:60)
      at com.atlassian.jira.mail.JiraMailThreader.storeSentEmail(JiraMailThreader.java:52)
      at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:48)
      at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java(Compiled Code))
      at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java(Compiled Code))
      at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java(Inlined Compiled Code))
      at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java(Compiled Code))
      at org.quartz.core.JobRunShell.run(JobRunShell.java(Compiled Code))
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java(Compiled Code))
      .

      [3/9/04 10:47:37:647 EST] 706c4ce7 MCWrapper E J2CA0081E: Method destroy failed while trying to execute method destroy on ManagedConnection com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl@4b9c4cda from resource No longer available. Caught exception: 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(Compiled Code))
      at com.ibm.ws.rsadapter.exceptions.DataStoreAdapterException.<init>(DataStoreAdapterException.java(Compiled Code))
      at com.ibm.ws.rsadapter.AdapterUtil.createDataStoreAdapterException(AdapterUtil.java(Compiled Code))
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.cleanupTransactions(WSRdbManagedConnectionImpl.java(Compiled Code))
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.destroy(WSRdbManagedConnectionImpl.java(Compiled Code))
      at com.ibm.ejs.j2c.MCWrapper.destroy(MCWrapper.java(Compiled Code))
      at com.ibm.ejs.j2c.poolmanager.FreePool.returnToFreePool(FreePool.java(Compiled Code))
      at com.ibm.ejs.j2c.poolmanager.PoolManager.release(PoolManager.java(Compiled Code))
      at com.ibm.ejs.j2c.MCWrapper.releaseToPoolManager(MCWrapper.java(Compiled Code))
      at com.ibm.ejs.j2c.ConnectionEventListener.connectionClosed(ConnectionEventListener.java(Compiled Code))
      at com.ibm.ws.rsadapter.spi.WSRdbManagedConnectionImpl.processConnectionClosedEvent(WSRdbManagedConnectionImpl.java(Compiled Code))
      at com.ibm.ws.rsadapter.jdbc.WSJdbcConnection.closeWrapper(WSJdbcConnection.java(Compiled Code))
      at com.ibm.ws.rsadapter.jdbc.WSJdbcObject.close(WSJdbcObject.java(Compiled Code))
      at org.ofbiz.core.entity.SequenceUtil$SequenceBank.fillBank(SequenceUtil.java(Compiled Code))
      at org.ofbiz.core.entity.SequenceUtil$SequenceBank.getNextSeqId(SequenceUtil.java(Inlined Compiled Code))
      at org.ofbiz.core.entity.SequenceUtil.getNextSeqId(SequenceUtil.java(Inlined Compiled Code))
      at org.ofbiz.core.entity.GenericDelegator.getNextSeqId(GenericDelegator.java(Compiled Code))
      at com.atlassian.core.ofbiz.util.EntityUtils.createValue(EntityUtils.java(Compiled Code))
      at com.atlassian.jira.mail.MailThreadManagerImpl.createMailThread(MailThreadManagerImpl.java:60)
      at com.atlassian.jira.mail.JiraMailThreader.storeSentEmail(JiraMailThreader.java:52)
      at com.atlassian.mail.queue.SingleMailQueueItem.send(SingleMailQueueItem.java:48)
      at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java(Compiled Code))
      at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java(Compiled Code))
      at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java(Inlined Compiled Code))
      at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java(Compiled Code))
      at org.quartz.core.JobRunShell.run(JobRunShell.java(Compiled Code))
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java(Compiled Code))

      [3/9/04 10:47:37:664 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:676 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:762 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:778 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:822 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:832 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:851 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:862 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:901 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:910 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:934 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:37:946 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

      [3/9/04 10:47:37:989 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method allocateMCWrapper.

      [3/9/04 10:47:38:000 EST] 706c4ce7 ConnectionMan W J2CA0075W: An active transaction should be present while processing method initializeForUOW.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              blalor Brian Lalor
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: