Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4911

restoreIntrFlagIfSeen may throw ShutdownException causing confusing console stack trace at server shutdown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.7.1.1, 10.8.1.2
    • 10.7.1.1, 10.8.1.2
    • Network Server, Store
    • None

    Description

      Exception in thread "DRDAConnThread_508"
      org.apache.derby.iapi.error.ShutdownException:
      at org.apache.derby.iapi.services.context.ContextManager.checkInterrupt(ContextManager.java:437)
      at org.apache.derby.iapi.services.context.ContextManager.getContext(ContextManager.java:155)
      at org.apache.derby.iapi.services.context.ContextService.getContextOrNull(ContextService.java:249)
      at org.apache.derby.iapi.util.InterruptStatus.restoreIntrFlagIfSeen(InterruptStatus.java:158)
      at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(TransactionResourceImpl.java:356)
      at org.apache.derby.impl.jdbc.EmbedConnection.handleException(EmbedConnection.java:2284)
      at org.apache.derby.impl.jdbc.ConnectionChild.handleException(ConnectionChild.java:82)
      at org.apache.derby.impl.jdbc.EmbedPreparedStatement.closeActions(EmbedPreparedStatement.java:261)
      at org.apache.derby.impl.jdbc.EmbedStatement.close(EmbedStatement.java:307)
      at org.apache.derby.impl.drda.DRDAStatement.close(DRDAStatement.java:1027)
      at org.apache.derby.impl.drda.Database.close(Database.java:364)
      at org.apache.derby.impl.drda.Session.close(Session.java:115)
      at org.apache.derby.impl.drda.DRDAConnThread.closeSession(DRDAConnThread.java:8289)
      at org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:315)

      Attachments

        1. derby-4911-a.diff
          1 kB
          Dag H. Wanvik

        Issue Links

          Activity

            People

              dagw Dag H. Wanvik
              dagw Dag H. Wanvik
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: