archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From waaraa1331 <>
Subject Re: Archiva/Tomcat config help
Date Mon, 29 Sep 2008 17:28:45 GMT

So far I have downloaded the webapp .WAR file.  I have setup apache-tomcat
and was able to get the default tomcat homepage.  I put the war file in a
folder named archiva which i made on the same level as the tomcat conf
directory.  Inside conf/Catalina/localhost i made the archiva.xml file which
looks like this 

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/archiva"

 <Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource"
           url="jdbc:mysql:///;create=true" />

 <Resource name="jdbc/archiva" auth="Container" type="javax.sql.DataSource"
           url="jdbc:mysql:///;create=true" />

 <Resource name="mail/Session" auth="Container"

*address and DB names have been changed but the IP's work and the DBs exist
and the users exist*

I also downloaded derby-, activation-1.1.jar,
derbytools- and mail-1.4.jar and put those in the lib folder.  
I also made webapps/ROOT/META-INF/context.xml file which is the same as the
file above.  I have been using the following two sites for most of my config

I have downloaded the mysql connector to the tomcat lib folder and tried it
in the webapps/ROOT/WEB-INF/lib folder as well and it nothing works.  If you
have any other questions please let me know. Hope this helps.
View this message in context:
Sent from the archiva-users mailing list archive at

View raw message