Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 69727 invoked from network); 16 Feb 2006 18:06:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Feb 2006 18:06:47 -0000 Received: (qmail 28017 invoked by uid 500); 16 Feb 2006 18:06:32 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 27866 invoked by uid 500); 16 Feb 2006 18:06:32 -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 27824 invoked by uid 99); 16 Feb 2006 18:06:31 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2006 10:06:31 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 799C5E0 for ; Thu, 16 Feb 2006 19:06:10 +0100 (CET) Message-ID: <1361292356.1140113170495.JavaMail.jira@ajax.apache.org> Date: Thu, 16 Feb 2006 19:06:10 +0100 (CET) From: "Deepa Remesh (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-614) Execution failed because of a Distributed Protocol Error In-Reply-To: <1808526442.1128980987760.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-614?page=all ] Deepa Remesh updated DERBY-614: ------------------------------- Attachment: reset_drda_rs.diff Attaching a patch 'reset_drda_rs.diff' which resets splitQRYDTA field in DRDAResultSet.close() method. This patch changes only one file: M java\drda\org\apache\derby\impl\drda\DRDAResultSet.java With this patch, I ran derbynetmats and derbynetclientmats with Sun JDK 1.4.2 on Win XP. No failures. Bryan mentioned he'll try to make a repro/test specific to this issue: http://www.nabble.com/Re%3A-jira-Commented%3A-%28DERBY-210%29-Network-Server-will-leak-prepared-statements-if-not-explicitly-closed-by-the-user-until-the-connection-is-closed-p2961106.html I would appreciate if someone can take a look and commit this patch. Thanks. > Execution failed because of a Distributed Protocol Error > -------------------------------------------------------- > > Key: DERBY-614 > URL: http://issues.apache.org/jira/browse/DERBY-614 > Project: Derby > Type: Bug > Components: Network Server > Versions: 10.1.1.0 > Environment: Linux 2.4, Sun JDK 1.4.2_07, full SYSINFO will be attached. > Reporter: Bryan Pendleton > Assignee: Bryan Pendleton > Fix For: 10.2.0.0 > Attachments: clientSideTrace.txt, clientStack.txt, derby-614.zip, derbynetclientmats_report.txt, query.txt, reset_drda_rs.diff, serverSideTrace.txt, spec.html, svn-diff-2005-12-04.txt, svn-status-2005-12-04.txt, sysinfo.derby > > I am intermittently receiving Distributed Protocol Error exceptions in my client code. Simultaneously, > my derby.log is recording Distributed Protocol Error exceptions on the server side. > I cannot reliably reproduce this problem. > However, the problem always occurs in the same section of my application, so I can at least > describe that section of my application. (I'll do so in an attachment). > Here is the error I receive on the server side. Sometimes, the CODPNT is 2116 and the > Error Code Value is 1d, rather than 2114 and e. > 2005-10-05 02:10:23.663 GMT Thread[DRDAConnThread_2,5,main] (DATABASE = BuildFar > m), (DRDAID = GA0A0026.P7E6-4182154075488704215{136532}), Execution failed becau > se of a Distributed Protocol Error: DRDA_Proto_SYNTAXRM; CODPNT arg = 2114; Er > ror Code Value = e > Execution failed because of a Distributed Protocol Error: DRDA_Proto_SYNTAXRM; > CODPNT arg = 2114; Error Code Value = e > 2005-10-05 02:10:23.663 GMT Thread[DRDAConnThread_2,5,main] (DATABASE = BuildFar > m), (DRDAID = GA0A0026.P7E6-4182154075488704215{136532}), null > null > org.apache.derby.impl.drda.DRDAProtocolException > at org.apache.derby.impl.drda.DRDAConnThread.throwSyntaxrm(Unknown Sourc > e) > at org.apache.derby.impl.drda.DRDAConnThread.missingCodePoint(Unknown So > urce) > at org.apache.derby.impl.drda.DRDAConnThread.parseCNTQRY(Unknown Source) > at org.apache.derby.impl.drda.DRDAConnThread.splitQRYDTA(Unknown Source) > at org.apache.derby.impl.drda.DRDAConnThread.writeFDODTA(Unknown Source) > at org.apache.derby.impl.drda.DRDAConnThread.writeQRYDTA(Unknown Source) > at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown Sou > rce) > at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira