Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: EE-3.3.0.GA
-
Component/s: Samples
-
Labels:None
-
Environment:Poll, WebLogic Server cluster
Description
Poll's set-up of the PollMessageService happens on a different non-JSF thread when running in a WebLogic Server cluster environment. It's not possible to get to the FacesContext on this thread unless it's otherwise being cached up front.
The following check has been moved to an earlier spot where the existence of JMS is checked:
ApplicationConfiguration.getInstance().isMessagingEnabled()
The ApplicationConfiguration.getInstance() call underneath is trying to get the FacesContext. This cannot be done on a non-JSF thread. The move actually made more sense in hindsight as well. Marking this one as FIXED.