java.lang.IllegalStateException: Already value [org.springframework.jdbc.datasource.ConnectionHolder@14e9851] for key [org.apache.commons.dbcp.BasicDataSource@4dd1b] bound to thread [main]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Bob Johnson, 1 year ago
Already value [org.springframework.jdbc.datasource.ConnectionHolder@14e9851] for key [org.apache.commons.dbcp.BasicDataSource@4dd1b] bound to thread [main]
via Spring JIRA by Bob Johnson, 1 year ago
Already value [org.springframework.jdbc.datasource.ConnectionHolder@14e9851] for key [org.apache.commons.dbcp.BasicDataSource@4dd1b] bound to thread [main]
via spring.io by Unknown author, 2 years ago
via Spring JIRA by Dave Syer, 1 year ago
via Spring JIRA by Dave Syer, 1 year ago
via springframework by don_raka
, 1 year ago
Already a value for key \[org.apache.commons.dbcp.BasicDataSource@17e845a\] bound to thread
java.lang.IllegalStateException: Already value [org.springframework.jdbc.datasource.ConnectionHolder@14e9851] for key [org.apache.commons.dbcp.BasicDataSource@4dd1b] bound to thread [main]
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:269)
at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:200)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
at undefined.$Proxy0.create(Unknown Source)
at com.xcel.flipper.persist.dao.ActivityExecutionLogTestService.createJob(ActivityExecutionLogTestService.java:84)
at com.xcel.flipper.persist.dao.ActivityExecutionLogTestService.initialize(ActivityExecutionLogTestService.java:55)
at com.xcel.flipper.persist.dao.ActivityExecutionLogTestService.runTest(ActivityExecutionLogTestService.java:139)
at com.xcel.flipper.persist.dao.ActivityExecutionLogTestService$$FastClassByCGLIB$$73e1c0c5.invoke()
at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
at org.springframework.aop.framework.Cglib2AopProxy$MethodInvocationImpl.invokeJoinpoint(Cglib2AopProxy.java:878)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
at com.xcel.flipper.persist.dao.ActivityExecutionLogTestService$$EnhancerByCGLIB$$35ec6769.runTest()
at com.xcel.flipper.persist.dao.ActivityExecutionLogDaoTest.testActivityExectionLogCLOBField(ActivityExecutionLogDaoTest.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Users with the same issue

3 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.