Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7010910276 for ; Wed, 19 Feb 2014 21:40:41 +0000 (UTC) Received: (qmail 23657 invoked by uid 500); 19 Feb 2014 21:40:20 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 23603 invoked by uid 500); 19 Feb 2014 21:40:20 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 23591 invoked by uid 99); 19 Feb 2014 21:40:19 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Feb 2014 21:40:19 +0000 Date: Wed, 19 Feb 2014 21:40:19 +0000 (UTC) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (DERBY-6472) Behavior of RDBNAM longer than 255 bytes when server and clients are at different versions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6472?page=3Dcom.atlassia= n.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 d= ifferent 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 w= hen the client and server versions are both not at 10.11 or higher, trying = a RDBNAM longer than 255bytes will result in exceptions.=20 > 1)If server is 10.10 or lower and client is 10.11 or higher, and client a= ttempts to send RDBNAM longer than 255bytes, they will get following protoc= ol exception > ERROR 08006: A network protocol error was encountered and the connection = has been terminated: A protocol error (Data Stream Syntax Error) was detect= ed. Reason: 0x8,464. Perhaps this is an attempt to open a plaintext connec= tion to an SSL enabled server. > 2)If server is 10.11 or higher and client is 10.10 or lower, and client a= ttempts to send RDBNAM longer than 255bytes, they will get following except= ion > ERROR 08001: A connection could not be established because the database n= ame 'memory:dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234= 567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir123456789= 0/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir= 1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir12345= 67890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890= /dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1= 234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir123456= 7890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/= dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir12= 34567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567= 890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/d= ir1234567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir123= 4567890/dir1234567890/dir1234567890/dir1234567890/dir1234567890/dir12345678= 90/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa;create=3Dtrue' is larger than th= e maximum length allowed by the network protocol. -- This message was sent by Atlassian JIRA (v6.1.5#6160)