Return-Path: list-help: list-unsubscribe: List-Post: List-Id: Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 47499 invoked by uid 99); 12 Jan 2006 10:09:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2006 02:09:00 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [131.174.93.58] (HELO hermes.uci.kun.nl) (131.174.93.58) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jan 2006 02:08:59 -0800 Received: from fire.homenet.neonics.com (vhe-400042.sshn.net [195.169.216.194]) by hermes.uci.kun.nl (PMDF V6.2-X17 #30689) with ESMTP id <0ISZ008A95I85V@hermes.uci.kun.nl> for cactus-user@jakarta.apache.org; Thu, 12 Jan 2006 11:08:32 +0100 (MET) Received: from localhost (localhost [127.0.0.1]) by fire.homenet.neonics.com (8.13.5/8.13.5/Debian-3) with ESMTP id k0CA8Wwx005865 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NOT) for ; Thu, 12 Jan 2006 11:08:32 +0100 Date: Thu, 12 Jan 2006 11:08:32 +0100 (CET) From: Kenney Westerhof Subject: Re: execution errors In-reply-to: <2B674CE447106D46A53D0FDDC7DF8B1C7C8757@PTXSMSXM01.emea.ime.reuters.com> X-X-Sender: forge@fire.homenet.neonics.com To: Cactus Users List Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: ClamAV 0.87.1/1238/Wed Jan 11 11:19:06 2006 on fire.homenet.neonics.com X-Virus-Status: Clean References: <2B674CE447106D46A53D0FDDC7DF8B1C7C8757@PTXSMSXM01.emea.ime.reuters.com> X-Virus-Checked: Checked by ClamAV on apache.org On Wed, 11 Jan 2006, Laurent Morvillier wrote: Hi, Do you have any files/directories in c:\projects\cactus_results\? In particular, any TEST-*.xml files? What's the content? I think that in both cases you'll end up with c:\projects\cactus_results\TEST-com.reuters.kgl.test.player.TestScenario.xml telling you about why the test has failed. Can you post the contents of that file, if it exists? Where does the target.testreports.dir property come from? Do you use it somewhere else too (cactus.properties or something?) -- Kenney > Hi > > > > I am currently trying to run my cactus tests on Weblogic using the ant > tasks: > > > > earfile="${app.build.dir}/kgr_laumorvi_cactussified.ear" fork="yes" > failureproperty="tests.failed"> > > > > > > > > > > location="${app.cactus.classbindir}"/> > > > > > > > dir="${cactus.home.weblogic7x}" > todir="${target.testreports.dir}/weblogic7x" > > server="${server.url}" port="${cactus.port}" > > > output="${target.testreports.dir}/weblogic7x.out" > > configXml="${weblogic.configxml}"/> > > > > > > > > > > > > > > > > > > > > > > Here is what I get when I try to run the batchtest specifying the todir > attribute in the weblogic7x tag: > > > > [cactuswar] Building war: > C:\Work\KGL\KGL_ClientFW\cactus406579718cactus.war > > [cactuswar] Warning: selected war files include a WEB-INF/web.xml which > will be ignored (please use webxml attribute to war task) > > [cactifyear] Building ear: > C:\Work\KGL\KGL_ClientFW\build\kgr_laumorvi_cactussified.ear > > [cactus] > ----------------------------------------------------------------- > > [cactus] Running tests against WebLogic 7.x @ > http://ptxsknetdev02:7050 > > [cactus] > ----------------------------------------------------------------- > > [cactus] java.io.FileNotFoundException: > C:\Projects\cactus_results\weblogic7x\TEST-com.reuters.kgl.test.player.T > estScenario.xml (The system cannot > > find the path specified) > > > > [cactus] TEST com.reuters.kgl.test.player.TestScenario FAILED > > > > > > Here is what I get when I remove this attribute: > > > > [cactuswar] Building war: > C:\Work\KGL\KGL_ClientFW\cactus406579718cactus.war > > [cactuswar] Warning: selected war files include a WEB-INF/web.xml which > will be ignored (please use webxml attribute to war task) > > [cactifyear] Building ear: > C:\Work\KGL\KGL_ClientFW\build\kgr_laumorvi_cactussified.ear > > [cactus] > ----------------------------------------------------------------- > > [cactus] Running tests against WebLogic 7.x @ > http://ptxsknetdev02:7050 > > [cactus] > ----------------------------------------------------------------- > > [cactus] log4j:WARN No appenders could be found for logger > (org.apache.cactus.internal.configuration.ConfigurationInitializer). > > [cactus] log4j:WARN Please initialize the log4j system properly. > > > > [cactus] TEST com.reuters.kgl.test.player.TestScenario FAILED > > > > > > Both solutions fail. I just don't understand why I get both errors. > > I tried with or without the configXml attribute and both results does > not change. > > I use WebLogic Server 8.1 SP4 and I already succeeded in running the > test manually so the problem is not here. > > > > > > Thanks a lot for your precious help. > > > > Laurent MORVILLIER > > > > > > > > > > To find out more about Reuters visit www.about.reuters.com > > Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. > > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key