Hi Gavin,

Found a typo in Lifecycle.beginSession



  |       if ( !eventContextActive )
  |       {
  |          tempEventContext = new MapContext(ScopeType.EVENT);
  |          Contexts.applicationContext.set(tempEventContext);
  |       }
  | 

Should be:


  |       if ( !eventContextActive )
  |       {
  |          tempEventContext = new MapContext(ScopeType.EVENT);
  |          Contexts.eventContext.set(tempEventContext);
  |       }
  | 

Pretty obscure - you only see the effects with Session scoped @Startup 
components and filters that aggressively (create=true) access the HttpSession.

Cheers-Ben

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005263
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to