[ http://issues.apache.org/jira/browse/TUSCANY-143?page=all ]

Kevin Williams reassigned TUSCANY-143:
--------------------------------------

    Assign To: Kevin Williams

> Intermittent problem with connections
> -------------------------------------
>
>          Key: TUSCANY-143
>          URL: http://issues.apache.org/jira/browse/TUSCANY-143
>      Project: Tuscany
>         Type: Bug

>   Components: Java DAS RDB
>     Reporter: Brent Daniel
>     Assignee: Kevin Williams

>
> From time to time I am getting the exception listed below. It seems to be 
> related to the releaseResources() function added recently. 
> java.lang.RuntimeException: SQL Exception: No current connection.
>       at 
> org.apache.tuscany.das.rdb.impl.ConnectionImpl.errorCleanUp(ConnectionImpl.java:69)
>       at 
> org.apache.tuscany.das.rdb.impl.ApplyChangesCommandImpl.execute(ApplyChangesCommandImpl.java:134)
>       at 
> org.apache.tuscany.das.rdb.test.BestPracticeTests.testddDepartmentToFirstCompany(BestPracticeTests.java:81)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:615)
>       at junit.framework.TestCase.runTest(TestCase.java:154)
>       at junit.framework.TestCase.runBare(TestCase.java:127)
>       at junit.framework.TestResult$1.protect(TestResult.java:106)
>       at junit.framework.TestResult.runProtected(TestResult.java:124)
>       at junit.framework.TestResult.run(TestResult.java:109)
>       at junit.framework.TestCase.run(TestCase.java:118)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
>       at 
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
> Caused by: SQL Exception: No current connection.
>       at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source)
>       at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown 
> Source)
>       at org.apache.derby.impl.jdbc.EmbedConnection.rollback(Unknown Source)
>       at 
> org.apache.tuscany.das.rdb.impl.ConnectionImpl.errorCleanUp(ConnectionImpl.java:66)
>       ... 15 more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to