org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not inspect JDBC autocommit mode; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.); nested exception is org.jboss.util.NestedSQLException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)

Coderanch | Pratik Parekh | 5 years ago
  1. 0

    Hibernate error

    Coderanch | 5 years ago | Pratik Parekh
    org.springframework.jdbc.UncategorizedSQLException: Hibernate operation: could not inspect JDBC autocommit mode; uncategorized SQLException for SQL [???]; SQL state [null]; error code [0]; You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.); nested exception is org.jboss.util.NestedSQLException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)
  2. 0

    Re:Quartz dataSource usage issue

    Terracotta | 5 years ago | ritshe
    org.quartz.JobPersistenceException: Failed to obtain DB connection from data source 'springNonTxDataSource.my_SCHEDULER': org.jboss.util.NestedSQLException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.) [See nested exception: org.jboss.util.NestedSQLException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)]
  3. 0

    Enterprise Java Beans Certificate Authority developpment list

    gmane.org | 11 months ago
    org.ejbca.core.model.ca.publisher.PublisherConnectionException: Connection in init failed: Unable to get managed connection for OcspDS; - nested throwable: (javax.resource.ResourceException: Unable to get managed connection for OcspDS)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JDBC Unable to get managed connection

    Stack Overflow | 3 years ago | DaveB
    javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.GenericJDBCException: Cannot open connection
  6. 0

    JBoss 4.2 can't be started (controlled) from Eclipse Luna

    Stack Overflow | 2 years ago
    org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: COM.ibm.db2.jdbc.app.DB2Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: COM.ibm.db2.jdbc.app.DB2Driver)); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Failed to register driver for: COM.ibm.db2.jdbc.app.DB2Driver; - nested throwable: (java.lang.ClassNotFoundException: No ClassLoaders found for: COM.ibm.db2.jdbc.app.DB2Driver)))

    9 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.resource.ResourceException

      You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.

      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection()
    2. JBoss Application Server Connector
      WrapperDataSource.getConnection
      1. org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:487)
      2. org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
      3. org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
      3 frames
    3. Spring Framework
      TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke
      1. org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:113)
      2. org.springframework.jdbc.datasource.TransactionAwareDataSourceProxy$TransactionAwareInvocationHandler.invoke(TransactionAwareDataSourceProxy.java:210)
      2 frames
    4. Unknown
      $Proxy278.isClosed
      1. $Proxy278.isClosed(Unknown Source)
      1 frame
    5. Hibernate
      JDBCContext.afterNontransactionalQuery
      1. org.hibernate.jdbc.ConnectionManager.isAutoCommit(ConnectionManager.java:189)
      2. org.hibernate.jdbc.JDBCContext.afterNontransactionalQuery(JDBCContext.java:243)
      2 frames
    6. Hibernate
      SQLQueryImpl.executeUpdate
      1. org.hibernate.impl.SessionImpl.afterOperation(SessionImpl.java:417)
      2. org.hibernate.impl.SessionImpl.executeNativeUpdate(SessionImpl.java:1166)
      3. org.hibernate.impl.SQLQueryImpl.executeUpdate(SQLQueryImpl.java:334)
      3 frames
    7. com.ew.esp
      WindowDataProviderDaoImpl$3.doInHibernate
      1. com.ew.esp.dao.impl.WindowDataProviderDaoImpl$3.doInHibernate(WindowDataProviderDaoImpl.java:80)
      1 frame
    8. Hibernate
      HibernateTemplate.execute
      1. org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419)
      2. org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:339)
      2 frames
    9. com.ew.esp
      QuoteDBListener.update
      1. com.ew.esp.dao.impl.WindowDataProviderDaoImpl.persist(WindowDataProviderDaoImpl.java:78)
      2. com.ew.esp.service.impl.QuoteDBListener.update(QuoteDBListener.java:28)
      2 frames
    10. com.espertech.esper
      EPRuntimeImpl.sendEvent
      1. com.espertech.esper.core.StatementResultServiceImpl.processDispatch(StatementResultServiceImpl.java:221)
      2. com.espertech.esper.core.StatementResultServiceImpl.execute(StatementResultServiceImpl.java:197)
      3. com.espertech.esper.core.UpdateDispatchViewBase.execute(UpdateDispatchViewBase.java:75)
      4. com.espertech.esper.core.UpdateDispatchFutureSpin.execute(UpdateDispatchFutureSpin.java:85)
      5. com.espertech.esper.dispatch.DispatchServiceImpl.dispatchFromQueue(DispatchServiceImpl.java:57)
      6. com.espertech.esper.dispatch.DispatchServiceImpl.dispatch(DispatchServiceImpl.java:31)
      7. com.espertech.esper.core.EPRuntimeImpl.dispatch(EPRuntimeImpl.java:1053)
      8. com.espertech.esper.core.EPRuntimeImpl.processWrappedEvent(EPRuntimeImpl.java:411)
      9. com.espertech.esper.core.EPRuntimeImpl.processEvent(EPRuntimeImpl.java:380)
      10. com.espertech.esper.core.EPRuntimeImpl.sendEvent(EPRuntimeImpl.java:210)
      10 frames
    11. com.ew.esp
      AbstractQuoteParser.update
      1. com.ew.esp.service.impl.StatementRepositoryImpl.sendEvent(StatementRepositoryImpl.java:59)
      2. com.ew.esp.service.impl.AbstractQuoteParser.sendQuote(AbstractQuoteParser.java:57)
      3. com.ew.esp.service.impl.FlatRatePremiumParser.parseQuote(FlatRatePremiumParser.java:31)
      4. com.ew.esp.service.impl.AbstractQuoteParser.update(AbstractQuoteParser.java:42)
      4 frames
    12. com.espertech.esper
      EPRuntimeImpl.sendEvent
      1. com.espertech.esper.core.StatementResultServiceImpl.processDispatch(StatementResultServiceImpl.java:221)
      2. com.espertech.esper.core.StatementResultServiceImpl.execute(StatementResultServiceImpl.java:197)
      3. com.espertech.esper.core.UpdateDispatchViewBase.execute(UpdateDispatchViewBase.java:75)
      4. com.espertech.esper.core.UpdateDispatchFutureSpin.execute(UpdateDispatchFutureSpin.java:85)
      5. com.espertech.esper.dispatch.DispatchServiceImpl.dispatchFromQueue(DispatchServiceImpl.java:57)
      6. com.espertech.esper.dispatch.DispatchServiceImpl.dispatch(DispatchServiceImpl.java:31)
      7. com.espertech.esper.core.EPRuntimeImpl.dispatch(EPRuntimeImpl.java:1053)
      8. com.espertech.esper.core.EPRuntimeImpl.processWrappedEvent(EPRuntimeImpl.java:411)
      9. com.espertech.esper.core.EPRuntimeImpl.processEvent(EPRuntimeImpl.java:380)
      10. com.espertech.esper.core.EPRuntimeImpl.sendEvent(EPRuntimeImpl.java:210)
      10 frames
    13. com.ew.esp
      CommodityQuoteListener.update
      1. com.ew.esp.service.impl.StatementRepositoryImpl.sendEvent(StatementRepositoryImpl.java:59)
      2. com.ew.esp.service.impl.CommodityQuoteListener.update(CommodityQuoteListener.java:35)
      2 frames
    14. com.espertech.esper
      EPRuntimeImpl.sendEvent
      1. com.espertech.esper.core.StatementResultServiceImpl.processDispatch(StatementResultServiceImpl.java:221)
      2. com.espertech.esper.core.StatementResultServiceImpl.execute(StatementResultServiceImpl.java:197)
      3. com.espertech.esper.core.UpdateDispatchViewBase.execute(UpdateDispatchViewBase.java:75)
      4. com.espertech.esper.core.UpdateDispatchFutureSpin.execute(UpdateDispatchFutureSpin.java:85)
      5. com.espertech.esper.dispatch.DispatchServiceImpl.dispatchFromQueue(DispatchServiceImpl.java:57)
      6. com.espertech.esper.dispatch.DispatchServiceImpl.dispatch(DispatchServiceImpl.java:31)
      7. com.espertech.esper.core.EPRuntimeImpl.dispatch(EPRuntimeImpl.java:1053)
      8. com.espertech.esper.core.EPRuntimeImpl.processWrappedEvent(EPRuntimeImpl.java:411)
      9. com.espertech.esper.core.EPRuntimeImpl.processEvent(EPRuntimeImpl.java:380)
      10. com.espertech.esper.core.EPRuntimeImpl.sendEvent(EPRuntimeImpl.java:210)
      10 frames
    15. com.ew.esp
      McxTcpSubscriber$3.run
      1. com.ew.esp.service.impl.StatementRepositoryImpl.sendEvent(StatementRepositoryImpl.java:59)
      2. com.ew.esp.service.impl.McxTcpSubscriber.pushData(McxTcpSubscriber.java:147)
      3. com.ew.esp.service.impl.McxTcpSubscriber.access$100(McxTcpSubscriber.java:26)
      4. com.ew.esp.service.impl.McxTcpSubscriber$3.run(McxTcpSubscriber.java:94)
      4 frames
    16. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames