diff options
author | Wendy Smoak <wsmoak@apache.org> | 2007-03-11 23:15:02 +0000 |
---|---|---|
committer | Wendy Smoak <wsmoak@apache.org> | 2007-03-11 23:15:02 +0000 |
commit | c443275153135238db573580fdb162bd758dc871 (patch) | |
tree | b54b5ebbd6a069f02a8cb064c8ffe995935d8c03 /archiva-site/src | |
parent | 31ad64d06689e2ac25cfe9f5a1e15f2fd1724eb8 (diff) | |
download | archiva-c443275153135238db573580fdb162bd758dc871.tar.gz archiva-c443275153135238db573580fdb162bd758dc871.zip |
Add missing database and mail resources, and mention problems with Tomcat 5.5.20 and 5.5.23.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@517042 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-site/src')
-rw-r--r-- | archiva-site/src/site/apt/guides/getting-started/index.apt | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/archiva-site/src/site/apt/guides/getting-started/index.apt b/archiva-site/src/site/apt/guides/getting-started/index.apt index 84aa5a6ea..1e76cc826 100644 --- a/archiva-site/src/site/apt/guides/getting-started/index.apt +++ b/archiva-site/src/site/apt/guides/getting-started/index.apt @@ -73,11 +73,25 @@ To deploy Archiva to Tomcat 5.5 username="sa" password="" driverClassName="org.apache.derby.jdbc.EmbeddedDriver" - url="jdbc:derby:database/archiva;create=true" - /> + url="jdbc:derby:database/archiva;create=true" /> + + <Resource name="jdbc/archiva" auth="Container" type="javax.sql.DataSource" + username="sa" + password="" + driverClassName="org.apache.derby.jdbc.EmbeddedDriver" + url="jdbc:derby:database/archiva;create=true" /> + + <Resource name="mail/Session" auth="Container" + type="javax.mail.Session" + mail.smtp.host="localhost"/> </Context> +-------------------------------------------------------------------------+ + * <<Note>>: Tomcat 5.5.20 and 5.5.23 are missing MailSessionFactory and a + few other classes. JNDI mail sessions will <not> work. Use Tomcat 5.5.17 + instead, or see {{{http://issues.apache.org/bugzilla/show_bug.cgi?id=40668} + Bug 40668}} for a workaround. + * Copy archiva/archiva-webapp/target/archiva-webapp-1.0-SNAPSHOT/WEB-INF/lib/derby-10.1.3.1.jar into the tomcat common/lib * To deal with a current bug, you'll also need to add the following to your ${catalina.home}/conf/web.xml in the relevant section (search for jspx): |