[Yanel-dev] Make WAR files deployable without reconfiguration
Michael Wechner
michael.wechner at wyona.com
Sun May 23 21:22:20 CEST 2010
Michael Wechner wrote:
> Hi
>
> Apart from the logging I have now implemented alternative methods to
> load the realms configuration, whereas I have added some documentation to
>
> http://www.yanel.org/en/documentation/configuration/realms_xml.html
I just noticed that one "minor" problem with this approach is that
having more than one Yanel context within a Tomcat instance, all Yanel
context will access the same realms.xml
I guess not many people will run more than one Yanel context within the
same Tomcat instance, but having downgrade and upgrade functionality it
might be the case.
I think it's important that we keep this mind and maybe reconsider the
loading order.
Cheers
Michi
>
> Together with using catalina.base for the logging this should allow to
> deploy Yanel as WAR file without
> having to re-configure anything after the deployment.
>
> Cheers
>
> Michi
>
> Michael Wechner wrote:
>> Hi
>>
>> In order to make Yanel WAR files deployable without reconfiguration I
>> would like to use ${catalina.base} within the log4j config:
>>
>> conf/log4j.properties
>>
>> which means the log files would be located at
>>
>> YANEL_HOME/local/apache-tomcat-5.5.20/logs/
>>
>> (if the default Tomcat is used)
>>
>> instead
>>
>> YANEL_HOME/logs
>>
>> WDYT?
>>
>> Thanks
>>
>> Michi
>
More information about the Yanel-development
mailing list