You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Martin Ahrer <ma...@gmx.at> on 2007/05/05 13:33:57 UTC
Usage of ${appserver.home} in ~/.m2/archiva.xml
I have successfully deployed the latest archiva code to tomcat. But I'm
probably missing some minor configuration parameters.
~/.m2/archiva.xml is referencing ${appserver.home} which seems not to be a
known property! Also, in my Tomcat folder a subfolder
${appserver.base}/logs gets created, so there is another property missing.
For this reason I first would like to ask 2 questions:
* What these properties are about, what is ${appserver.home} meant to be
and what is ${appserver.base} meant to be?
* How can I set these properties (are they system properties)?
Thanks
Martin
--
View this message in context: http://www.nabble.com/Usage-of-%24%7Bappserver.home%7D-in-%7E-.m2-archiva.xml-tf3696110.html#a10335643
Sent from the archiva-users mailing list archive at Nabble.com.
Re: Usage of ${appserver.home} in ~/.m2/archiva.xml
Posted by Martin Ahrer <ma...@gmx.at>.
I have set both properties through CATALINA_OPTS, here is how I start Tomcat
on a win32 machine!
@set CATALINA_OPTS=-Dappserver.home=d:\temp\home
-Dappserver.base=d:\temp\base
@cd d:\temp\apache-tomcat-5.5.23
@mkdir d:\temp\home\
@mkdir d:\temp\base\logs
@d:\temp\apache-tomcat-5.5.23\bin\startup.bat
The appserver.home property is accepted, archiva creates a repository named
"internal" inside this directory. However, the appserver.base is
particularly ignored, the archiva.log file is going to this path BUT still
the TOMCAT_HOME/${appserver.base}\logs folder is created and it contains the
file audit.log
For comparing this I have also deployed continuum and noticed a similar
behaviour, TOMCAT_HOME/${appserver.base}\logs folder is created but stays
empty!
Hope this helps to diagnose and fix! I mean it's not a major issue but
strange!
Thanks
Martin
Emmanuel Venisse wrote:
>
>
>
> Wendy Smoak a écrit :
>> On 5/5/07, Emmanuel Venisse <em...@venisse.net> wrote:
>>> I updated the tomcat installation page :
>>> http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat
>>
>> Emmanuel, can you review items 5 and 7 on that page? Both are talking
>> about appserver.base.
>
> I removed #7, I haven't seen infos was already in #5 :)
>
>>
>> Do we have a good explanation of appserver.home vs appserver.base?
>>
>
> I don't have a good explanation yet, but appserver.home is used only by
> the standalone app (I think). Maybe brett will can explain it.
>
> Emmanuel
>
>
>
--
View this message in context: http://www.nabble.com/Usage-of-%24%7Bappserver.home%7D-in-%7E-.m2-archiva.xml-tf3696110.html#a10401053
Sent from the archiva-users mailing list archive at Nabble.com.
Re: Usage of ${appserver.home} in ~/.m2/archiva.xml
Posted by Emmanuel Venisse <em...@venisse.net>.
Wendy Smoak a écrit :
> On 5/5/07, Emmanuel Venisse <em...@venisse.net> wrote:
>> I updated the tomcat installation page :
>> http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat
>
> Emmanuel, can you review items 5 and 7 on that page? Both are talking
> about appserver.base.
I removed #7, I haven't seen infos was already in #5 :)
>
> Do we have a good explanation of appserver.home vs appserver.base?
>
I don't have a good explanation yet, but appserver.home is used only by the standalone app (I think). Maybe brett will can explain it.
Emmanuel
Re: Usage of ${appserver.home} in ~/.m2/archiva.xml
Posted by Wendy Smoak <ws...@gmail.com>.
On 5/5/07, Emmanuel Venisse <em...@venisse.net> wrote:
> I updated the tomcat installation page : http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat
Emmanuel, can you review items 5 and 7 on that page? Both are talking
about appserver.base.
Do we have a good explanation of appserver.home vs appserver.base?
--
Wendy
Re: Usage of ${appserver.home} in ~/.m2/archiva.xml
Posted by Emmanuel Venisse <em...@venisse.net>.
I updated the tomcat installation page : http://docs.codehaus.org/display/MAVENUSER/Archiva+on+Tomcat
Emmanuel
Emmanuel Venisse a écrit :
> You must create a directory (for example, 'appserver_base' or something
> else) where you want on your disk.
> Then you set the CATALINA_OPTS env var like that:
> set CATALINA_OPTS=-Dappserver.base=/path/to/appserver_base/directory
> Then you restart your tomcat.
>
> Emmanuel
>
> Martin Ahrer a écrit :
>> I have successfully deployed the latest archiva code to tomcat. But I'm
>> probably missing some minor configuration parameters.
>> ~/.m2/archiva.xml is referencing ${appserver.home} which seems not to
>> be a
>> known property! Also, in my Tomcat folder a subfolder
>> ${appserver.base}/logs gets created, so there is another property
>> missing.
>>
>> For this reason I first would like to ask 2 questions:
>> * What these properties are about, what is ${appserver.home} meant to be
>> and what is ${appserver.base} meant to be?
>> * How can I set these properties (are they system properties)?
>>
>> Thanks
>> Martin
>
>
>
>
Re: Usage of ${appserver.home} in ~/.m2/archiva.xml
Posted by Martin Ahrer <ma...@gmx.at>.
I have set both properties through CATALINA_OPTS, here is how I start Tomcat
on a win32 machine!
@set CATALINA_OPTS=-Dappserver.home=d:\temp\home
-Dappserver.base=d:\temp\base
@cd d:\temp\apache-tomcat-5.5.23
@mkdir d:\temp\home\
@mkdir d:\temp\base\logs
@d:\temp\apache-tomcat-5.5.23\bin\startup.bat
The appserver.home property is accepted, archiva creates a repository named
"internal" inside this directory. However, the appserver.base is
particularly ignored, the archiva.log file is going to this path BUT still
the TOMCAT_HOME/${appserver.base}\logs folder is created and it contains the
file audit.log
For comparing this I have also deployed continuum and noticed a similar
behaviour, TOMCAT_HOME/${appserver.base}\logs folder is created but stays
empty!
Hope this helps to diagnose and fix! I mean it's not a major issue but
strange!
Thanks
Martin
Emmanuel Venisse wrote:
>
> You must create a directory (for example, 'appserver_base' or something
> else) where you want on your disk.
> Then you set the CATALINA_OPTS env var like that:
> set CATALINA_OPTS=-Dappserver.base=/path/to/appserver_base/directory
> Then you restart your tomcat.
>
> Emmanuel
>
>
--
View this message in context: http://www.nabble.com/Usage-of-%24%7Bappserver.home%7D-in-%7E-.m2-archiva.xml-tf3696110.html#a10358139
Sent from the archiva-users mailing list archive at Nabble.com.
Re: Usage of ${appserver.home} in ~/.m2/archiva.xml
Posted by Emmanuel Venisse <em...@venisse.net>.
You must create a directory (for example, 'appserver_base' or something else) where you want on your disk.
Then you set the CATALINA_OPTS env var like that:
set CATALINA_OPTS=-Dappserver.base=/path/to/appserver_base/directory
Then you restart your tomcat.
Emmanuel
Martin Ahrer a écrit :
> I have successfully deployed the latest archiva code to tomcat. But I'm
> probably missing some minor configuration parameters.
> ~/.m2/archiva.xml is referencing ${appserver.home} which seems not to be a
> known property! Also, in my Tomcat folder a subfolder
> ${appserver.base}/logs gets created, so there is another property missing.
>
> For this reason I first would like to ask 2 questions:
> * What these properties are about, what is ${appserver.home} meant to be
> and what is ${appserver.base} meant to be?
> * How can I set these properties (are they system properties)?
>
> Thanks
> Martin