[jboss-jira] [JBoss JIRA] (JBAS-9362) Long running thread leaks SimpleRole objects

Adam Zovits (JIRA) jira-events at lists.jboss.org
Wed Sep 5 11:26:33 EDT 2012


    [ https://issues.jboss.org/browse/JBAS-9362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12716112#comment-12716112 ] 

Adam Zovits commented on JBAS-9362:
-----------------------------------

Hi all!
I know this is an old issue concerning an old version of JBoss, but I also have this exact problem.

After finding and downloading the above mentioned jar files ( http://maven.antelink.com/service/local/repo_groups/public-jboss/content/org/jboss/security/jboss-security-spi/2.0.4.SP3/jboss-security-spi-2.0.4.SP3.jar and http://maven.antelink.com/service/local/repo_groups/public-jboss/content/org/jboss/security/jbosssx/2.0.4.SP3/jbosssx-2.0.4.SP3.jar ) from an old mirror that wasn't shut down yet, I replaced the relevant ones in a freshly downloaded JBoss 5.1.0 instance and started deploying our project.

One hour later VisualVM says there are 657,664 instances of SimpleRole, just like before the proposed workaround. 

Did I do something wrong? Or are there any other known fixes, patches, workarounds, anything?

We'd be grateful for any help in this matter.

Thanks in advance!
                
> Long running thread leaks SimpleRole objects
> --------------------------------------------
>
>                 Key: JBAS-9362
>                 URL: https://issues.jboss.org/browse/JBAS-9362
>             Project: Application Server 3  4  5 and 6
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Security
>    Affects Versions: 6.0.0.Final
>         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
>            Reporter: Tim Terlegard
>            Assignee: Marcus Moyses
>              Labels: jboss
>             Fix For: 6.1.0
>
>         Attachments: simpleroletest.tar.gz
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list