Hi folks!
I have managed to get CruiseControl (
http://cruisecontrol.sourceforge.net/) installed, well... somewhat.
There are a few quandaries I am trying to overcome:
- How to get CruiseControl to work from /opt/cruisecontrol/ directory, instead of ~/cruisecontrol/.
- How to get CruiseControl to run at startup.
I guess the main problem is #1: When installing it per these instructions (
http://no-names.biz/2008/06/09/cruis...n-debian-etch/) I receive the following error when trying to start cruisecontrol:
Quote:
mike@sol:/opt/cruisecontrol$ sudo ./cruisecontrol.sh
Using Cruise Control at /opt/cruisecontrol-bin-2.7.3
/bin/java -Djavax.management.builder.initial=mx4j.server.MX4J MBeanServerBuilder -Dcc.library.dir=/opt/cruisecontrol-bin-2.7.3/lib -jar /opt/cruisecontrol-bin-2.7.3/lib/cruisecontrol-launcher.jar -jmxport 8000 -webport 8080 -rmiport 1099
./cruisecontrol.sh: line 102: /bin/java: No such file or directory
|
Note: I'm using SUDO here because it would use the same permissions if trying to start it from /etc/rc.local (which doesn't work).
I've narrowed the error down to the JAVA_HOME environment variable not being read correctly, even though:
Quote:
mike@sol:/opt/cruisecontrol$ sudo echo $JAVA_HOME
/usr/lib/jvm/java-6-sun
|
Does anyone have any advice?
Thanks!