Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Continuum is installed in /opt/apache-continuum-1X.Y.2Z, but it's its configuration is in /home/continuum/services/continuum. It is run using the Java Service Wrapper, and is started by the system init scripts.

...

Continuum's path is configured in the /etc/init.d/continuum script to include Maven 2.0.9 and Java 6 (which is also used to run Continuum). These will be the defaults used by individual builds - all other Installed Software can be accessed through Continuum profiles and installations in the web interface.

Update the Change History if you make configuration or other changes.

Managing Continuum

Starting/Stopping Continuum

...

The Java Service Wrapper should ensure that if Continuum has hung, it gets restarted in a timely manner. If it has been unresponsive for 10 minutes, or if HTTPD has been returning a 503 error for 5 minutes, use the scripts above to restart Continuum.

The restart script may rarely get stuck repeating the following line:

Code Block

Waiting for Apache Continuum to exit...
Waiting for Apache Continuum to exit...
Waiting for Apache Continuum to exit...
...

If this happens more than 5 times, the Wrapper itself has hung. Press Ctrl-C and kill the wrapper by identifying it's PID from /home/continuum/services/continuum/logs/continuum.pid, then run the restart script again.

Maven Settings

The default Maven settings in ~/.m2/settings.xml.

...

  • stop continuum
  • move old snapshot out of the way if necessary
  • unpack the new installation into /opt with tar -xzvf /path/to/apache-continuum-X.Y.Z-SNAPSHOT.tar.gz
  • update apps/continuum/WEB-INF/classes/META-INF/plexus/application.xml to set the from-mailbox to continuum@apache.org
  • change ownership of unpacked files sudo chown -R continuum apache-continuum-1.3.3-SNAPSHOT and sudo chgrp -R continuum apache-continuum-1.3.3-SNAPSHOT
  • edit /etc/init.d/continuum to the new installation location
  • start continuum
  • depending on the upgrade path, you may need to upgrade the Continuum database. Please check the Continuum release notes.update the Upgrade History page

Ideally, these steps will be better isolated from the installation and/or automated in future.