diff options
author | Brett Porter <brett@apache.org> | 2007-11-23 08:11:47 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2007-11-23 08:11:47 +0000 |
commit | 2d5f439e0391eba80de16fc61a9e183861f0aae2 (patch) | |
tree | 9e34b86d0024d0c41dddc8b4f5504346c1934793 /archiva-docs/src/site/apt/adminguide/webapp.apt | |
parent | 92cb46bcd021aaeba0167a3eecb0e1656a3deac2 (diff) | |
download | archiva-2d5f439e0391eba80de16fc61a9e183861f0aae2.tar.gz archiva-2d5f439e0391eba80de16fc61a9e183861f0aae2.zip |
small tweaks
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@597587 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src/site/apt/adminguide/webapp.apt')
-rw-r--r-- | archiva-docs/src/site/apt/adminguide/webapp.apt | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/archiva-docs/src/site/apt/adminguide/webapp.apt b/archiva-docs/src/site/apt/adminguide/webapp.apt index 7b0bbf81d..e06f0814a 100644 --- a/archiva-docs/src/site/apt/adminguide/webapp.apt +++ b/archiva-docs/src/site/apt/adminguide/webapp.apt @@ -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 |