Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 29258 invoked from network); 15 Feb 2006 23:48:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Feb 2006 23:48:38 -0000 Received: (qmail 10365 invoked by uid 500); 15 Feb 2006 23:48:38 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 10337 invoked by uid 500); 15 Feb 2006 23:48:37 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 10326 invoked by uid 99); 15 Feb 2006 23:48:37 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 15:48:37 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of tomdzk@gmail.com designates 66.249.92.195 as permitted sender) Received: from [66.249.92.195] (HELO uproxy.gmail.com) (66.249.92.195) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2006 15:48:36 -0800 Received: by uproxy.gmail.com with SMTP id k3so61636ugf for ; Wed, 15 Feb 2006 15:48:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=rXiFSc5QV8mAg8qJ0Mre+OKTMtVICIisJNmHXDwP+Ec3uI3CBbGFmXL3VYXKPjCUxmvmLpr1rWpk/QdEOTFh8U7VTWg6ECuxtFhJRSJRPc2W6D1p9OQ3B1sKuNcXXH3rEQX/C/hMM3oXb++vSeJrfbRszSebOH5vUdVgap/DMTI= Received: by 10.67.20.9 with SMTP id x9mr154414ugi; Wed, 15 Feb 2006 15:48:15 -0800 (PST) Received: by 10.67.30.2 with HTTP; Wed, 15 Feb 2006 15:48:15 -0800 (PST) Message-ID: <224f32340602151548j3c9401f6ibc20a279425f742e@mail.gmail.com> Date: Thu, 16 Feb 2006 00:48:15 +0100 From: Thomas Dudziak To: OJB Developers List Subject: Connection problems on Db2 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, after I adapted the unit tests so that they run on Db2 (i.e. shortended the identifiers to have a maximum of 18 characters), I get into other problems. After a couple of tests, I quite often get this error: org.apache.ojb.broker.PersistenceBrokerException: Set autoCommit(false) fai= led =09at org.apache.ojb.broker.platforms.PlatformDefaultImpl.changeAutoCommitS= tate(PlatformDefaultImpl.java:225) =09at org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.localBegin(Co= nnectionManagerImpl.java:180) =09at org.apache.ojb.broker.core.PersistenceBrokerImpl.beginTransaction(Per= sistenceBrokerImpl.java:450) =09at org.apache.ojb.broker.core.DelegatingPersistenceBroker.beginTransacti= on(DelegatingPersistenceBroker.java:183) =09at org.apache.ojb.broker.core.DelegatingPersistenceBroker.beginTransacti= on(DelegatingPersistenceBroker.java:183) =09at org.apache.ojb.broker.MultipleDBTest.testInsertDeleteNoAutoSequence(M= ultipleDBTest.java:191) =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:39) =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) =09at java.lang.reflect.Method.invoke(Method.java:585) =09at junit.framework.TestCase.runTest(TestCase.java:154) =09at junit.framework.TestCase.runBare(TestCase.java:127) =09at junit.framework.TestResult$1.protect(TestResult.java:106) =09at junit.framework.TestResult.runProtected(TestResult.java:124) =09at junit.framework.TestResult.run(TestResult.java:109) =09at junit.framework.TestCase.run(TestCase.java:118) =09at junit.framework.TestSuite.runTest(TestSuite.java:208) =09at junit.framework.TestSuite.run(TestSuite.java:203) =09at junit.framework.TestSuite.runTest(TestSuite.java:208) =09at junit.framework.TestSuite.run(TestSuite.java:203) =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remot= eTestRunner.java:478) =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTest= Runner.java:344) =09at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTes= tRunner.java:196) Caused by: COM.ibm.db2.jdbc.DB2Exception: [IBM][JDBC-Treiber] CLI0614E Fehler beim Senden an den Socket, der Server reagiert nicht. SQLSTATE=3D08S01 =09at COM.ibm.db2.jdbc.net.SQLExceptionGenerator.throwSendError(SQLExceptio= nGenerator.java:520) =09at COM.ibm.db2.jdbc.net.DB2Request.send(DB2Request.java:666) =09at COM.ibm.db2.jdbc.net.DB2Request.sendAndRecv(DB2Request.java:588) =09at COM.ibm.db2.jdbc.net.DB2Connection.setAutoCommit(DB2Connection.java:7= 40) =09at org.apache.ojb.broker.platforms.PlatformDefaultImpl.changeAutoCommitS= tate(PlatformDefaultImpl.java:214) =09... 22 more Test configuration is standard (as in SVN) without changes. Could this be a connection leak somewhere in the tests (or in OJB) ? Tom --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org