I agree that loading the file each time does not scale well. As the
property files are mostly static I propose we install
a listener for changes and cache the contents in a thread safe map
internally.
WDYT?
Christian
On 05.06.2015 09:51, Charles Moulliard wrote:
Hi,
Could it be possible with Apache Karaf 2.4 that, when we have a huge number
of threads accessing JAAS Properties login Module, some thread could be
blocked/locked as we reopen every time the users.properties file (
http://grepcode.com/file/repo1.maven.org/maven2/org.apache.karaf.jaas/org.apache.karaf.jaas.modules/2.3.4/org/apache/karaf/jaas/modules/properties/PropertiesLoginModule.java?av=f#60)
?
Regards,
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com