I have been working on a SecurityException that happens about 30 minutes into a stress test. The stress test basically keeps getting a bean and invoking a method on that bean. Works great for about 30 minutes. Then it fails. It isn't doing anything different at the 30 minute mark. I turned on jboss logging level for the login modules and it shows a logout which I believe is coming because the cache is set to clean up at 30 minutes which causes a flush on this login. Hence the logout in the trace. The logout seems to remove the roles from the security realm l and the log shows that the prinicpal has no roles even though previous calls did have the roles. Has anyone else seen this? I did some searching any all the hits say this is fixed but I am on jboss3.2.5 so I should have all those fixes.
Here is the log4j output: 2004-08-18 17:17:43,308 TRACE [org.jboss.security.auth.spi.UsersRolesLoginModule] logout 2004-08-18 17:17:43,318 ERROR [org.jboss.ejb.plugins.SecurityInterceptor] Insufficient method permissions, principal=test, method=process, interface=REMOTE, requiredRoles=[MyRole], principalRoles=null 2004-08-18 17:17:43,318 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException, causedBy:...... ..... I am not going to total verify the logout is coming from the cache but I am pretty sure. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845536#3845536 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845536 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
