Derby
  1. Derby
  2. DERBY-1595

Network server fails with DRDAProtocolException if a BLOB with size 2147483647 is streamed from client

    Details

    • Urgency:
      Normal

      Description

      When executing a program which inserts a BLOB of size 2GB-1, the Network server fails with DRDAProtocolException. This happens before it starts handling the actual LOB data:

      java org.apache.derby.drda.NetworkServerControl start
      Apache Derby Network Server - 10.2.0.4 alpha started and ready to accept connections on port 1527 at 2006-07-26 14:15:21.284 GMT
      Execution failed because of a Distributed Protocol Error: DRDA_Proto_SYNTAXRM; CODPNT arg = 0; Error Code Value = c
      org.apache.derby.impl.drda.DRDAProtocolException
      at org.apache.derby.impl.drda.DRDAConnThread.throwSyntaxrm(DRDAConnThread.java:441)
      at org.apache.derby.impl.drda.DDMReader.readLengthAndCodePoint(DDMReader.java:554)
      at org.apache.derby.impl.drda.DDMReader.getCodePoint(DDMReader.java:617)
      at org.apache.derby.impl.drda.DRDAConnThread.parseSQLDTA_work(DRDAConnThread.java:4072)
      at org.apache.derby.impl.drda.DRDAConnThread.parseSQLDTA(DRDAConnThread.java:3928)
      at org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTTobjects(DRDAConnThread.java:3806)
      at org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTT(DRDAConnThread.java:3640)
      at org.apache.derby.impl.drda.DRDAConnThread.processCommands(DRDAConnThread.java:928)
      at org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:254)
      null
      org.apache.derby.impl.drda.DRDAProtocolException
      at org.apache.derby.impl.drda.DRDAConnThread.throwSyntaxrm(DRDAConnThread.java:441)
      at org.apache.derby.impl.drda.DDMReader.readLengthAndCodePoint(DDMReader.java:554)
      at org.apache.derby.impl.drda.DDMReader.getCodePoint(DDMReader.java:617)
      at org.apache.derby.impl.drda.DRDAConnThread.parseSQLDTA_work(DRDAConnThread.java:4072)
      at org.apache.derby.impl.drda.DRDAConnThread.parseSQLDTA(DRDAConnThread.java:3928)
      at org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTTobjects(DRDAConnThread.java:3806)
      at org.apache.derby.impl.drda.DRDAConnThread.parseEXCSQLSTT(DRDAConnThread.java:3640)
      at org.apache.derby.impl.drda.DRDAConnThread.processCommands(DRDAConnThread.java:928)
      at org.apache.derby.impl.drda.DRDAConnThread.run(DRDAConnThread.java:254)

        Issue Links

          Activity

            People

            • Assignee:
              Kristian Waagan
              Reporter:
              Andreas Korneliussen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development