java.sql.SQLException: Connection handle has been closed and is unusable

Oracle Community | 3004 | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Transaction problem

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: Connection handle has been closed and is unusable
  2. 0

    com.br | 1 year ago
    java.sql.SQLException: Connection handle is not currently associated with a ManagedConnection

    Root Cause Analysis

    1. java.sql.SQLException

      Connection handle has been closed and is unusable

      at org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus()
    2. JBoss Application Server Connector
      WrappedConnection.getWarnings
      1. org.jboss.resource.adapter.jdbc.WrappedConnection.checkStatus(WrappedConnection.java:800)
      2. org.jboss.resource.adapter.jdbc.WrappedConnection.getWarnings(WrappedConnection.java:603)
      2 frames
    3. com.solarmetric.kodo
      EEPersistenceManager.afterCompletion
      1. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.logWarnings(SQLExecutionManagerImpl.java:1050)
      2. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.fireEvent(SQLExecutionManagerImpl.java:1030)
      3. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.close(SQLExecutionManagerImpl.java:899)
      4. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.end(JDBCStoreManager.java:232)
      5. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.commit(JDBCStoreManager.java:193)
      6. com.solarmetric.kodo.runtime.PersistenceManagerImpl.endTransaction(PersistenceManagerImpl.java:829)
      7. com.solarmetric.kodo.ee.EEPersistenceManager.afterCompletion(EEPersistenceManager.java:224)
      7 frames
    4. JBoss Transaction 7.1.0 SPI
      TransactionImpl.commit
      1. org.jboss.tm.TransactionImpl.doAfterCompletion(TransactionImpl.java:1331)
      2. org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:410)
      2 frames
    5. JBoss Application Server Server
      Container.invoke
      1. org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:369)
      2. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:253)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
      4. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
      5. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      6. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      7. org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
      8. org.jboss.ejb.Container.invoke(Container.java:674)
      8 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    7. org.jboss.mx
      ReflectedMBeanDispatcher.invoke
      1. org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      1 frame
    8. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      1 frame
    9. JBoss Application Server Server
      JRMPInvoker.invoke
      1. org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359)
      1 frame
    10. Java RT
      Thread.run
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      5. sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
      6. sun.rmi.transport.Transport$1.run(Transport.java:148)
      7. java.security.AccessController.doPrivileged(Native Method)
      8. sun.rmi.transport.Transport.serviceCall(Transport.java:144)
      9. sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
      10. sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
      11. java.lang.Thread.run(Thread.java:536)
      11 frames