diff options
author | Brett Porter <brett@apache.org> | 2008-03-20 02:57:31 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2008-03-20 02:57:31 +0000 |
commit | 42a62ceef1e32e1ec8e3d760719757bb1b3e86ee (patch) | |
tree | 4ed1eb452e7e4fab3d03e45288e7c6f301ace35e /archiva-docs/src/site/apt/adminguide/webapp.apt | |
parent | b147d246301f468bd137ce53a5b68c8f41a7bc90 (diff) | |
download | archiva-42a62ceef1e32e1ec8e3d760719757bb1b3e86ee.tar.gz archiva-42a62ceef1e32e1ec8e3d760719757bb1b3e86ee.zip |
[MRM-690] instructions apply to both versions of Tomcat
Merged from: r639122 on archiva-1.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@639124 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 | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/archiva-docs/src/site/apt/adminguide/webapp.apt b/archiva-docs/src/site/apt/adminguide/webapp.apt index b58aaeaa4..976acf831 100644 --- a/archiva-docs/src/site/apt/adminguide/webapp.apt +++ b/archiva-docs/src/site/apt/adminguide/webapp.apt @@ -14,7 +14,7 @@ Installing Apache Archiva as a Web Application Tomcat fails to start the context and you have to shutdown and restart again. -To deploy Archiva on Tomcat 5.5 +To deploy Archiva on Tomcat 5.5 and Tomcat 6.0 * Create a directory in tomcat called archiva, at the same level as bin, conf, logs and the others. @@ -53,20 +53,18 @@ 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. -To deploy Archiva on Tomcat 6.0.x: - - * Do the same steps specified above when deploying to Tomcat 5.5. - - * The ${appserver.base} java property is used by the Archiva internal logging configuration to determine where to output its logs to. - It is important to define this property either in the $CATALINA_OPTS system environment variable (if Tomcat is being launched via the - command line) or the service properties (if being launched as a service or daemon). The format typically expected is - -Dappserver.base=<SOMEWHERE>. In this example, we'll put the logs in Tomcat's <<<logs>>> directory so we need to set appserver.base - property to where Tomcat is installed: + * The ${appserver.base} java property is used by the Archiva internal logging configuration to determine where to output its logs to. + It is important to define this property either in the $CATALINA_OPTS system environment variable (if Tomcat is being launched via the + command line) or the service properties (if being launched as a service or daemon). The format typically expected is + -Dappserver.base=<SOMEWHERE>. In this example, we'll put the logs in Tomcat's <<<logs>>> directory so we need to set appserver.base + property to where Tomcat is installed: +-----------+ export CATALINA_OPTS="-Dappserver.home=$CATALINA_HOME -Dappserver.base=$CATALINA_HOME" +-----------+ + For more information, see {{{http://cwiki.apache.org/confluence/display/ARCHIVA/Archiva+on+Tomcat} Archiva on Tomcat}} in the wiki. + Archiva Configuration Archiva is configured using the <<<~/.m2/archiva.xml>>> configuration file by default when using a Java EE application server. |