Change By: Luciano Conceição (30/Aug/13 1:25 PM)
Description: When my Message Driven Bean is executed by container the class org.jboss.weld.ejb.SessionBeanInterceptor is executed but the created InvocationContext has a null contextData field. That generate the following error in the MDB execution.

java.lang.IllegalStateException: getMessageContext() can only be called while servicing a request
at com.sun.xml.ws.server.AbstractWebServiceContext.getMessageContext(AbstractWebServiceContext.java:74)
at com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.getContextData(MethodInvocationInvocationContext.java:92)
at org.jboss.weld.context.ejb.EjbRequestContextImpl.dissociate(EjbRequestContextImpl.java:40)
at org.jboss.weld.context.ejb.EjbRequestContextImpl.dissociate(EjbRequestContextImpl.java:12)
at org.jboss.weld.ejb.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:56)
Truncated. see log file for complete stacktrace

The same MessageDrivenBean was executed with sucess  when I did execute in a
 simples  simple  application without Weld.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira