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.