Thursday 4 May 2017

SOA Composite Build failed due to Java Heap Space issue

Problem Description:

Some time you may face the below issue while deploying SOA composite from JDeveloper. I faced the same issue using Jdevelper 11.1.1.6.

The issue says that the compiler couldn't create the jvm.

Issue may happen if you have an internal weblogic server integrated with your JDeveloper IDE. And you do not need weblogic to run while deploying SOA composites to SAR file.

Resolution:

open the [MIDDLEWARE_HOME]\jdeveloper\bin\ant-sca-compile.xml file. and change the jvmarg value as below.

Previous:



 After:



After changing the ant-sca-compile.xml , open the jdev.conf file located at [MIDDLEWARE_HOME]\jdeveloper\jdev\bin and change as below

comment the line "AddVMOption  -XX:MaxPermSize=256M" and add the below 3 lines

AddVMOption –Xmx1280M
AddVMOption -XX:MaxPermSize=256M
AddVMOption -XX:MaxHeapSize=512M




Save the file and redo the deployment again. Now this time it is successful.



No comments:

Post a Comment

Followers

OIM API for adding process task and retry failed task

 In this blog you can find how to add new process task and retry any failed/rejected tasks using API. Adding new process task: /************...