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/19 22:40:19 UTC

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

     [ https://issues.apache.org/jira/browse/DERBY-6472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mamta A. Satoor resolved DERBY-6472.
------------------------------------

    Resolution: Won't Fix

> Behavior of RDBNAM longer than 255 bytes 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)