continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephane Nicoll" <stephane.nic...@gmail.com>
Subject Re: Re: continuum 1.1 snapshot that works under tomcat 5.5.x
Date Tue, 27 Feb 2007 08:12:36 GMT
Yup. Start your tomcat in command line (./catalina.sh run) and you'll
see the error. Most probably a classpath issue. Are you using derby or
an external DB?

Aslo, the WEB-INF/classes/META-INF/plexus/application.xml contains the
continuum configuration and it relies on some property such as
${appserver.base}. This is typically set in the standalone version and
you'll have to configure this yourself for the webapp version.

Let us know how you go.

HTH,
St├ęphane

On 2/27/07, thorsten@online.de <thorsten@online.de> wrote:
> Hi,
>
> i get this small error message with Tomcat 5.5.17 and latest snapshot:
>
> 27.02.2007 08:27:34 org.apache.catalina.core.StandardContext start
> SCHWERWIEGEND: Error listenerStart
> 27.02.2007 08:27:34 org.apache.catalina.core.StandardContext start
> SCHWERWIEGEND: Context [/continuum] startup failed due to previous errors
>
> Does anyone have an idea?
>
> Thanks,
> Thorsten
>
>
> >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
View raw message