archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: Basic Install Question
Date Mon, 14 Sep 2015 07:18:22 GMT
Hi,
Not sure about relative to what. IMHO to $CATALINA_BASE/bin.

Note you can use interpolation in tomcat context file.
So url can contains reference to an env var using ${ } annotation.

something like:
url="jdbc:derby:${ARCHIVA_DB}/archiva;create=true" />



On 11 September 2015 at 07:19, Mark Faine <mark.faine@gmail.com> wrote:

> Tomcat 7
> Archiva 2.2.0
>
> What I want to do should be very simple, however, I cannot for the life of
> me figure out how.
>
> 1. Installation of Archiva as a deployed (exploded) web application under
> /opt/tomcat/webapps
>
> 2. The repository ,data, groups and other folders are being created in
> $CATALINA_HOME, this is not where they should be, I have tried to find a
> way to set another location but I cannot figure it out.  How can I set the
> location where the folders should be created?
>
> I have my context setup in /opt/tomcat/conf/Catalina/localhost/archiva.xml
>
> 3.  The instructions state:
>
> url="jdbc:derby:/path/to/database/archiva;create=true" />
>
>
> Does /path/to/database need to be canonical, can it be relative?  If
> so, relative to what?
>
>
>
> tl;dr Essentially, I want the archiva app at the path
> /opt/tomcat/webapps/archiva and all of the resources that are
> generated from the app at /opt/archiva   However, I can't seem to
> figure out any configuration that will result in this outcome.
>
>
>
> Also, I'm getting a file created with the file name
> /opt/tomcat/conf/archiva.xml that contains some configuration for archiva,
> it should stay with archiva webapp, or at least with the archiva created
> resources in /opt/archiva
>



-- 
Olivier Lamy
http://twitter.com/olamy | http://linkedin.com/in/olamy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message