Return-Path: Delivered-To: apmail-ws-tuscany-dev-archive@locus.apache.org Received: (qmail 98493 invoked from network); 3 Jan 2008 11:58:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Jan 2008 11:58:07 -0000 Received: (qmail 56545 invoked by uid 500); 3 Jan 2008 11:57:55 -0000 Delivered-To: apmail-ws-tuscany-dev-archive@ws.apache.org Received: (qmail 56517 invoked by uid 500); 3 Jan 2008 11:57:55 -0000 Mailing-List: contact tuscany-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-dev@ws.apache.org Received: (qmail 56508 invoked by uid 99); 3 Jan 2008 11:57:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 03:57:55 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.212.29.157] (HELO mtagate8.de.ibm.com) (195.212.29.157) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Jan 2008 11:57:30 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate8.de.ibm.com (8.13.8/8.13.8) with ESMTP id m03BvXvH351428 for ; Thu, 3 Jan 2008 11:57:33 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m03BvXuQ3010650 for ; Thu, 3 Jan 2008 12:57:33 +0100 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m03BvWsk014928 for ; Thu, 3 Jan 2008 12:57:32 +0100 Received: from [127.0.0.1] (dhcp-9-20-176-63.hursley.ibm.com [9.20.176.63]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m03BvVEZ014890 for ; Thu, 3 Jan 2008 12:57:32 +0100 Message-ID: <477CCDAB.6040203@hursley.ibm.com> Date: Thu, 03 Jan 2008 11:57:31 +0000 From: Simon Nash Organization: IBM User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: tuscany-dev@ws.apache.org Subject: Re: [Fwd: Commit r608213 breaks exceptions-cross-binding itest] References: <477C131B.5020301@hursley.ibm.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I did some further investigation as to why this fails from a top-level build but works when running the exceptions-cross-binding itest standalone. If the databindings itest is run (in the same JVM) before the exceptions-cross-binding itest, then exceptions-cross-binding fails, otherwise it works. Drilling down one level further, if any one (or more) of the following submodules of itest/databindings: sdogen jaxbgen interop are run before itest/exceptions-cross-binding, then exceptions-cross-binding fails, otherwise it works. It appears that something is happening as a side-effect of the earlier tests that is causing the later test to fail. Reversing the order (i.e., running exceptions-cross-binding first) doesn't result in any failures from the databindings itest. Simon Simon Laws wrote: > On Jan 2, 2008 10:41 PM, Simon Nash wrote: > > >>I ran the test again (standalone, not from the itest directory) >>and it works OK now. I can't understand what changed since the >>earlier failure. See below for the error message and stack trace >>that I got earlier. Any insights into this? >> >> Simon >> >>-------- Original Message -------- >>Subject: Commit r608213 breaks exceptions-cross-binding itest >>Date: Wed, 02 Jan 2008 22:16:44 +0000 >>From: Simon Nash >>Organization: IBM >>To: tuscany-dev@ws.apache.org >> >>It looks like my commit r608213 has broken the exceptions-cross-binding >>itest. My apologies for this. I am looking into this now. My first >>impression is that I need to refine the code for matching exception types >>to data bindings in DefaultDataBindingExtensionPoint.introspectType() so >>that the new java:exception data binding is not selected for exceptions >>generated by JAXB. I will send another update as soon as I have more >>news. >> >> Simon >> >>- - - - - - - - errors from first run are below - - - - - - - - >> (cut) >> >>Simon > > > I see the same problem on a clean build. I'm afraid that I don't have any > particular insight but stopping it at the point where the problem occurs > shows that for the source operation "stockQuoteOffer" the 3 source fault > types are given as > > java.rmi.RemoteException > org.apache.tuscany.sca.test.exceptions.sdohandgen.InvalidSymbolSDOException > org.apache.tuscany.sca.test.exceptions.sdohandgen.MarketClosedSDOException > > The target operation is "stockQuoteOffer" and the 3 fault types here are > > org.apache.tuscany.sca.test.exceptions.impl.jaxb.InvalidSymbolFault_Exception > org.apache.tuscany.sca.test.exceptions.impl.jaxb.MarketClosedFault > org.apache.tuscany.sca.test.exceptions.impl.jaxb.TestNotDeclaredAtSourceFault > > It's trying to throw InvalidSymbolFault_Exception and reports that it can't > find a match between source and target faults. There is some matching logic > that would require further investigation. Any of this make sense? > > Simon > --------------------------------------------------------------------- To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org For additional commands, e-mail: tuscany-dev-help@ws.apache.org