[jboss-as7-dev] Issue in EJB ?
Jason Greene
jgreene at redhat.com
Sat Jul 23 15:53:15 EDT 2011
On Jul 23, 2011, at 10:03 AM, Jaikiran Pai <jpai at redhat.com> wrote:
> On Saturday 23 July 2011 08:25 PM, Jaikiran Pai wrote:
>> ...
>> This results in a CNFE http://pastebin.com/3tgtrhnx. The important piece
>> here is the static initialization block of the bean. This gets invoked
>> during the deployment stage when the TCCL is null.
> Thinking a bit more about this - shouldn't the user code (including this
> static block initialization) be running in the TCCL corresponding to the
> deployment CL?
Yes it most definitely should, we should make sure that all phase services set the TCCL at POST_MODULE and later.
More information about the jboss-as7-dev
mailing list