On 17/03/2010, at 2:18 PM, jnl1 wrote:
>
> I tried that, but it doesn't work. Error message is:
>
> Unable to resolve property 'appserver.base'
Perhaps that version of tomcat needs different options? Like JAVA_OPTS? What
you need is to pass those variables as system properties to the Java process.
>
> So, I added:
>
> appserver.base=%CATALINA_HOME
> appserver.home=%CATALINA_HOME
Note it should be:
appserver.base=c:\\opt\\apps\\archiva
in your case.
>
> to the application.properties in WEB-INF/classes. That gets past the
> 'unable to resolve...' error, but within my Tomcat bin directory a
> ${appserver.base} directory gets created.
>
> Anybody with ideas on how to set this property ? I really don't want to
> have an ${appserver.base} dir created within my Tomcat installation.
I assume the ${appserver.base} gets created with just the logs directory in it?
If that's the case, you can also edit WEB-INF/classes/log4j.xml to change the
configuration.
>
> thanks
>
>
>
>
>
>
> brettporter wrote:
>>
>> From http://archiva.apache.org/docs/1.3/adminguide/webapp.html:
>>
>> set CATALINA_OPTS="-Dappserver.home=%CATALINA_HOME%
>> -Dappserver.base=%CATALINA_HOME%"
>>
>> Cheers,
>> Brett
>>
>> On 17/03/2010, at 12:05 PM, jnl1 wrote:
>>
>>>
>>> hi all...
>>>
>>> I have archiva 1.3 running on tomcat 6.0.26. The problem is the
>>> default
>>> repositories have:
>>>
>>> ${appserver.base}/data/repositories/internal
>>>
>>> The appserver.base variable is not being resolved. I put this line in
>>> startup.bat:
>>>
>>> set appserver.base="C:\opt\apps\archiva"
>>>
>>> I also executed that command before running startup.bat. Can someone
>>> tell me how to set this so it gets resolved to 'C:\opt\apps\archiva'
>>>
>>> thanks
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/newbie-appserver.base-appserver.home-in-tomcat-tp27926792p27926792.html
>>> Sent from the archiva-users mailing list archive at Nabble.com.
>>>
>>
>> --
>> Brett Porter
>> [email protected]
>> http://brettporter.wordpress.com/
>>
>>
>>
>>
>>
>>
>
> --
> View this message in context:
> http://old.nabble.com/newbie-appserver.base-appserver.home-in-tomcat-tp27926792p27927475.html
> Sent from the archiva-users mailing list archive at Nabble.com.
>
--
Brett Porter
[email protected]
http://brettporter.wordpress.com/