Community
Participate
Working Groups
Due to a classloader issue, a ClassCastException may be encountered when using Dynamic JAXB on Glassfish (or other server environment). When OXMJavaModelImpl tries looking up a class to see if it exists yet (to see if it needs to create a dynamic type), we do a standard Class.forName check. However we must pass in the user's classloader, or we may not find the concrete class even if it exists.
Created attachment 199072 [details] Patch
Fixed and checked into trunk.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink