karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-2910) Properties login module seems to leak a PropertiesInstaller reference results in OOM
Date Mon, 14 Apr 2014 13:38:16 GMT
Gary Tully created KARAF-2910:
---------------------------------

             Summary: Properties login module seems to leak a PropertiesInstaller reference
results in OOM
                 Key: KARAF-2910
                 URL: https://issues.apache.org/jira/browse/KARAF-2910
             Project: Karaf
          Issue Type: Bug
          Components: karaf-security
    Affects Versions: 2.3.2
         Environment: jaas login
            Reporter: Gary Tully


with the default jaas login config - repeated login attempts lead to OOM.

heap dump shows:
org.apache.karaf.jaas.modules.properties.PropertiesInstaller 86,374 instances

on investigation seems each PropertiesLogin init registers a PropertiesInstaller service that
I don't see used.
Unit test and possible fix (though I have no idea what a PropertiesInstaller service should
do) attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message