[jboss-dev-forums] [JBoss AS7 Development] - Re: Intermittent JSF bootstrapping bug?

Stan Silvert do-not-reply at jboss.com
Fri Aug 5 08:41:00 EDT 2011


Stan Silvert [http://community.jboss.org/people/ssilvert] created the discussion

"Re: Intermittent JSF bootstrapping bug?"

To view the discussion, visit: http://community.jboss.org/message/619634#619634

--------------------------------------------------------------
I've seen that error while hacking on the overall JSF integration into AS.  It means that it can't find the JSF impl.  

I looked at the Mojarra code for this and found this scary comment:

// double check the current value.  Another thread
// may have completed the initialization by the time
// this thread entered this block
factoryOrList = factories.get(factoryName);


So maybe there is an improper implementation of the double-checked locking idiom?  

Is there any way you can reproduce this consistently?

Stan
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/619634#619634]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110805/bc21d194/attachment.html 


More information about the jboss-dev-forums mailing list