org.springframework.jdbc.CannotGetJdbcConnectionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Scenario error while adding item to cart
    via by Ravi Mandli,
  • Transaction is not active Spring Data JPA
    via Stack Overflow by Raj Kumar
    ,
    • org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: javax.resource.ResourceException: IJ000451: The connection manager is shutdown: java:/my/DS1 at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:80)[spring-jdbc-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:575)[spring-jdbc-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:818)[spring-jdbc-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:874)[spring-jdbc-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.jdbc.core.JdbcTemplate.update(JdbcTemplate.java:882)[spring-jdbc-3.2.3.RELEASE.jar:3.2.3.RELEASE] at com.my.app.scanner.db.SyncEntryRepository.deleteById(SyncEntryRepository.java:26)[classes:] at com.my.app.rules.orphanentries.OrphanedEntriesProcessor.process(OrphanedEntriesProcessor.java:22)[classes:] at com.my.app.routing.Router$RoutingWorker.performRouting(Router.java:49)[classes:] at com.my.app.routing.Router$RoutingWorker.route(Router.java:32)[classes:] at com.my.app.routing.Router.route(Router.java:18)[classes:] at com.my.app.transformation.Transformation.perform(Transformation.java:21)[classes:] at com.my.app.MyApp.run(MyApp.java:18)[classes:] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[rt.jar:1.6.0_45] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[rt.jar:1.6.0_45] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[rt.jar:1.6.0_45] at java.lang.reflect.Method.invoke(Method.java:597)[rt.jar:1.6.0_45] at org.springframework.scheduling.support.ScheduledMethodRunnable.run(ScheduledMethodRunnable.java:64)[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.scheduling.support.DelegatingErrorHandlingRunnable.run(DelegatingErrorHandlingRunnable.java:53)[spring-context-3.2.3.RELEASE.jar:3.2.3.RELEASE] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)[rt.jar:1.6.0_45] at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)[rt.jar:1.6.0_45] at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)[rt.jar:1.6.0_45] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)[rt.jar:1.6.0_45] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)[rt.jar:1.6.0_45] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)[rt.jar:1.6.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)[rt.jar:1.6.0_45] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)[rt.jar:1.6.0_45] at java.lang.Thread.run(Thread.java:662)[rt.jar:1.6.0_45] Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000451: The connection manager is shutdown: java:/my/DS1 at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:137) at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:111)[spring-jdbc-3.2.3.RELEASE.jar:3.2.3.RELEASE] at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:77)[spring-jdbc-3.2.3.RELEASE.jar:3.2.3.RELEASE] ... 26 more Caused by: javax.resource.ResourceException: IJ000451: The connection manager is shutdown: java:/my/DS1 at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.getManagedConnection(AbstractConnectionManager.java:321) at org.jboss.jca.core.connectionmanager.tx.TxConnectionManagerImpl.getManagedConnection(TxConnectionManagerImpl.java:368) at org.jboss.jca.core.connectionmanager.AbstractConnectionManager.allocateConnection(AbstractConnectionManager.java:464) at org.jboss.jca.adapters.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:129) ... 28 more

    Users with the same issue

    ivanszkypeterivanszkypeter
    1 times, last one,
    Andreas HäberAndreas Häber
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    19 more bugmates