Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 68370 invoked from network); 17 Apr 2006 16:49:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Apr 2006 16:49:28 -0000 Received: (qmail 37579 invoked by uid 500); 17 Apr 2006 16:49:25 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 37535 invoked by uid 500); 17 Apr 2006 16:49:24 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 37524 invoked by uid 99); 17 Apr 2006 16:49:24 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 09:49:24 -0700 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 davanum@gmail.com designates 64.233.162.193 as permitted sender) Received: from [64.233.162.193] (HELO nz-out-0102.google.com) (64.233.162.193) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 09:49:21 -0700 Received: by nz-out-0102.google.com with SMTP id m22so573512nzf for ; Mon, 17 Apr 2006 09:49:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=gg6CYEK8dg70dvTld6EYyCPpLjgQyGItFCcxWoEuKYZ2BDUAX68gVHomjIbrayrgl1wrR3ic35947E7hacXFoHteq3RQEMTI5Pjne5fhwGGz/x6itfI+pBiCEvyCFw+a+OUxRcf1jTOEdwbiEcqGn4Y6ZKD0WHOv5oLHLKWMII0= Received: by 10.37.15.21 with SMTP id s21mr1521422nzi; Mon, 17 Apr 2006 09:49:01 -0700 (PDT) Received: by 10.36.68.1 with HTTP; Mon, 17 Apr 2006 09:48:49 -0700 (PDT) Message-ID: <19e0530f0604170948k1fc97c80y85a402c6f1d015e5@mail.gmail.com> Date: Mon, 17 Apr 2006 12:48:49 -0400 From: "Davanum Srinivas" Reply-To: dims@apache.org To: axis-dev@ws.apache.org Subject: Re: [axis2] test failurs and log4j warnings in modules/Integration; where do log messages go? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4443A590.6070701@opensource.lk> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Are u sure u are using latest SVN? I got rid of the multiple stops in CharactersetEncodingTest a few days back. Please test with latest SVN and ping back. thanks, dims On 4/17/06, Jeff Barrett wrote: > > > Hi, > > Sure, I'll create a Jira and put what you've asked for in it. > > I've "narrowed" it down to the point where if I comment out the UtilServe= r.stop() in CharactersetEncoded.tearDown() (and leave everything else as is= ), the test passes every time. It seems to have something to do with the U= til server going up and down (on Windows XP at least). Also at the point t= hat the ConnectException is initially thrown from PlainSocketImpl in the fa= iling case, there IS a thread doing a listener.accept() and netstat reports= port 5555 as listening. > > I noticed that David Illsley replied to the li= st saying he was seeing similar (and possibly related) integration test fai= lures on Windows XP using a variety of JDKs (including non-IBM ones) > > Thanks, > Jeff > > IBM Software Group - WebSphere Web Services Development > Phone: 512-838-4587 or Tie Line 678-4587 > Internet e-mail and Sametime ID: barrettj@us.ibm.com > > > > Eran Chinthaka > > 04/17/2006 09:26 AM > > Please respond to > axis-dev@ws.apache.org > > > To axis-dev@ws.apache.org > > cc > > > Subject Re: [axis2] test failurs and log4j warnings in modules/Integratio= n; where do log messages go? > > > > > > > > Hi Jeff, > > Can you do this, please. Run "maven clean jar" and send us the whole > output you see. And if there are tests failing, please send us the test > reports as well. I prefer if you can create a JIRA and point to that > from here. > > (If you do not know how to find test reports, its like this. > If a test is failing in integration module, got to > integration/target/test-reports. And search for the file(s) which > corresponds to the test failure(s). If > org.apache.axis2.engine.EchoRawXMLTest is failing, then you should see > TEST-org.apache.axis2.engine.EchoRawXMLTest.txt in > integration/target/test-reports ) > > BTW, I don't have IBM Jdk 1.5 with me. Bill Nagy or some one having IBM > Jdk 1.5, are you all experiencing the same thing ? > > -- Chinthaka > > > Jeff Barrett wrote: > > > > Hi Chinthaka, > > > > I've seen the failures with both Maven 1.0.2 and 1.1-beta2. I also se= e > > the same failures running the tests individually inside Eclipse v3.1.2= . > > I am running the IBM JDK 1.5. > > > > I did check the FAQ http://ws.apache.org/axis2/faq.html and didn't see > > anything that looked related to this. > > > > Thanks, > > Jeff > > > > IBM Software Group - WebSphere Web Services Development > > Phone: 512-838-4587 or Tie Line 678-4587 > > Internet e-mail and Sametime ID: barrettj@us.ibm.com > > > > > > *Eran Chinthaka * > > > > 04/14/2006 10:40 AM > > Please respond to > > axis-dev@ws.apache.org > > > > > > > > To > > axis-dev@ws.apache.org > > cc > > > > Subject > > Re: [axis2] test failurs and log4j warnings in module= s/Integration; > > where do log messages go? > > > > > > > > > > > > > > > > > > Hi Jeff, > > > > I just checked the build and the build was successful. > > > > I'm on JDK 1.5 (in Ubuntu 5.10). Maven 1.0.2. > > > > > > Which version of JDK and maven you have ? Did u check the FAQ ? > > > > -- Chinthaka > > > > Jeff Barrett wrote: > >> > >> I am having some failures in the Integration module tests from the co= de > >> I extracted today (Revision: 393790): > >> [junit] [ERROR] Test > >> org.apache.axis2.engine.CharactersetEncodingTest FAILED > >> [junit] [ERROR] Test > >> org.apache.axis2.engine.CommonsHTTPEchoRawXMLTest FAILED > >> [junit] [ERROR] Test org.apache.axis2.engine.EchoRawXMLMultipleTe= st > >> FAILED > >> [junit] [ERROR] Test org.apache.axis2.engine.EchoRawXMLTest FAILE= D > >> [junit] [ERROR] Test org.apache.axis2.engine.FaultHandlingTest FA= ILED > >> [junit] [ERROR] Test org.apache.axis2.engine.SOAPversionTest FAIL= ED > >> [junit] [ERROR] Test org.apache.axis2.mtom.EchoRawMTOMFileCacheTe= st > >> FAILED > >> [junit] [ERROR] Test org.apache.axis2.rpc.MultirefTest FAILED > >> [junit] [ERROR] Test org.apache.axis2.rpc.RPCCallTest FAILED > >> > >> While trying to look into why the tests are failing, I noticed that a= ll > >> of the test output files (except > >> TEST-org.apache.axis2.integration.EchoTest.txt) have the following > > message: > >> > >> ------------- Standard Error ----------------- > >> log4j:WARN No appenders could be found for logger > >> (org.apache.axiom.om.impl.builder.StAXOMBuilder). > >> log4j:WARN Please initialize the log4j system properly. > >> ------------- ---------------- --------------- > >> > >> My questions are: > >> 1) Where is the output from log.error( ... ) when called from the tes= t > >> cases supposed to go? I believe I am hitting those calls prior to th= e > >> asserts failing, but I don't see any output. > >> > >> 2) Is the lack of log ouptut related to the log4j:WARN messages above= ? > >> > >> 3) Is anyone else seeing the test failures above? > >> > >> Thanks in advance for any insights! > >> Jeff > >> > >> IBM Software Group - WebSphere Web Services Development > >> Phone: 512-838-4587 or Tie Line 678-4587 > >> Internet e-mail and Sametime ID: barrettj@us.ibm.com > > > > > > > > > > > -- Davanum Srinivas : http://wso2.com/blogs/