Thank you for providing the solution. When i made the application to use xerces from jdk, i am not getting any exception related to xerces.
(When i was trying with different versions of xerces, i have used <hidden> classes so that the application will use it from EAR only.)
On Jan 7, 2008 2:13 PM, Hari Krishna Korrapati<email@example.com> wrote:Hi,
> I am working on Geronimo 2.0.2.
> I am able to deploy the EAR but getting the following exception at the back
> 15:32:16,766 INFO [Enhance] You have enabled runtime enhancement, but have
> not specified the set of persistent classes. OpenJPA must look for metadata
> for every loaded class, which might increase class load times significantly.
The simplest and easiest approach to get rid of it would be to follow
the advice and add your entity classes to persistence.xml so OpenJPA
won't look for entities.....
> 15:32:18,407 INFO [startup] Assembling app:
> 15:32:19,126 WARN [Enhance] An exception was thrown while attempting to
> perform class file transformation on "samples/ejb/ApplicationEntityBean":
> at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source)> I am using xerces:xercesImple:2.8.1 jar in the EAR.That's what I don't understand. Why do you need xerces.jar in ear?
It's in jdk, isn't it?If it's 2.8.1 and you need it, it makes it even more confusing why it's in ear.
> <sys:hidden-classes><filter> org.apache.xerces</filter></sys:hidden-classes>
> But no use, might be because the vesion of xercesImpl in geronimo repository
> also 2.8.1.