Hi, First let me say I am really enjoying JUnit in action. it's been a great help to me in learning about JUnit and cactus. I bought JUnit in action mainly to learn about cactus, And I 've currently read the book, downloaded the source and done all the examples up to chapter 9. so far so good. Since I do most of my development and unit testing in eclipse, I wanted to try running the examples from Chapter 9, using the eclipse plugin, instead maven of. Here are the steps I did: 1) from a clean workspace, imported the junitbook-Servlets, junitbook-container (as a reference) and junitbook-repository projects from the JUnit in Action source into eclipse. 2) downloaded and installed the last nightly builds for the two Eclipse plug-ins, jakarta-cactus-eclipse-webapp-20030909.zip and jakarta-cactus-eclipse-runner-13-1.6dev-20030907.zip. These were the latest builds I cocould find. 3) I added all the jars to the junitbook-servlets project as described in the cactus Eclipse plug-in configuration at http://jakarta.apache.org/cactus/integration/eclipse/index.html using the versions of the jars from the junitbook-repository project imported from the JUnit in Action source files. Now for my question. What is the next step to run the cactus unit tests in eclipse with jetty? I tried running the testadminservlet. java unit test by selecting it and selecting run-> Run as-> cactus test from the menu, I get the following error: java.net. connectexception: Connection refused: connect. My guess is that this is because jetty did not start before the cactus unit test ran. Do I need to configure the cactus plugin somehow to tell it to automatically start jetty for me before running the cactus tests? Do I need to set up something in cactus preferences or in a cactus properties file? I went to the prefences for cactus and the checkbox for Jetty is checked. (I was able to create a testallwithjetty. java class and run the cactus tests for Chapter 9 that way, but I 'd like to learn how to use the eclipse plugin. I 've also searched through the book and the index, and although the plugin is mentioned several places, I haven't found a example on how to use it .) I think I'm overlooking something simple, and I hope all I need is a push in the right direction. Thanks much, Gaston |