You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Mamta A. Satoor (JIRA)" <ji...@apache.org> on 2014/02/07 04:36:19 UTC

[jira] [Created] (DERBY-6472) Behavior of RDBNAM longer than 255 characters when server and clients are at different versions

Mamta A. Satoor created DERBY-6472:
--------------------------------------

             Summary: Behavior of RDBNAM longer than 255 characters when server and clients are at different versions
                 Key: DERBY-6472
                 URL: https://issues.apache.org/jira/browse/DERBY-6472
             Project: Derby
          Issue Type: Bug
          Components: Network Client, Network Server
    Affects Versions: 10.11.0.0
            Reporter: Mamta A. Satoor


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.




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)