Tuesday 26 July 2011

Out Of Memory Error in Compile time issue

WebLogic server startup causing the OutOfMemoryError when it is compling new jar file

I have deployed the ear file(it contains jars,wars) and I was trying to restart the application on one managed server,The managed server started successfully with running mode but startWeblogic.OUT file having the "OutofMmoryError" error. so i need to fix as i am on prod deploy call.

I have tried to resolve by checking the disk space utiliazation,Jdk's min&max memorey arguments,heapdump etc ...everywhere it looks good, eventhought I have restarted the server after cleared cache ,space ...still the error is coming up ... found that the java is trying to compile the new jar file, and it was failing to compile while deploying it in server startup.

I have tried many ways to resolve it ...but it didn't success it.

After i had compared the admin console with the another prod backup environment's admin console which is working fine.

Found that there is a Java Compiler path different in admin console when we compared with other environment's admin console for that perticular server instance.
so the compiler is not supporting while compiling perticular jar file actually *ejb.jar file was trying to deploy and compliling after we restarted the server so that the perticular code is not supporting.

I have updated the path from /usr/j2se142_08/bin/javac to /java/j2se142_11/bin/javac

then the server came up successfully after bounced the server without any error.


for this, i have created a problem ticket and resolved it finally, it is a small issue but taken much time to trouble shoot the problem ...

No comments:

Post a Comment