db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepa Remesh (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-1020) Network Server treats errors on cleanup of connections as an unexpected error after intentional shutdown of the database/server
Date Mon, 05 Jun 2006 19:05:30 GMT
    [ http://issues.apache.org/jira/browse/DERBY-1020?page=comments#action_12414823 ] 

Deepa Remesh commented on DERBY-1020:
-------------------------------------

I saw this test fail on one of the test machines. From the stack trace, I see that the this
intermittent error happens at different points in the rollback process not just resetSavepoints.
Just something to consider when we think of a solution. Here is the stack trace:

org.apache.derby.iapi.services.context.ShutdownException: 
	at org.apache.derby.iapi.services.context.ContextManager.checkInterrupt(ContextManager.java:430)
	at org.apache.derby.iapi.services.context.ContextManager.getContext(ContextManager.java:149)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.getStatementContext(GenericLanguageConnectionContext.java:2424)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doRollback(GenericLanguageConnectionContext.java:1261)
	at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userRollback(GenericLanguageConnectionContext.java:1224)
	at org.apache.derby.impl.jdbc.TransactionResourceImpl.rollback(TransactionResourceImpl.java:242)
	at org.apache.derby.impl.jdbc.EmbedConnection.close(EmbedConnection.java:994)
	at org.apache.derby.impl.jdbc.EmbedConnection.close(EmbedConnection.java:970)
	at org.apache.derby.impl.drda.Database.close(Database.java:320)
	at org.apache.derby.impl.drda.Session.close(Session.java:110)
	at org.apache.derby.impl.drda.DRDAConnThread.closeSession(DRDAConnThread.java:7256)
	at org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:256)




> Network Server treats errors on cleanup of connections as an unexpected error after intentional
shutdown of the database/server
> -------------------------------------------------------------------------------------------------------------------------------
>
>          Key: DERBY-1020
>          URL: http://issues.apache.org/jira/browse/DERBY-1020
>      Project: Derby
>         Type: Bug

>   Components: Network Server
>     Versions: 10.1.2.3, 10.1.3.0, 10.3.0.0, 10.2.0.0
>     Reporter: Kathey Marsden
>     Priority: Minor

>
> Any exceptions that occur in the rollback and close of connections in Session.close()
are treated as unexpected errors and print to the console.
> Exceptions that occur cleaning up the connection after intentional shutdown are not really
unexpected. 
> The console message can be disconcerting and  intermittent as it depends on time.  It
is the root cause of DERBY-273 and I believe DERBY-803

-- 
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


Mime
View raw message