Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 17260 invoked from network); 25 Sep 2006 14:03:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2006 14:03:23 -0000 Received: (qmail 56852 invoked by uid 500); 25 Sep 2006 14:03:22 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 56823 invoked by uid 500); 25 Sep 2006 14:03:22 -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 56814 invoked by uid 99); 25 Sep 2006 14:03:22 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 07:03:22 -0700 Authentication-Results: idunn.apache.osuosl.org header.from=m.v.lunteren@gmail.com; domainkeys=good Authentication-Results: idunn.apache.osuosl.org smtp.mail=m.v.lunteren@gmail.com; spf=pass X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 64.233.184.229 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.184.229] ([64.233.184.229:11930] helo=wr-out-0506.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id D5/98-13750-C91E7154 for ; Mon, 25 Sep 2006 07:03:13 -0700 Received: by wr-out-0506.google.com with SMTP id i23so622523wra for ; Mon, 25 Sep 2006 07:02:41 -0700 (PDT) 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=X26k0/1CS0cpFlmZVcXy2Qcphh5rIE5TJ8fhPR0pJOtle643DoDFLh5Pl2cCwlsEyX5rvof+7REP0IXOc+xmcBW7xkvpU7mu99bPx6hXtiqIJHRTcaXIdplO4UqPkaalO0YO7dzawmioExhj6ueJEuB0pPUxYOQsRZDfsMuFk5k= Received: by 10.90.119.15 with SMTP id r15mr1313220agc; Mon, 25 Sep 2006 07:02:40 -0700 (PDT) Received: by 10.90.93.11 with HTTP; Mon, 25 Sep 2006 07:02:40 -0700 (PDT) Message-ID: Date: Mon, 25 Sep 2006 07:02:40 -0700 From: "Myrna van Lunteren" To: derbydev Subject: q re XA transactions and test checkDataSource MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, In connection to trying to do remote server / IPV6 testing for the release candidate, I ran into some behavior in the test checkDataSource that I'm trying to understand. I don't think there's a bug, but I do need some help. The problem is that the test doesn't clean up after itself. Thus, subsequent tests - e.g. checkDataSource30 - (which run on the same database with remote server testing) fail. This test used to pass because of a subtest that used to get skipped for DerbyNetClient. The problem I'm having is trying to drop the table ru at the end of the test. There's a lock on it. The lock gets set after this line in the test: ------------------------------- showStatementState("CS GLOBAL ", csruState); resultSetQuery("Params-global-1", psParams.executeQuery()); --> xar.end(xid, XAResource.TMSUCCESS); My question is: how can I release the locks? I've tried closing all statements and committing/rolling back all connections I can see, but still the lock remains, or whatever I'm attempting gives an error. I probably need to reattach a resource to a connection? Something like: xar.start(xid, XAResource.TMNOFLAGS); ? But what I tried so far didn't work (I've tried so many probably non-sensible things at this point to even mention them). How do I do this? Thx, Myrna