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

Behavior of RDBNAM longer than 255 bytes when server and clients are at different versions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 10.11.1.1
    • Fix Version/s: None
    • Labels:
      None
    • Urgency:
      Normal

      Description

      With DERBY-4805 fix in 10.11, the RDBNAM can be more than 255bytes. But when the client and server versions are both not at 10.11 or higher, trying a RDBNAM longer than 255bytes will result in exceptions.

      1)If server is 10.10 or lower and client is 10.11 or higher, and client attempts to send RDBNAM longer than 255bytes, they will get following protocol exception
      ERROR 08006: A network protocol error was encountered and the connection has been terminated: A protocol error (Data Stream Syntax Error) was detected. Reason: 0x8,464. Perhaps this is an attempt to open a plaintext connection to an SSL enabled server.
      2)If server is 10.11 or higher and client is 10.10 or lower, and client attempts to send RDBNAM longer than 255bytes, they will get following exception
      ERROR 08001: A connection could not be established because the database name 'memory:dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;create=true' is larger than the maximum length allowed by the network protocol.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mamtas Mamta A. Satoor
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: