You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Miguel Almeida <mi...@gmail.com> on 2014/05/02 13:10:37 UTC
[Archiva 2.0.1] java.io.IOException: Cannot write log directory
Trying out the latest release, but I'm getting the following exception in
wrapper.log when starting:
java.io.IOException: Cannot write log directory
/opt/archiva/apache-archiva-1.4-M4/logs
This is expected because...the directory of 2.0.1 is
/opt/archiva/apache-archiva-2.0.1/, and not apache-archiva/1.4-M4.
Perhaps tere's a configuration file where the software version wasn't
updated?
Re: [Archiva 2.0.1] java.io.IOException: Cannot write log directory
Posted by Miguel Almeida <mi...@gmail.com>.
Precisely Deng! Thanks for poining out the variable name - I had a feeling
that might be it but was still looking for the variable name to look for! :)
On Fri, May 2, 2014 at 12:21 PM, Deng Ching-Mallete <oc...@apache.org>wrote:
> Hi Miguel,
>
> Do you have ARCHIVA_BASE defined as an environment variable? It must
> still be pointing to the old path :)
>
> Thanks,
> Deng
>
> On Fri, May 2, 2014 at 7:10 PM, Miguel Almeida
> <mi...@gmail.com> wrote:
> > Trying out the latest release, but I'm getting the following exception in
> > wrapper.log when starting:
> >
> >
> > java.io.IOException: Cannot write log directory
> > /opt/archiva/apache-archiva-1.4-M4/logs
> >
> >
> > This is expected because...the directory of 2.0.1 is
> > /opt/archiva/apache-archiva-2.0.1/, and not apache-archiva/1.4-M4.
> >
> > Perhaps tere's a configuration file where the software version wasn't
> > updated?
>
>
>
> --
> Maria Odea "Deng" Ching-Mallete | oching@apache.org |
> http://www.linkedin.com/in/oching
>
Re: [Archiva 2.0.1] java.io.IOException: Cannot write log directory
Posted by Deng Ching-Mallete <oc...@apache.org>.
Hi Miguel,
Do you have ARCHIVA_BASE defined as an environment variable? It must
still be pointing to the old path :)
Thanks,
Deng
On Fri, May 2, 2014 at 7:10 PM, Miguel Almeida
<mi...@gmail.com> wrote:
> Trying out the latest release, but I'm getting the following exception in
> wrapper.log when starting:
>
>
> java.io.IOException: Cannot write log directory
> /opt/archiva/apache-archiva-1.4-M4/logs
>
>
> This is expected because...the directory of 2.0.1 is
> /opt/archiva/apache-archiva-2.0.1/, and not apache-archiva/1.4-M4.
>
> Perhaps tere's a configuration file where the software version wasn't
> updated?
--
Maria Odea "Deng" Ching-Mallete | oching@apache.org |
http://www.linkedin.com/in/oching