archiva-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <>
Subject Re: Configuring Archiva without setting Tomcat-wide properties
Date Sat, 11 Apr 2015 10:25:44 GMT
Hi David,
Sadly I'm not really it's possible :-(
You need to investigate but there are probably few places where the code
can use System.getProperty("appserver.base") (which is very bad: I agree!!!)

On 8 April 2015 at 02:17, David North <> wrote:

> Hi,
> After some successful experiments with Archiva running using its
> built-in Jetty server, we're working on deployment "for real". We
> usually deploy web apps onto Tomcat, and I'd like to do the same here.
> The instructions at
> all work as
> expected. However, I am unhappy about having to set appserver.home and
> appserver.base in a Tomcat-wide manner using system properties (via
> Is it possible to configure these on a per-webapp basis in
> conf/Catalina/localhost/archiva.xml ?
> I see from digging into the source code a bit that Archiva uses Commons
> Configuration to obtain most of its settings, so I was rather hoping it
> would be possible to pass appserver.home and appserver.base in the
> context file using JNDI or similar. Can anyone confirm if this is
> possible and, if so, give an example?
> Thanks,
> David

Olivier Lamy |

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