Brian's correct; my switching over to the TCCL in
BaseSessionProxyFactory.createProxyBusiness() leads to a CL Leak. But I'm not
convinced that this is the evil piece.
I *need* this code, and web injection fails without it (see
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=141165 for an explanation
of why).
However, this TCCL usage seems awfully hacky to be in EJB3 Proxy; I'd expect to always
use the Container CL to generate proxies. This unfortunately will collide when a web CL
needs injection and has previously defined the business interfaces with its own CL (which
by Servlet Spec must look to itself *first*, and parent delegation second).
Also interesting is Ron's last post, which I'll look at tomorrow.
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175781#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...