Also, cglib should not be used in jbossas. Javassit should be the only proxy framework being used.
I tried out multiple proxy class builders when I was working on EJBTHREE-485. I've refactored some (ejb proxy) factories to have a single point of proxy class generation.
Pending the solution of EJBTHREE-485 there is still some zombie code using cglib which I've now commented out. (org.jboss.ejb3.BaseStatelessProxyFactory)