How to run CruiseControl under tomcat instead of jetty

As helpfully described here:

To make the CC reporting app from 2.6.1 run under Tomcat, do the following:

<param-value>logs</param-value>
change to:
<param-value>/full/path/to/your/cruisecontrol/logs/folder</param-value>

in the ArtifactServlet section:
<init-param>
  <param-name>rootDir</param-name>
  <param-value>artifacts</param-value>
</init-param>
change to:
<init-param>
  <param-name>rootDir</param-name>
  <param-value>/full/path/to/your/cruisecontrol/artifacts/folder</param-value>
</init-param>

<Host name="localhost" appBase="webapps" debug="3"
      unpackWARs="true" autoDeploy="true"
      xmlValidation="false" xmlNamespaceAware="false">

<Host name="localhost" appBase="/path/to/your/webapps/folder" 
      debug="3" unpackWARs="true" autoDeploy="true"
      xmlValidation="false" xmlNamespaceAware="false">

For other config info on Tomcat, such as adding the SSL support and making it listen on a different host than localhost, see the Tomcat documentation.


CategoryLinux

CruiseControlUnderTomcat (last edited 2007-09-13 12:18:59 by DavidKeen)