Ravi, are you seeing this while building in Eclipse or after deploying to a WASCE/Geronimo server?

If during build time, then you probably need to modify your Eclipse JVM settings [1] in the eclipse.ini file (which we have to tell people to do sometimes when building/deploying to WASCE).

If during application deployment/runtime on WASCE, then you probably need to modify the server JVM settings [2].

[1]http://publib.boulder.ibm.com/wasce/V2.1.1/en/development-troubleshooting.html

[2]http://publib.boulder.ibm.com/wasce/V2.1.1/en/tuning-java.html

BTW - Which OS are you using and is this a 32 or 64 bit Sun or IBM JVM (note that 64 bit JVMs require more heap and PermGen space....)


-Donald


[email protected] wrote:
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

Reply via email to