I had the same problem when deploying to OC4J 10.1.3. It looks like the antlr.jar which is distributed with Oracle Toplink was being loaded before the one in /WEB-INF/lib
There are two possible solutions to this:
Add the follow entry into the root of your orion-application.xml file in your EAR which tells OC4J not to load the Toplink libraries.
Code:
<imported-shared-libraries>
<remove-inherited name="oracle.toplink"/>
</imported-shared-libraries>
Or
Add the follow entry into the root of your orion-web.xml in your WAR
Code:
<web-app-class-loader search-local-classes-first="true" include-war-manifest-class-path="true" />
The latter solution didn't work immediately for me because the SAX parser my app was different to the one on the app server but it may be useful for others.
Also note that the settings above can also be configured at deploy time when deploying with Oracle Enterprise Manager.