Re: Re:Project being built - forever !?
Varban <[email protected]> Mon, 22 May 2006 11:04:05 -0400
| Newsgroups | gmane.comp.java.anthill |
|---|---|
| Organization | Urbancode |
| Message-ID | <[email protected]> |
Unfortunately, I do not know what the solution was. I was debugging this problem for a customer using AnthillPro and I think they solved it by installing a newer version of the client (I might have been too hasty in blaming this problem on the cvs server when the client could be at fault here). What I know is that the client did the checkout (according to the logs it was getting all the files) but the process never returned. I don't think it was a problem with ssh since the client was connecting and pulling source just fine, it was at the end that something was messing up. If you indeed find out that you have the same problem, I would suggest that you try the same command from another machine in order to confirm whether this is a client or server problem. Sorry that I could not be of more help here! Varban On Saturday 20 May 2006 01:33, Marcio Marchini wrote: > Hi Varban, > > I am not on that build machine now, but I will try later. Meanwhile I > ssh'ed to the server and it also runs 1.11.2: > > > [marcio@magma ]$ cvs -v > > Concurrent Versions System (CVS) 1.11.2 (client/server) > > Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn, > Jeff Polk, and other authors > > CVS may be copied only under the terms of the GNU General Public License, > a copy of which can be found with the CVS distribution kit. > > Specify the --help option for further information about CVS > > > > So, when you say server problem, what exactly do you mean? How can I > fix it? Is it a problem with cvs or ssh? > > Thanks, > > marcio > > Varban wrote: > > Hi Marcio, > > > > I have seen this happen before and the problem was somewhere on the cvs > > server because if I ran the command manually in a console, the cvs > > process never returned, it was just sitting there and waiting for > > something. Can you run the > > cvs -d :ext:[email protected]:/home/cvs log -d">2005-12-05 16:46:31 > > GMT" -rHEAD -N > > > > command manually and see if the same thing happens? > > > > Varban > > > > On Friday 19 May 2006 18:40, Marcio Marchini wrote: > >> I tried it again with Anthill version 1.8.1.303 and Tomcat not as a > >> service, and in the console I see this: > >> > >> > >> 18:25:24:640 [Thread - AnthillBuildDaemon] INFO > >> com.urbancode.anthill.BuildMana > >> ger - Step 7) Publish Project: > >> 18:25:26:000 [Thread - AnthillBuildDaemon] INFO > >> com.urbancode.anthill.adapter.C > >> VSRepositoryAdapter - Get revisions since command: cmd /x/c > >> cd /d > >> C:\java\anthill-1.8.1.303\HelloWorldWorkDir\agile\CTIP\com.bedarra > >> .continuousbuild.example && > >> cvs -d :ext:[email protected]:/home/cvs log -d">2005-12-05 > >> 16:46:31 GMT" - > >> rHEAD -N > >> > >> cvs server: Logging . > >> cvs server: Logging context > >> cvs server: Logging context/WEB-INF > >> cvs server: Logging src > >> cvs server: Logging src/com > >> cvs server: Logging src/com/bedarra > >> cvs server: Logging src/com/bedarra/continuousbuild > >> cvs server: Logging src/com/bedarra/continuousbuild/example > >> cvs server: Logging src/com/bedarra/continuousbuild/example/tests > >> cvs server: Logging src/com/bedarra/continuousbuild/example/tests/cactus > >> cvs server: Logging > >> src/com/bedarra/continuousbuild/example/tests/fitnesse cvs server: > >> Logging src/com/bedarra/continuousbuild/example/tests/httpunit cvs > >> server: Logging > >> src/com/bedarra/continuousbuild/example/tests/httpunit/cactu > >> s > >> cvs server: Logging src/com/bedarra/continuousbuild/example/tests/junit > >> cvs server: Logging src/jsp > >> cvs server: Logging web > >> cvs server: Logging web/WEB-INF > >> cvs server: Logging wiki > >> cvs server: Logging xsl > >> > >> > >> > >> And nothing else. It stays that way. My cvs.exe is this one: > >> > >> C:\Documents and Settings\marcio>cvs -v > >> > >> Concurrent Versions System (CVS) 1.11.2 (client) > >> > >> Copyright (c) 1989-2001 Brian Berliner, david d `zoo' zuhn, > >> Jeff Polk, and other authors > >> > >> CVS may be copied only under the terms of the GNU General Public > >> License, a copy of which can be found with the CVS distribution kit. > >> > >> Specify the --help option for further information about CVS > >> > >> > >> Any ideas? It seems to be frozen in cvs.exe ?? > >> > >> > >> marcio > >> > >> Marcio Marchini wrote: > >>> Ok, the problem has come back to me. I am still running Anthill > >>> version 1.8.0.264 > >>> > >>> - I do have the patched ant.bat as per this message: > >>> > >>> “this is a problem with the ant.bat file that comes with the Ant > >>> distributions. The batch script does not return the real exit code from > >>> the java process, instead it returns 0 which confuses Anthill as to the > >>> real outcome of the build. If you switch the ant.bat file in the ant > >>> distribution you are using with this one: > >>> http://www.urbancode.com/download/ant.bat > >>> Anthill will be able to detect the failures.” > >>> > >>> > >>> > >>> > >>> -I do have a patched CommonsExecute.jar as per this message (even > >>> though I run XP) > >>> > >>> If you are running Tomcat 5.5 under Win2003, the problem is with an > >>> outdated Anthill jar. The bug fixes will be released with Anthill > >>> 1.8.1. As a workaround for now, you can use the patched jar available > >>> here: http://www.urbancode.com/download/anthill_os/CommonsExecute.jar . > >>> It needs to go into Anthill’s lib folder and also into the > >>> anthill/WEB-INF/lib folder Tomcat explodes out from the war file > >>> (CATALINA_HOME/webapps/anthill/WEB-INF/lib). > >>> > >>> > >>> - I am running cvs and another project from the same repo builds fine > >>> > >>> - I looked at the Tomcat logs and I see nothing strange. > >>> > >>> > >>> I run Tomcat as a service. Even running it from a BAT I see nothing > >>> strange. I see "HelloWorld -- Being built" forever in the browser. > >>> > >>> > >>> What else can I try? Too dangerous to upgrade Anthill at this > >>> point, so let me know how to make it work with 1.8.0.264 under Java > >>> 1.5.0_05. Thanks, > >>> > >>> marcio > >>> > >>> _______________________________________________ > >>> Anthill mailing list > >>> Anthill-IWHQxnLZ/[email protected] > >>> http://lists.urbancode.com/mailman/listinfo/anthill > >> > >> _______________________________________________ > >> Anthill mailing list > >> Anthill-IWHQxnLZ/[email protected] > >> http://lists.urbancode.com/mailman/listinfo/anthill