java.lang.RuntimeException: org.springframework.dao.CannotAcquireLockException: StatementCallback; SQL []; A lock could not be obtained within the time requested; nested exception is java.sql.BatchUpdateException: A lock could not be obtained within the time requested

Kuali JIRA | Aaron Godert | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

    Root Cause Analysis

    1. java.lang.RuntimeException

      org.springframework.dao.CannotAcquireLockException: StatementCallback; SQL []; A lock could not be obtained within the time requested; nested exception is java.sql.BatchUpdateException: A lock could not be obtained within the time requested

      at org.kuali.rice.test.RiceTestCase.setUp()
    2. org.kuali.rice
      RiceTestCase.setUp
      1. org.kuali.rice.test.RiceTestCase.setUp(RiceTestCase.java:75)
      1 frame
    3. org.kuali.bus
      KSBTestCase.setUp
      1. org.kuali.bus.test.KSBTestCase.setUp(KSBTestCase.java:55)
      1 frame
    4. edu.iu.uis
      SoapServiceDefinitionTest.setUp
      1. edu.iu.uis.eden.messaging.SoapServiceDefinitionTest.setUp(SoapServiceDefinitionTest.java:36)
      1 frame
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    6. JUnit
      BeforeAndAfterRunner.invokeMethod
      1. org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
      1 frame