Return-Path: X-Original-To: apmail-db-derby-user-archive@www.apache.org Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C9C0396DB for ; Thu, 15 Dec 2011 00:07:15 +0000 (UTC) Received: (qmail 52675 invoked by uid 500); 15 Dec 2011 00:07:15 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 52639 invoked by uid 500); 15 Dec 2011 00:07:15 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 52632 invoked by uid 99); 15 Dec 2011 00:07:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2011 00:07:15 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [141.146.126.227] (HELO acsinet15.oracle.com) (141.146.126.227) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Dec 2011 00:07:04 +0000 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id pBF06gCX007364 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 15 Dec 2011 00:06:43 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id pBF06f73029607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 15 Dec 2011 00:06:42 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id pBF06fJq015000 for ; Wed, 14 Dec 2011 18:06:41 -0600 Received: from localhost (/188.113.85.108) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 14 Dec 2011 16:06:40 -0800 From: dag.wanvik@oracle.com (Dag H. Wanvik) To: "Derby Discussion" Subject: Re: Unable to connect to Derby 10.8.2.2 with IBM DB2 v 9.7 Data Client References: <007901ccb99e$2fbcb790$8f3626b0$@com> Date: Thu, 15 Dec 2011 01:06:38 +0100 In-Reply-To: <007901ccb99e$2fbcb790$8f3626b0$@com> (Janardhan Mallela's message of "Tue, 13 Dec 2011 19:20:30 +0530") Message-ID: User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/23.1 (usg-unix-v) MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090203.4EE93A13.005F,ss=1,re=0.000,fgs=0 X-Virus-Checked: Checked by ClamAV on apache.org Janardhan Mallela writes: > Hi, > > > > My need is to connect to Derby through PHP. I am unable to connect to Derby > 10.8.2.2 with IBM DB2 v 9.7 Data Client using PHP. But I am able to connect > to Derby 10.4.2.2 with same IBM DB 2 connector. Following is the error I am > getting. Let me know, if anyone got this problem. It would be helpful to me, > if any workaround provided. Derby 10.8 (it's been this way for some time) only supports the Derby client driver, so you are out of luck if you need to use the newer Derby drivers, I'm afraid. Thanks, Dag > > > > > > At Derby: > > > > org.apache.derby.impl.drda.DRDAProtocolException: Execution failed because > of a Distributed Protocol Error: DRDA_Proto_PRCCNVRM; CODPNT arg = 106e; > Error Code Value = 12 > > at org.apache.derby.impl.drda.DRDAConnThread.rdbnamMismatch(Unknown > Source) > > at org.apache.derby.impl.drda.DRDAConnThread.parseSECCHK(Unknown > Source) > > at > org.apache.derby.impl.drda.DRDAConnThread.parseDRDAConnection(Unknown > Source) > > at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown > Source) > > at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source) > > > > At IBM DB2 Client: > > SQLSTATE[08001] SQLDriverConnect: -30020 [IBM][CLI Driver] SQL30020N > Execution of the command or SQL statement failed because of a syntax error > in the communication data stream that will affect the successful execution > of subsequent commands and SQL statements: Reason Code "0x1245"("0212")"". > SQLSTATE=58009 > > > > > > > > Regards, > > Janardhan Mallela | Tech Lead > > > > zetainteractive > > Elite Plaza, Somajiguda, Hyderabad, AP 500082 > > T +91 40 40309000 |Ext-247 > > www.zetainteractive.com > > > > Follow Zeta Interactive: > > blog_24x24 > facebook_24x24 > twitter_24x24 > linkedin_24x24 > > Zeta_EmailQRCode > > > > > >