Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 6.0.0.Final
    • Fix Version/s: 6.1.0
    • Component/s: Security
    • Labels:
    • Environment:

      Tested on Mac OS X 10.6.7 with Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode) 1.6.0_24

    • Steps to Reproduce:
      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

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mmoyses Marcus Moyses
                  Reporter:
                  timtejboss Tim Terlegard
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: