karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morgan Hautman <morgan.haut...@gmail.com>
Subject Re: Thread locked with JAASLogin Module called by CXF Interceptor (Karaf 2.4)
Date Fri, 05 Jun 2015 08:25:03 GMT
Maybe we first need to be sure that it is the problem?

Regards
Morgan

On 5/06/2015 10:20, Christian Schneider wrote:
> 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,
>
>


Mime
View raw message