small tweaks

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@597587 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Porter 2007-11-23 08:11:47 +00:00
parent 92cb46bcd0
commit 2d5f439e03
1 changed files with 3 additions and 13 deletions

View File

@ -5,7 +5,6 @@
Installing Apache Archiva as a Web Application
~~TODO: link to wiki location for other application servers
~~TODO: upgrading
Archiva can be deployed as a web application into any Java EE application server. This document will show an
example of doing so with Tomcat 5.5.
@ -21,7 +20,7 @@ To deploy Archiva on Tomcat 5.5
+-------------------------------------------------------------------------+
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/archiva"
docBase="${catalina.home}/archiva/archiva-webapp-1.0-SNAPSHOT.war">
docBase="${catalina.home}/archiva/archiva-webapp-1.0.war">
<Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource"
username="sa"
@ -46,17 +45,8 @@ To deploy Archiva on Tomcat 5.5
instead, or see {{{http://issues.apache.org/bugzilla/show_bug.cgi?id=40668}
Bug 40668}} for a workaround.
* Install <<<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):
+-------------------------------------------------------------------------+
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>*.jspf</url-pattern>
</servlet-mapping>
+-------------------------------------------------------------------------+
* Install <<<derby-10.1.3.1.jar>>> into the Tomcat <<<common/lib>>>. This is required since the data sources are
instantiated before the web application.
When you first start Archiva, you will see an Exception that schema SA does not exist - however it doesn't
cause a problem. If you use a username other than 'sa', such as 'archiva', then you seem to get the same error but