jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk Feufel (JIRA)" <j...@apache.org>
Subject [jira] Created: (JCR-1367) Exception when closing connection under db2
Date Mon, 11 Feb 2008 12:06:08 GMT
Exception when closing connection under db2
-------------------------------------------

                 Key: JCR-1367
                 URL: https://issues.apache.org/jira/browse/JCR-1367
             Project: Jackrabbit
          Issue Type: Bug
          Components: jackrabbit-core
    Affects Versions: 1.3.3
         Environment: JBoss 4.2.2, IBM DB2 JDBC 2.0 Type 2 driver Version 8.1, Windows XP

            Reporter: Dirk Feufel
            Priority: Minor


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. 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message