Re: Usage of ${appserver.home} in ~/.m2/archiva.xml

2007-05-09 Thread Martin Ahrer

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.



Re: Usage of ${appserver.home} in ~/.m2/archiva.xml

2007-05-07 Thread Martin Ahrer

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.