logo       

Build loop hangs when jboss isn't stopped: msg#00060

java.cruise-control.user

Subject: Build loop hangs when jboss isn't stopped

Hello,
 
I am encountering a very annoying problem. 
 
Here is a short resume of what the build that cruisecontrol launches does:
 
- compile
- compile tests
- stop jboss (in case still running)
- launch jboss
- run tests
- stop jboss
If the tests fail during the build, cruisecontrol hangs.  It is waiting for jboss to be shutdown but the build doesn't reach the shutdown of jboss since it fails before.  If I manually kill the appserver (when it is hung) it will resume and complete successfully.
 

If I launch this task manually (eg: ant -f build-SAGE.xml -Dbuild.properties.file=../sage.properties") everything is fine and the build completes (fails but completes) even though jboss is still running.

Why does it hang when launched from cruisecontrol? How can I avoid this?
 
Thank you,
 
François
 
PS: Here is the command in the config.xml of cruisecontrol:
 
            <ant buildfile="build-SAGE.xml"
                 target="all"
                 uselogger="true"
                 usedebug="false"
                 antscript="C:\Java\ant\bin\ant.bat">
                <property name="build.properties.file" value="../sage.properties"/>
            </ant>
 
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise