mirror of https://github.com/apache/archiva.git
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
This commit is contained in:
parent
31ad64d066
commit
c443275153
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue