Friday, August 14, 2009

Out of memory error in BPEL/ESB

Out of memory error is thrown from method.


oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "java.lang.OutOfMemoryError

at Method)


at java.util.jar.JarFile.<init>(

at java.util.jar.JarFile.<init>(

at oracle.classloader.SharedJar.doOpen(


at oracle.classloader.SharedCodeSource.ensureOpen(

at oracle.classloader.SharedCodeSource.getResourceBytes(

This is inherent bug with JDk1.4 , still open in jdk1.5 and is fixed only in Jdk 1.6. So the only option is to get rid of the old JDK and replace it with JDK1.6. JDK1.6 looks like the best bet for all the issues related to java JDK. Even though is not certified with java 1.6 its always better to use java 1.6 since this bug is only fixed in java 1.6.


EGJ said...

I have the same error in OIM under OAS, but the problem is in production, so the upgrade jdk is discard. another solution can be applied?


Georgie said...

The only solution is to upgrade the JDK, we had run Soa suite 10.133 with jdk 1.6 in production. It works fine..Oracle doesnt have a solution as its a jdk bug.

EGJ said...

Thank you. I'll try. I appreciate your help.