Wendy,
I have defined the environment variable ARCHIVA_BASE, but the default archiva.xml is being used. I even tried adding -DARCHIVA_BASE=$ARCHIVA_BASE to CATALINA_OPTS, but to no avail.

Below is from tomcat's conf/setenv.sh
export ARCHIVA_BASE=/internal/archiva
export CATALINA_HOME=/internal/apache/apache-tomcat-6.0.16
export CATALINA_BASE=`pwd`
export CATALINA_OPTS="-Dappserver.home=$CATALINA_BASE 
-Dappserver.base=$CATALINA_BASE -DARCHIVA_BASE=$ARCHIVA_BASE"

What am I missing?

Paul Spencer


Wendy Smoak wrote:
On Fri, Jun 6, 2008 at 10:29 AM, Paul Spencer <[EMAIL PROTECTED]> wrote:
Their are a few users in addition to root that may start the Tomcat running
Archiva.  How do I define Archive configuration file to something other then
~/.m2/archiva.xml?

In my case the configuration file will be /internal/archive/archiva.xml.

I found:
http://archiva.apache.org/guides/configuration.html ->
   http://archiva.apache.org/guides/security-configuration.html ->

Note:  Archiva's list of configuration files is itself  configurable,
and can be found in:
$ARCHIVA_HOME/apps/archiva/webapp/WEB-INF/classes/META-INF/plexus/application.xml


Reply via email to