From derby-dev-return-11328-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Wed Dec 07 23:24:39 2005 Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 75975 invoked from network); 7 Dec 2005 23:24:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Dec 2005 23:24:38 -0000 Received: (qmail 15440 invoked by uid 500); 7 Dec 2005 23:24:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 15386 invoked by uid 500); 7 Dec 2005 23:24:34 -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 15206 invoked by uid 99); 7 Dec 2005 23:24:33 -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; Wed, 07 Dec 2005 15:24:33 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 4B029191 for ; Thu, 8 Dec 2005 00:24:12 +0100 (CET) Message-ID: <2116677593.1133997852305.JavaMail.jira@ajax.apache.org> Date: Thu, 8 Dec 2005 00:24:12 +0100 (CET) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Assigned: (DERBY-745) DRDA Protocol Exception using DB2JCC driver and CLOBs from IJ In-Reply-To: <124701995.1133931008595.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-745?page=all ] Bryan Pendleton reassigned DERBY-745: ------------------------------------- Assign To: Bryan Pendleton > DRDA Protocol Exception using DB2JCC driver and CLOBs from IJ > ------------------------------------------------------------- > > Key: DERBY-745 > URL: http://issues.apache.org/jira/browse/DERBY-745 > Project: Derby > Type: Bug > Components: Network Server > Versions: 10.1.1.0 > Reporter: Bryan Pendleton > Assignee: Bryan Pendleton > Priority: Minor > > Trying to manipulate a cursor via IJ using the DB2JCC driver talking to the Network Server encounters a DRDA Protocol Exception: > ERROR 58009: Execution failed due to a distribution protocol error that caused deallocation of the conversation. A DRDA Data Stream Syntax Error was detected. Reason: 0x2113 > Here is how to reproduce the problem: > 1) Start the Network Server, including derbyTesting.jar in your classpath > 2) Create a database. In my script below I called the database 'testBig', but you can use any name, just tweak the connect statement below > 3) Start IJ, being sure that > a) db2jcc.jar and db2jcc_license_c.jar are in your path > b) you are authenticated (-Dij.user=APP -Dij.password=APP in the simple case) > 4) Run the following small script. The error occurs on the 'first c1' line. > driver 'com.ibm.db2.jcc.DB2Driver'; > connect 'jdbc:derby:net://localhost:1527/testBig'; > create procedure INSERTDATA1(IN a int) language java parameter style java external name 'org.apache.derbyTesting.functionTests.util.ProcedureTest.bigTestData'; > prepare p1 as 'call INSERTDATA1(?)'; > drop table big; > create table big(c1 clob(40000), c2 clob(40000), c3 clob(40000)); > execute p1 using 'values 8'; > get scroll insensitive cursor c1 as 'select * from big'; > first c1; > quit; -- 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