Yes I checked my web.xml file. My tests seem to be cactified and deployed correctly with the redirector definitions. However I still see that error. I have looked at the cactus samples before, but I will look again to make sure I am not missing anything. Thanks for your help.
PS: Thanks for pointing out the fileset filter mistake. I have fixed that as well. On Mon, Dec 29, 2008 at 10:51 AM, Petar Tahchiev <paranoia...@gmail.com>wrote: > Hi Neha, > > this error happens when there was something wrong with the war > that you deploy. Make sure that the test.war you > try to deploy is cactified and it's web.xml contains the servletRedirector > definitions. > > Also one more thing that struck me in your build.xml: > Are you sure that you have something selected here: > <fileset dir="${src.test.dir}"> > <include name="**/*Test.class"/> > </fileset> > > Do you really have .class files in your src directory? > > Cheers, Petar. > > P.S. Have a look at the sample applications that come with cactus. Try > to run them and in case it was possible look for the differences between > your configuration and the sample one. > 2008/12/29, Neha Agarwal <neha...@gmail.com>: > >> Never mind about starting the container. I was able to fix that. It was a >> problem with my build file since I was not poitning to the existing >> installation of the container. >> >> The container starts up correctly now, but cactus does not seem to be >> running the tests. Here is the output from my console. >> >> test.cactus: >> [cactus] >> ----------------------------------------------------------------- >> [cactus] Parsed JBoss version = [4.2.1] >> [cactus] Running tests against JBoss 4.2.1 @ http://localhost:8081 >> [cactus] >> ----------------------------------------------------------------- >> [cactus] Deploying [/Users/temp/build/test.war] to >> [/Users/servers/jboss4.2/server/all/deploy]... >> [cactus] JBoss 4.2.1 starting... >> [cactus] JBoss 4.2.1 started on port [8081] >> >> BUILD FAILED >> /User/src/test.xml:1052: Failed to start the container after more than >> [180000] ms. Trying to connect to the [ >> http://localhost:8081/test/ServletRedirector?Cactus_Service=RUN_TEST] >> test >> URL yielded a [-1] error code. Please run in debug mode for more details >> about the error. >> >> So even though the container started, I am getting a failed to start >> container error and the tests do not run after this. Any ideas? >> >> Once again, any help is greatly appreciated. >> Thanks >> > > > > -- > Regards, Petar! > Karlovo, Bulgaria. > - - - - - - - - > | Author @ Manning Publications. > | Senior Sofware Engineer @ Unic > | BGJUG-Bulgarian Java User Group Leader. > | Apache Jakarta PMC member. > | Jakarta Cactus Lead Developer. > | Blogger: http://weblogs.java.net/blog/paranoiabla/ > - - - - - - - - > Public PGP Key at: > https://keyserver1.pgp.com/vkd/DownloadKey.event?keyid=0x19658550C3110611 > Key Fingerprint: A369 A7EE 61BC 93A3 CDFF 55A5 1965 8550 C311 0611 >