views:

137

answers:

2

I am trying to configure cruisecontrol to use Tomcat rather then Jetty servlet engine. I am following a tutorial on this and I am stuck on where it says:

Pass startup parameter to tomcat.

-Ddashboard.config=/home/cruisecontrol/work/dashboard-config.xml

Where do I put this in which file in tomact is it the startup.sh in tomcat directory?

The tutorials are here

+2  A: 

This probably needs to go in the JAVA_OPTS variable, in the catalina.sh file.

kgiannakakis
which should be added at a top-most position in catalina.sh
Bozho
Or, the usual way, `export JAVA_OPTS=-Ddashboard.config=/home/cruisecontrol/work/dashboard-config.xml` before starting catalina.sh, or even `JAVA_OPTS=-Ddashboard.config=/home/cruisecontrol/work/dashboard-config.xml catalina.sh`. My point is DO NOT edit catalina.sh
Alexander Pogrebnyak
A: 

You have to have config.xml with every appserver like tomcat and weblogic. You can pass the startup parameters as mentioned there in config.xml of tomcat server.

codegoblin