Here the problem is that the attribute is removed from the underlying Collection in 
line 6 ifthe session variable matches sessionVarName. This causes the 
ConcurrentModificationException .

Enumeration e = session.getAttributeNames(); 
while (e.hasMoreElements()) 
{ 
     String name = (String)e.nextElement(); 
     if(name.equalsIgnoreCase(sessionVarName)) 
          session.removeAttribute(name); 
}
 


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841921#3841921

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841921


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to