Craig Ringer commented on Bug EJBTHREE-572

Looks like this has been languishing for about four years. Does it need to be closed/fixed, or does the bug still exist?

When deploying EclipseLink 2.3.2 as a JBoss module on JBoss AS 7, I encounter the following error from EclipseLink:

The temporary classLoader for PersistenceLoadProcessor [xxxx-PU] is not available. Switching classLoader to [ModuleClassLoader for Module "deployment.xxxxx.war:main" from Service Module Loader]. Weaving has been disabled for this session. EclipseLink may be unable to get a spec mandated temporary class loader from the server, you may be able to use static weaving as an optional workaround.

Research on that error takes me to:

http://wiki.eclipse.org/EclipseLink/Examples/JPA/Migration/JBoss

which suggests that the issue remains, but is also fairly old.

Applying the workaround for https://bugs.eclipse.org/bugs/show_bug.cgi?id=365704 (see my comment in that bug) allows EclipseLink to see the JBoss AS 7 JTA, but doesn't affect weaving/enrichment issues.

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