You should be able to simply put a correctly configured cactus.properties file on the classpath within WSAD/Eclipse, and simply run the test as a standard JUnit test. The test runner will start the tests, and Cactus will do it's thing, firing off the request to the container.
This is perhaps a slight oversimplification, but back in the "good old 1.4.1 days" that's essentially how I ran my unit tests in Eclipse. Obviously the classes under test and the test classes were on my project's classpath, but my Eclipse project environment became the client environment. If you're having problems go through the client side configuration "how-to", and make sure everything you need for the client is in your project (properties and jar files, etc.). It was really cool to set breakpoints in the client side methods (beginXXX and endXXX) as well as the container code, and from one IDE session debug them both at once. I didn't have to do that too often, mind you, but when I wanted to, it was sweet. Granted this doesn't give you the cool plug-in, but it will allow you to run the tests with the default Eclipse JUnit runner (which isn't so bad). -----Original Message----- From: Mark Lybarger [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 12:36 PM To: 'Cactus Users List' Subject: RE: Cactus & Webshpere & WSAD it sounds like the eclipse plugin doesn't support your container. you might consider another method of executing your tests. > -----Original Message----- > From: Siamack [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 12, 2003 11:54 AM > To: Cactus Users List > Subject: RE: Cactus & Webshpere & WSAD > > > Actually I am not using Ant to run the test, the plug in > allows me to run my tests directly from within the WSAD IDE. > However, I found it strange that I could not find any option > to choose my container as websphere or even a generic container. > > Mark Lybarger <[EMAIL PROTECTED]> wrote:not > being very versed in websphere, i imagine you could use the generic > container within the cactus ant task to run your tests. > > > -----Original Message----- > > From: Siamack [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, November 12, 2003 10:28 AM > > To: Cactus Users List > > Subject: Cactus & Webshpere & WSAD > > > > > > > > Hello Everyone: > > I am using Websphere Studio 5.1 using WAS 5.0.2. I have put > > the cactus runner in the eclipse plug in. However, when I try > > to set my preference for the container, I do not see any > > option for websphere. The following options are only available: > > > > - jboss 3x > > -orion 1.x > > -resin 2.x > > -tomcat 4.x > > -weblogic 6x > > -weblogic 7x > > -jetty > > > > What if some wants to choose its container to be webshpere. I > > have some pices of codes that gets a reference to the > > containers datasource to get a connection and I need to run > > my test within the websphere container. Has anybody faced a > > similar problem. Is there a way to tackle this? > > > > regards, > > > > > > > > > > > > --------------------------------- > > Post your free ad now! Yahoo! Canada Personals > > > > --- > > Incoming mail is certified Virus Free. > > Checked by AVG anti-virus system (http://www.grisoft.com). > > Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003 > > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003 > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------- > Post your free ad now! Yahoo! Canada Personals > > --- > Incoming mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003 > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.532 / Virus Database: 326 - Release Date: 10/27/2003 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This email and its attachments are confidential under applicable law are intended for use of the senders addressee only, unless the sender expressly agrees otherwise, or unless a separate written agreement exists between Iron Mountain and a recipient company governing communications between the parties and any data that may be so transmitted. Transmission of email over the Internet is not a secure communications medium. If you are requesting or have requested the transmittal of personal data, as defined in applicable privacy laws, by means of email or in an attachment to email, you may wish to select a more secure alternate means of transmittal that better supports your obligations to protect such personal data. If the recipient of this message is not the recipient named above, and/or you have received this email in error, you must take no action based on the information in this email. You are hereby notified that any dissemination, misuse or copying or disclosure of this communication by a recipient who has received this message in error is strictly prohibited. If this message is received in error please return this email to the sender and immediately highlight any error in transmittal. Thank You --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
