continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neon <tri...@gmail.com>
Subject Re: continuum 1.1 snapshot that works under tomcat 5.5.x
Date Mon, 26 Feb 2007 22:03:00 GMT
Wendy,

Thank-you so much.

This does the job. But just to help out others on the list or searching the
list. I will include the main steps from the mini guide
at http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
(Note, please check the above URL for any updated instructions)

1. Build Continuum or obtain a pre-built snapshot.

2. Locate the continuum-webapp-1.1-SNAPSHOT.war file. (If you built
Continuum, it will be in continuum-webapp/target.)

3. Add a context configuration file for the web application:

$TOMCAT_HOME/conf/Catalina/localhost/continuum.xml

<?xml version="1.0" encoding="UTF-8"?>
 <Context path="/continuum"
          docBase="/path/to/continuum-webapp-1.1-SNAPSHOT.war">

 <Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource"
           username="sa"
           password=""
           driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
           url="jdbc:derby:database/users;create=true" />

 <Resource name="jdbc/continuum" auth="Container" type="javax.sql.DataSource"
           username="sa"
           password=""
           driverClassName="org.apache.derby.jdbc.EmbeddedDriver"
           url="jdbc:derby:database/continuum;create=true" />

 <Resource name="mail/Session" auth="Container"
            type="javax.mail.Session"
            mail.smtp.host="localhost"/>
 </Context>

*WARNING:* The Tomcat 5.5.20 release is missing MailSessionFactory and a few
other classes. JNDI mail sessions will *not* work. Either use Tomcat
5.5.17or see Bug
40668 <http://issues.apache.org/bugzilla/show_bug.cgi?id=40668> for a
workaround.

Tomcat JNDI Resources
HOWTO<http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html>

4. Place the following jars in $TOMCAT_HOME/common/lib:
(click the links to download each jar from the central Maven repository)

   - Derby 10.1.3.1
derby-10.1.3.1.jar<http://repo1.maven.org/maven2/org/apache/derby/derby/10.1.3.1/derby-10.1.3.1.jar>
   - Java Mail 1.4
mail-1.4.jar<http://repo1.maven.org/maven2/javax/mail/mail/1.4/mail-1.4.jar>
   - Java Activation Framework 1.1
activation-1.1.jar<http://repo1.maven.org/maven2/javax/activation/activation/1.1/activation-1.1.jar>

5. Start Tomcat
6. Access the application at http://localhost:8080/continuum

The guide then goes on with some option configuration (see above URL for
these)

Cheers,

Neon

On 2/26/07, Wendy Smoak <wsmoak@gmail.com> wrote:
>
> On 2/26/07, Neon <trineo@gmail.com> wrote:
>
> > Are there any stable continuum 1.1 snapshots/nightly builds that will
> work
> > out of the box.
> >
> > I have downloaded several snapshots from the below site, but none of
> them
> > seem to "work" out of the box.
> > http://maven.zones.apache.org/~continuum/builds/trunk/
>
> It's not going to work out of the box, you need to configure the data
> sources and put jars in $TOMCAT_HOME/common/lib.
>
> Here are instructions for Tomcat:
>    http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
>
> (You may need to create an account and log in, that space does not
> seem to be visible to the general public.)
>
> --
> Wendy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message