Re: Getting an exception while adding a, project in cruise control.
Dan Rollo <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Sachin, You can find the exact command CC is using by adding the -debug argument: http://cruisecontrol.sourceforge.net/main/install.html#startupcruisecontrol That may provide a clue about why CC can't find the p4 executable. ... Caused by: java.io.IOException: Cannot run program "p4": java.io.IOException: error=2, No such file or directory Dan Date: Thu, 10 Feb 2011 17:30:29 +0530 From: Sachin Gurumukhi <[email protected]> Subject: [Cruisecontrol-user] Getting an exception while adding a project in cruise control. To: "[email protected]" <[email protected]> Message-ID: <[email protected]> Content-Type: text/plain; charset="us-ascii" Hi, I have configured Cruise control in Linux (RHEL 4). I am getting following error when I am staring cruise control server. 2010-12-20 06:38:49.432:/dashboard:INFO: Initializing Spring root WebApplicationContext 2010-12-20 06:38:50.030:/dashboard:INFO: Set web app root system property: 'webapp.root' = [/opt/cruisecontrol-2.8.4/webapps/dashboard/] 2010-12-20 06:38:50.065:/dashboard:INFO: Initializing Spring FrameworkServlet 'spring-ajax' 2010-12-20 06:38:50.230:/dashboard:INFO: Initializing Spring FrameworkServlet 'spring-exceptions' 2010-12-20 06:38:51.508:/dashboard:INFO: Initializing Spring FrameworkServlet 'spring-pages' 2010-12-20 06:38:51.699:/dashboard:INFO: Initializing Spring FrameworkServlet 'spring-tabs' 2010-12-20 06:38:53.252::INFO: Opened /opt/cruisecontrol-2.8.4/logs/2010_12_20.request.log 2010-12-20 06:38:53.319::INFO: Started [email protected]:9999 [cc]Dec-20 06:38:53 BuildQueue - BuildQueue started [cc]Dec-20 06:38:53 BuildQueue - now adding to the thread queue: Admin_Tool [cc]Dec-20 06:38:53 Project - Project Admin_Tool: bootstrapping [cc]Dec-20 06:38:53 jectController- Admin_Tool Controller: build progress event: bootstrapping [cc]Dec-20 06:38:53 Project - Project Admin_Tool: idle [cc]Dec-20 06:38:53 jectController- Admin_Tool Controller: build progress event: idle [cc]Dec-20 06:38:53 Project - exception attempting build in project Admin_Tool net.sourceforge.cruisecontrol.CruiseControlException: p4 failed with exception at net.sourceforge.cruisecontrol.util.CommandExecutor.executeAndWait(CommandExecutor.java:115) at net.sourceforge.cruisecontrol.util.Commandline.executeAndWait(Commandline.java:653) at net.sourceforge.cruisecontrol.bootstrappers.P4Bootstrapper.executeCommandLine(P4Bootstrapper.java:119) at net.sourceforge.cruisecontrol.bootstrappers.P4Bootstrapper.bootstrap(P4Bootstrapper.java:93) at net.sourceforge.cruisecontrol.Project.bootstrap(Project.java:779) at net.sourceforge.cruisecontrol.Project.build(Project.java:193) at net.sourceforge.cruisecontrol.Project.execute(Project.java:148) at net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:408) at net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.IOException: Cannot run program "p4": java.io.IOException: error=2, No such file or directory at java.lang.ProcessBuilder.start(ProcessBuilder.java:460) at java.lang.Runtime.exec(Runtime.java:593) at java.lang.Runtime.exec(Runtime.java:466) at net.sourceforge.cruisecontrol.util.CruiseRuntime.exec(CruiseRuntime.java:14) at net.sourceforge.cruisecontrol.util.Commandline.execute(Commandline.java:624) at net.sourceforge.cruisecontrol.util.CommandExecutor.executeAndWait(CommandExecutor.java:113) ... 9 more Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:453) ... 14 more >From the above exception , I am not able to find out what can be exact cause for it. Could you please let me know where I am going wrong ? Thanks and Regards, Sachin Gurumukhi ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb