jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petar Tahchiev" <paranoia...@gmail.com>
Subject Re: Question about cactus 1.8 and jboss 4.2
Date Mon, 29 Dec 2008 18:51:57 GMT
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.cs@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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message