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 <[EMAIL PROTECTED]> 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.