Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-1710

Upgrade failed: Can't call commit when autocommit=true

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 1.2
    • 1.0.1, 1.0.2, 1.0.3
    • None

    Description

      If you are running against a MySQL database and upgrading Confluence from 1.0.x to 1.1.x, you may encounter the following error:

      2004-06-29 11:09:11,052 ERROR [bucket.upgrade.UpgradeManager] Upgrade failed: Can't call commit when autocommit=true
      java.sql.SQLException: Can't call commit when autocommit=true
      at com.mysql.jdbc.Connection.commit(Connection.java:1175)
      at org.apache.commons.dbcp.DelegatingConnection.commit(DelegatingConnection.java:248)
      at org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.commit(PoolingDataSource.java:244)
      at com.atlassian.confluence.upgrade.VersionedAttachmentDatabaseUpgradeTask.updateAttachmentsTable(VersionedAttachmentDatabaseUpgradeTask.java:71)
      at com.atlassian.confluence.upgrade.VersionedAttachmentDatabaseUpgradeTask.doUpgrade(VersionedAttachmentDatabaseUpgradeTask.java:41)

      Attachments

        Activity

          People

            Unassigned Unassigned
            dave@atlassian.com dave (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: