Hi,
I am using WAS CE as my application server and I am trying to enhance my
entities at build time by using Pinaki Podar's method of enhancing with
eclipse. My working env is :
Java: 1.6
OpenJPA 1.2
Eclipse Europa 3.3.1
When I am trying to invoke a service bean I am getting following error :-
2009-06-27 12:21:33,750 WARN [Enhance] An exception was thrown while
attempting
to perform class file transformation
on "com/pril/rxl/entities/SaleReturnLineIt
em":
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2760)
at java.util.Arrays.copyOf(Arrays.java:2734)
at java.util.ArrayList.ensureCapacity(ArrayList.java:167)
at java.util.ArrayList.add(ArrayList.java:351)
at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataRepo
sitory.java:676)
at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataReposi
tory.java:575)
at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository
.java:500)
at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataReposi
Kindly help me.
I can not move futher towards completion of my task untill this problem is
resolved.
I would be really thankful to you for the help.
Thanks in advance.
With Regds,
Ravi Kant