Getting an exception while adding a project in cruise control.

Sachin Gurumukhi <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
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


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.

------------------------------------------------------------------------------
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

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.