From f2f78e1e9e24ee8b26660409eae14850c7ebc56e Mon Sep 17 00:00:00 2001 From: Brett Porter Date: Thu, 20 Mar 2008 02:55:19 +0000 Subject: [PATCH] [MRM-690] instructions apply to both versions of Tomcat git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/branches@639122 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/site/apt/adminguide/webapp.apt | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/archiva-1.0.x/archiva-docs/src/site/apt/adminguide/webapp.apt b/archiva-1.0.x/archiva-docs/src/site/apt/adminguide/webapp.apt index f2ac58d07..a7887a816 100644 --- a/archiva-1.0.x/archiva-docs/src/site/apt/adminguide/webapp.apt +++ b/archiva-1.0.x/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=. In this example, we'll put the logs in Tomcat's <<>> 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=. In this example, we'll put the logs in Tomcat's <<>> 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. -- 2.39.5