continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mick Knutson" <mickknut...@gmail.com>
Subject [c-1.1] Anyone have Activa and CI running on the same Tomcat instance?
Date Fri, 14 Dec 2007 15:51:51 GMT
I have been trying for a few hours now. I can get Continuum.war with a Derby
DB running. But then when I add Activa.war I either be *no trace at
all*when I use the same user datasource as CI:

 <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" /> *<!-- tried
database/archiva/users also -->*



or when I run a different Datasource like:

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



SEVERE: Null component
Catalina:type=JspMonitor,name=jsp,WebModule=//localhost/archiva,J2EEApplication=none,J2EEServer=none
Dec 14, 2007 7:58:23 AM org.apache.catalina.startup.HostConfigdeployDescriptor
*SEVERE: Error deploying configuration descriptor archiva.xml*
*java.lang.ClassCastException: org.apache.tomcat.dbcp.dbcp.BasicDataSource
*




I also notice that in
/home/build/opt/*apache-tomcat-5.5.25/webapps/archiva*the war has not
been exploded.



Here is my continuum.xml:

<Context path="/continuum"
         docBase="${catalina.home}/continuum/continuum-webapp-1.1.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>



-- 
Thanks,
Mick Knutson

http://www.baselogic.com
http://www.blincmagazine.com
http://www.djmick.com
http://www.myspace.com/mickknutson
http://www.myspace.com/BLiNCMagazine
http://tahoe.baselogic.com
---

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