AS7 does have an implementation of PersistenceUnitInfo.getNewTempClassLoader(), AS5/AS6 didn't.
https://issues.jboss.org/browse/AS7-4996 is a related issue (PersistenceUnitInfo.addTransformer() needs more work) and could be the cause of the "temporary classloader ... is not available" error. The error message looks very nice but I'm wondering if its theory as to the likely cause, is wrong. I have some ideas for fixing AS7-4996, which could help your test also.
Can we please continue this discussion in the AS7 forums. Thanks for continuing to push on EclipseLink integration and these issues! Much appreciated!
Craig,
I believe that this issue is out of date but I'm not 100% sure (with regard to whether further code changes are going into EJBTHREE).
EJBTHREE-572 was intended to be fixed for AS5/AS6 but is not relevant for AS7. AS7 issues should be created at https://issues.jboss.org/browse/AS7.
AS7 does have an implementation of PersistenceUnitInfo.getNewTempClassLoader(), AS5/AS6 didn't.
https://issues.jboss.org/browse/AS7-4996 is a related issue (PersistenceUnitInfo.addTransformer() needs more work) and could be the cause of the "temporary classloader ... is not available" error. The error message looks very nice but I'm wondering if its theory as to the likely cause, is wrong. I have some ideas for fixing AS7-4996, which could help your test also.
Can we please continue this discussion in the AS7 forums. Thanks for continuing to push on EclipseLink integration and these issues! Much appreciated!