jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajagopal. V" <raja0...@yahoo.com>
Subject Re: Run tests on JBoss with other than default port (8080).
Date Tue, 14 Oct 2003 14:46:22 GMT
Can you try having a port="<ur port>" in the jboss3x
tag?

-Raj

--- "Frank, Christian (empolis WU)"
<Christian.Frank@empolis.com> wrote:
> 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
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

Mime
View raw message