Installing Continuum

From Foochal

Jump to: navigation, search


  • Download the continuum war from here.
  • Move the war to the tomcat webapps directory. I renamed it to continuum.war.
mv continuum-webapp-1.1.war ~tomcat/webapps/continuum.war
  • Configure apache (if you are accessing tomcat through apache). If you are accessing tomcat directly, ignore this point.
# put this in your httpd.conf somewhere close to the end of the file. 8082 is the port at which the tomcat proxy connector is running
ProxyPass /continuum http://localhost:8082/a
ProxyPassReverse /continuum http://localhost:8082/a

Contents

Error after restarting tomcat

INFO   | jvm 1    | 2008/04/25 17:18:35 | 2008-04-25 17:18:34,952 [WrapperStartStopAppMain] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/continuum]  - Exception sending context initialized event to listener instance of class org.codehaus.plexus.xwork.PlexusLifecycleListener
INFO   | jvm 1    | 2008/04/25 17:18:35 | java.lang.NoClassDefFoundError: javax/mail/Authenticator
INFO   | jvm 1    | 2008/04/25 17:18:35 |       at org.apache.naming.factory.MailSessionFactory.getObjectInstance(MailSessionFactory.java:104)
INFO   | jvm 1    | 2008/04/25 17:18:35 |       at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:129)
INFO   | jvm 1    | 2008/04/25 17:18:35 |       at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
INFO   | jvm 1    | 2008/04/25 17:18:35 |       at org.apache.naming.NamingContext.lookup(NamingContext.java:792)
  • I added mail.jar to tomcat common lib and restarted tomcat

Error, jdbc driver not found

INFO   | jvm 1    | 2008/04/25 17:21:09 | 2008-04-25 17:21:09,506 [WrapperStartStopAppMain] ERROR JPOX.RDBMS.Schema  - Failed initialising database. Please check that your database JDBC driver is accessible, and the database URL and username/password are correct. Exception : Cannot create JDBC driver of class '' for connect URL 'null'
INFO   | jvm 1    | 2008/04/25 17:21:09 | org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
INFO   | jvm 1    | 2008/04/25 17:21:09 |       at org.apache.tomcat.dbcp.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)

Use technique #2 as defined here

http://continuum.apache.org/docs/1.1/installation/tomcat.html#Defining_JNDI_Resources.

Install derby jars for tomcat

http://continuum.apache.org/docs/1.1/installation/tomcat.html

Error writing to log file

java.io.FileNotFoundException: /logs/continuum.log (No such file or directory)

You need to set appserver.home as follows:

export CATALINA_OPTS="-Dappserver.home=$CATALINA_HOME -Dappserver.base=$CATALINA_HOME"

Personal tools