Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-1367

Exception when closing connection under db2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.3.3
    • None
    • jackrabbit-core
    • None
    • JBoss 4.2.2, IBM DB2 JDBC 2.0 Type 2 driver Version 8.1, Windows XP

    Description

      When shutting down a JBoss installation with db2, the following exception occurs:

      [exec] 10:45:15,557 ERROR [RepositoryImpl] error while closing persistence manager of workspace default
      [exec] COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver] CLI0116E Invalid transaction state. SQLSTATE=25000
      [exec] at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_SQLException(Unknown Source)
      [exec] at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_return_code(Unknown Source)
      [exec] at COM.ibm.db2.jdbc.app.DB2Connection.close2(Unknown Source)
      [exec] at COM.ibm.db2.jdbc.app.DB2Connection.close(Unknown Source)
      [exec] at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.closeConnection(DatabasePersistenceManager.java:765)
      [exec] at org.apache.jackrabbit.core.persistence.db.DatabasePersistenceManager.close(DatabasePersistenceManager.java:253)
      [exec] at org.apache.jackrabbit.core.RepositoryImpl$WorkspaceInfo.dispose(RepositoryImpl.java:1825)
      [exec] at org.apache.jackrabbit.core.RepositoryImpl.doShutdown(RepositoryImpl.java:946)
      [exec] at org.apache.jackrabbit.core.RepositoryImpl.shutdown(RepositoryImpl.java:900)
      [exec] at org.apache.jackrabbit.jca.JCARepositoryManager$Reference.shutdown(JCARepositoryManager.java:178)
      [exec] at org.apache.jackrabbit.jca.JCARepositoryManager.shutdown(JCARepositoryManager.java:86)
      [exec] at org.apache.jackrabbit.jca.JCAResourceAdapter.stop(JCAResourceAdapter.java:47)
      [exec] at org.jboss.resource.deployment.RARDeployment.stopService(RARDeployment.java:114)
      [exec] at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
      [exec] at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
      [exec] at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:124)
      [exec] at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
      [exec] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)

      I suppose that the connection should be commited or rolled back bevor closing it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            feufeldk Dirk Feufel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: