Separating the base from the installation not working

2008-02-18 Thread Martin Hoeller
Hi! I'm trying to install archiva 1.0.1 on Linux as a standalone application as running in JBoss gives various errors. The archiva admin guide for standalone installation [0] says | However, the best way to use this installation technique is to separate | the configuration from the installation

Re: Separating the base from the installation not working

2008-02-18 Thread Brett Porter
The doc could well be a bit wrong in step 2 - please file a bug for that :) I do use it successfully with the following script to start it though: #!/bin/sh version=1.0.1 PLEXUS_BASE=$HOME/Library/Application\ Support/Archiva

Re: Separating the base from the installation not working

2008-02-18 Thread Martin Hoeller
On 19 Feb 2008, Brett Porter wrote: The doc could well be a bit wrong in step 2 - please file a bug for that :) Ok, done that: http://jira.codehaus.org/browse/MRM-701 I do use it successfully with the following script to start it though: #!/bin/sh version=1.0.1

Re: Separating the base from the installation not working

2008-02-18 Thread Brett Porter
Ah, I see. You shouldn't move the original configuration (specifically the classworlds configuration). I just copy the 3 XML files to the new conf directory. Also, you are write - the PID file is written to the installation (which is probably a bug - we should make sure that is addressed in

Re: Separating the base from the installation not working

2008-02-18 Thread Martin Hoeller
Hi Brett! Thanks for you help so far. On 19 Feb 2008, Brett Porter wrote: Ah, I see. You shouldn't move the original configuration (specifically the classworlds configuration). I just copy the 3 XML files to the new conf directory. Ok, so this is an issue in the mentioned documentation

Re: Separating the base from the installation not working

2008-02-18 Thread Brett Porter
yeah - the application expands itself so the whole directory (services, apps, bin) need to be writeable even if you use an alternate base. I suspect this is what is needed. It won't be an issue once MRM-688 is finished for a future version :) Cheers, Brett On 19/02/2008, Martin Hoeller [EMAIL

Re: Separating the base from the installation not working

2008-02-18 Thread Martin Hoeller
On 19 Feb 2008, Brett Porter wrote: oops - you need to edit plexus.xml too. Which one, a find -name plexus.xml gives me this: ./archiva-data/conf/plexus.xml ./apache-archiva-1.0.1/conf/plexus.xml ./apache-archiva-1.0.1/apps/archiva/conf/plexus.xml I assume it's either the first or the second

Re: Separating the base from the installation not working

2008-02-18 Thread Martin Hoeller
On 19 Feb 2008, Brett Porter wrote: ${appserver.base} should work, but if not you can hardcode it YES! Finally got it working! Many thanks again to you Brett! I'll go and file an issue with the updated documentation. - martin -- Martin Höller | [EMAIL PROTECTED] *x Software