archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gang Liu <g...@talend.com>
Subject RE: Steps to Install Archva 1.3.5 (with default database)on tomcat 6.0.33 (http://jira.codehaus.org/browse/MRM-1523)
Date Fri, 23 Sep 2011 06:36:04 GMT
Hi Chandrasekaran:

I tried on Tomcat 7:

* create "context.xml" under "${TOMCAT}/webapps/archiva/META-INF", the content looks like:
	<Context path="/archiva"
	          docBase="${catalina.home}/archiva/apache-archiva-1.0.2.war">

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

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

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

* In " ${TOMCAT}/webapps/archiva/WEB-INF/classes/application.properties", add:
	appserver.home=%CATALINA_HOME%
	appserver.base=%CATALINA_BASE%

* Add 3 jars into Tomcat Lib:
	> activation-1.1.jar
	> derby-10.1.3.1.jar
	> mail-1.4.jar

Help it's useful for you.

Thanks.
Best Regards
Gang.Liu
Beijing Talend
Skype:  gang.liu.talendbj
Phone:  +86 13146181923

-----Original Message-----
From: Chandrasekaran G (RBEI/ETT4) [mailto:Chandrasekaran.G@in.bosch.com] 
Sent: Friday, September 23, 2011 2:08 PM
To: users@archiva.apache.org
Subject: Steps to Install Archva 1.3.5 (with default database)on tomcat 6.0.33 (http://jira.codehaus.org/browse/MRM-1523)




Hello Maria Odea Ching<http://jira.codehaus.org/secure/ViewProfile.jspa?name=oching>
,

Coudl you please let me know the steps to install Archva 1.3.5 (with default database) on
tomcat 6.0.33. since i am new to archiva.
i followed the below links but its not clear and not working properly.
http://archiva.apache.org/docs/1.3.5/adminguide/webapp.html
https://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+Tomcat



Thank you.
Mit freundlichen Grüßen / Best regards
G Chandrasekaran



Mime
View raw message