[jboss-jira] [JBoss JIRA] Commented: (JBAS-4178) RunAsListener uses unsupported implementation

Remy Maucherat (JIRA) jira-events at lists.jboss.org
Thu Mar 22 10:18:34 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBAS-4178?page=comments#action_12356993 ] 
            
Remy Maucherat commented on JBAS-4178:
--------------------------------------

I posted an email on this earlier this month, so I think this issue should be closed:

I looked at what it was used for (supporting run-as when running the servlet's init and destroy methods), and there's no easy way to do it without this thing. I said it was unsupported since the impl of this capability hasn't changed since 4.0, I had forgotten it existed, and I am not aware of anyone else using it either. Since it works, I suppose it can be supported again  :)

It is easy to disable usage of the listener in JBoss, BTW, and IMO it should be removed before performance testing (although the sync/clone is removed - which is good since the listener is there by default -, it will still generate tons of garbage objects which can't really be optimized away).

> RunAsListener uses unsupported implementation
> ---------------------------------------------
>
>                 Key: JBAS-4178
>                 URL: http://jira.jboss.com/jira/browse/JBAS-4178
>             Project: JBoss Application Server
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Security
>    Affects Versions: JBossAS-4.0.5.GA
>            Reporter: Ryan Campbell
>         Assigned To: Anil Saldhana
>            Priority: Critical
>             Fix For: JBossAS-4.0.5.SP1 , JBossAS-4.2.0.GA,  JBossAS-5.0.0.Beta3
>
>
> Class org.jboss.web.tomcat.security.RunAsListener is an implementation of InstanceListener interface used for establishment of run-as role for servlet init/destroy events. According to tomcat developers, InstanceListener interface is meant for debugging purposes only and is causing some performace degradations. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list