Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-9362

Long running thread leaks SimpleRole objects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.1.0
    • 6.0.0.Final
    • Security
    • Hide

      I attach a maven project which builds a war file which can be deployed on a JBoss 6.0.0.Final server. One has to add the 'admin' user and role to users.properties and roles.properties. One can invoke the long running call using curl:
      curl -u admin:admin -d '' http://<host>:<port>/simpleroletest-1.0/servletapi/admin/reindex

      Show
      I attach a maven project which builds a war file which can be deployed on a JBoss 6.0.0.Final server. One has to add the 'admin' user and role to users.properties and roles.properties. One can invoke the long running call using curl: curl -u admin:admin -d '' http://<host>:<port>/simpleroletest-1.0/servletapi/admin/reindex

      When invoking a long-running EJB method which makes a bunch of calls to some method in another EJB, then JBoss leaks SimpleRole objects. The SimpleRole objects are not removed by a manually triggered garbage collection.

      The SimpleRole object leakage seems to go away if I remove the security domain in jboss.xml. When running my jboss application during the night JBoss had 4GB of SimpleRole objects.

              mmoyses Marcus Moyses (Inactive)
              timtejboss Tim Terlegard (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: