I am trying to use an asynchronous method to send an email. Email is configured to use a Seam mail session.
When trying to render the email message inside an asynchronous method the FacesContext is not bound and as such a MockFacesContext is created. The mock context throws an UnsupportedOperationException.
Per the docs the asynchronous method will only have access to the biz context. Any suggestions/recommendation on how to pass it the FacesContext?
What version of Seam and JSF do you use? This should be fixed in 1.2.1.GA. Post the stacktrace