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 20362 invoked from network); 14 Oct 2003 17:08:07 -0000 Received: from unknown (HELO dave.cbc-companies.com) (68.22.157.6) by daedalus.apache.org with SMTP; 14 Oct 2003 17:08:07 -0000 Received: from emailsurf (avenue.cbc-companies.com [172.16.91.45]) by dave.cbc-companies.com (8.12.10/8.12.6) with ESMTP id h9EH88Do022622; Tue, 14 Oct 2003 13:08:08 -0400 Received: from Unknown [172.16.91.58] by emailsurf - SurfControl E-mail Filter (4.7); Tue, 14 Oct 2003 13:11:55 -0400 Received: by avenue with Internet Mail Service (5.5.2653.19) id <4X5YMYRF>; Tue, 14 Oct 2003 13:09:53 -0400 Message-ID: From: Mark Lybarger To: "'bkumler@firstam.com'" , "'Cactus-User (E-mail)" Date: Tue, 14 Oct 2003 13:09:48 -0400 Subject: RE: runservertests task - multiple startTargets, stopTargets MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mailer: Internet Mail Service (5.5.2653.19) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I believe an ear file can contain ejbs, war's, webapps (not warr'd up), supporing libs and probably other stuff too. I am using a cactus (cactified) war file for testing an ejb contained with an ear. In my environment, I have one ear file which contains my ejb to be tested and its supporting libs. This is what I'm going to deploy to production. I have another war file, test.war. It's a cactified war which contains all my class files from my application and all the needed libraries in the WEB-INF/lib folder. I create this war with the following task then the war gets "deployed" to the domain i run my tests under (my ear file mentioned above is expected to be already deployed ... these are both run prior to the below runservertests task. Are you testing servlets or ejb's? Both? Cactus needs to cactify a war file so that it can run the tests through it's servlet or jsp. > -----Original Message----- > From: Bret Kumler [mailto:bkumler@firstam.com] > Sent: Tuesday, October 14, 2003 12:46 PM > To: Mark Lybarger > Subject: RE: runservertests task - multiple startTargets, stopTargets > > > Forgive my ignorance as I am not a J2EE expert, but I thought > you can only > have ejbs in an .ear file. > > We have an .ear file with all our classes & xml files in it. > > I extract the .ear file, I add a .war file to it, which > contains the cactus > libs & our test classes. > I modified the application.xml to add the new war file. > > I change the ant script to be similar to yours. > > Only thing is I don't use cactus warfile > > > Ant ideas? > > Thanks > > -----Original Message----- > From: Mark Lybarger [mailto:Mark.Lybarger@CBC-Companies.com] > Sent: Friday, October 10, 2003 11:41 AM > To: 'bkumler@firstam.com'; 'Cactus-User (E-mail) > Subject: RE: runservertests task - multiple startTargets, stopTargets > > > no, I don't use startup/shutdown within the containerset. i > have separate > tasks that startup/shutdown the servers. and its controlled by the > runservertests task. > > description="execute cactus tests"> > > testURL="http://localhost:${internet.domain.port}/test/Servlet > Redirector?Cac > tus_Service=RUN_TEST" > startTarget="cactus.start.weblogic6x" > stopTarget="stop.mydomain" > testTarget="test.ejb" /> > > > > have you sifted through the output of running ant with the > -debug flag? > > > -----Original Message----- > > From: Bret Kumler [mailto:bkumler@firstam.com] > > Sent: Friday, October 10, 2003 3:25 PM > > To: Mark Lybarger > > Subject: RE: runservertests task - multiple startTargets, > stopTargets > > > > > > Here's what mine looks like. > > > > > description="Run the tests > > against weblogic 8's container"> > > > > > earfile="${base.dir}/pm-tests/${test.file}" fork="yes" > > failureproperty="tests.failed"> > > > > > > > location="${pm.required.libs}/qa-test.jar"/> > > > > > > > port="${test.port}"> > > > target="start.weblogic.81"/> > > > target="stop.weblogic.81"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > todir="${base.dir}/${modification.location}/weblogic8x"> > > > dir="${base.dir}/${modification.location}/weblogic8x" > > includes="TEST-*.xml"/> > > > todir="${base.dir}/${test.reports.loc}/weblogic8x" > > format="frames"/> > > > > At least one test failed! > > > > > > -----Original Message----- > > From: Mark Lybarger [mailto:Mark.Lybarger@CBC-Companies.com] > > Sent: Friday, October 10, 2003 11:16 AM > > To: 'bkumler@firstam.com' > > Subject: RE: runservertests task - multiple startTargets, > stopTargets > > > > > > it shouldn't be any different in executing the tests. here's > > my task to run > > the tests. i'm testing an ejb > > > > > > > > > > > > > > > > > location="${basedir.build.mysystem.web-inf.classes}" /> > > > > > > > port="${internet.domain.port}" /> > > > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > From: Bret Kumler [mailto:bkumler@firstam.com] > > > Sent: Friday, October 10, 2003 3:07 PM > > > To: Mark Lybarger > > > Subject: RE: runservertests task - multiple startTargets, > > stopTargets > > > > > > > > > I've been trying to get it working on WLS 8.1 > > > > > > I have it starting the server, but it never executes the tests.. > > > > > > -----Original Message----- > > > From: Mark Lybarger [mailto:Mark.Lybarger@CBC-Companies.com] > > > Sent: Friday, October 10, 2003 9:55 AM > > > To: 'bkumler@firstam.com' > > > Subject: RE: runservertests task - multiple startTargets, > > stopTargets > > > > > > > > > wls 6.1 > > > > > > > -----Original Message----- > > > > From: Bret Kumler [mailto:bkumler@firstam.com] > > > > Sent: Friday, October 10, 2003 1:47 PM > > > > To: Mark Lybarger > > > > Subject: RE: runservertests task - multiple startTargets, > > > stopTargets > > > > > > > > > > > > I have an question off your topic. > > > > > > > > What version of weblogic are you using for your tests? > > > > > > > > > > > > > > > > > > > > --- > > > > Incoming mail is certified Virus Free. > > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > > > > > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > > > > > > > > > > > > > > > > > --- > > > Incoming mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > > > > > > > > > --- > > Outgoing mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > > > > > > > > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > > > > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003