Well I think I solved a work around the problem.
It seems that an MDB in the system they had put some code
to set the jaas environment and call login on the module.
Removing this and using the unauthenticatedIdentity in the real module
allowed the cache cleanup to not affect anything. But I believe the cache
cleanup still shouldn't cause this to happen.
Wierd is that the session beans was using a different login domain.
And the mdb had the domain set explicitly to "other" which was different than the
session bean. The mdb did access the session bean which
it let be access because I think the run-as was set with the correct role.
Anyhow the cache did a logout and it somehow affected a client that was accessing a
session bean.
Code from mdb that was removed.
String userId = "test";
LoginContext lc= new LoginContext("other", callbackHandler);
lc.login();
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845668#3845668
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845668
-------------------------------------------------------
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