jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: Run tests on JBoss with other than default port (8080).
Date Tue, 14 Oct 2003 15:13:35 GMT
Hi Christian,

ATM, this is not directly supported by the <jboss> container tag. The
way to enable this is to use a custom config and change the port in your
jboss's config file.

Thanks
-Vincent

> -----Original Message-----
> From: Frank, Christian (empolis WU)
[mailto:Christian.Frank@empolis.com]
> Sent: 14 October 2003 15:33
> To: 'cactus-user@jakarta.apache.org'
> Subject: Run tests on JBoss with other than default port (8080).
> 
> Hi,
> 
> I tried to run my tests on a jboss 3.2.1 with a port different from
8080.
> However, I did not succeed.
> 
> The test stops with the following message:
> 
> test:
>    [cactus]
> -----------------------------------------------------------------
>    [cactus] Running tests against JBoss 3.2
>    [cactus]
> -----------------------------------------------------------------
> 
> BUILD FAILED
>
file:E:/ccmprojects/ccm_wa/ccmdb1/epbs~fran26_loc/epbs/src/build.xml:144
:
> Failed to start the container after more than [180000] ms.
> 
> 
> I think the reason is that the default port 8080 is used to check if
the
> server is up and running.
> But I used another port for my server.
> 
> Any ideas?
> Christian
> 
> This is the snippet from my ant build file that starts the tests:
> 
>    <cactus earfile="${epbs.tests.ear}" fork="yes"
>         failureproperty="tests.failed">
>       <classpath>
>         <path refid="test.class.path"/>
>       </classpath>
>       <containerset>
>         <jboss3x if="cactus.home.jboss3x"
>             dir="${cactus.home.jboss3x}"
>             config="${cactus.server.name.jboss3x}"
>             output="${testreports.dir}/jboss3x.out"
>             todir="${testreports.dir}/jboss3x"/>
>         <!-- weblogic7x if="cactus.home.weblogic7x"
>             dir="${cactus.home.weblogic7x}" port="${cactus.port}"
>             output="${testreports.dir}/weblogic7x.out"
>             todir="${testreports.dir}/weblogic7x"/-->
>       </containerset>
>       <formatter type="brief" usefile="false"/>
>       <formatter type="xml"/>
>       <batchtest>
>         <fileset dir="${test.dir}">
>           <include name="**/*Test*.java"/>
>           <exclude name="**/jmx/**/*Test*.java"/>
>           <exclude name="**/AcceptanceTests.java"/>
>         </fileset>
>       </batchtest>
>     </cactus>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



Mime
View raw message