The problem is that the application.xml of the ear is missing:
<module>
<java></java>
</module>
There you have to put the lib/... path of your jar in the ear <module>
<java>lib/eclipselink.jar</java>