Monday, January 21, 2013

PRC: Refresh Project Summary Amounts



If you proceed with the change to an earlier PA Reporting Period when projects have been accumulated in a later PA period, you need to run the PRC: Refresh Project Summary Amounts process before viewing information in the Project Summary Inquiry (PSI) window.

Thursday, January 17, 2013

JVM tunning for Oracle EBS



Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12 [ID 567551.1]
JVM: Guidelines to setup the Java Virtual Machine in Apps Ebusiness Suite 11i and R12 [ID 362851.1]

Custom Reports with PDF output heap issue




Issue : The following issue in custom report for pdf output


"Error occurred during initialization of VM
Could not reserve enough space for object heap
"



Solution :
change all concurrent requets options from  "-Xms1024M -Xmx1024M"   to "-Xms128M -Xmx512M"


Ref:

Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12 [ID 567551.1]
JVM: Guidelines to setup the Java Virtual Machine in Apps Ebusiness Suite 11i and R12 [ID 362851.1]

Sunday, January 13, 2013

oracle.apps.xdo.oa.cp.JCP4XDODataEngine Could not reserve enough space for object heap



when we ran any request for pdf or xml getting error :

======================================================================

Error occurred during initialization of VM
Could not reserve enough space for object heap
+---------------------------------------------------------------------------+
Start of log messages from FND_FILE
+---------------------------------------------------------------------------+
+---------------------------------------------------------------------------+
End of log messages from FND_FILE
+---------------------------------------------------------------------------+

oracle.apps.xdo.oa.cp.JCP4XDODataEngine
Program exited with status 1
====================================================

Solution : go Concurrent Manager ->Administrator 
         Output Post Processor   restart and activate 

or 
a)
SELECT xcp.xdo_cfg_name "Property",DECODE (TO_CHAR (xcv.config_level),'10', 'Site','30', 'DataSource','50', 'Template','???')"Level",DECODE (TO_CHAR (xcv.config_level),'10', '','30', xd.application_short_name || '|' || xd.data_source_code,
'50', xt.application_short_name || '|' || xt.template_code,
'???') "Context",DECODE (TO_CHAR (xcv.config_level),'10', '','30', 
xd.data_source_name,'50', xt.template_name,'???') "Context Details",xcv.VALUE
FROM xdo_config_values xcv, xdo_ds_definitions_vl xd,xdo_templates_vl xt,xdo_config_properties_b xcp
WHERE xcp.property_code = xcv.property_code
AND xd.application_short_name(+) = xcv.application_short_name
AND xd.data_source_code(+) = xcv.data_source_code
AND xt.application_short_name(+) = xcv.application_short_name
AND xt.template_code(+) = xcv.template_code
ORDER BY xcv.config_level; 

b) 
select 
DEVELOPER_PARAMETERS 
from FND_CP_SERVICES
where SERVICE_ID = (select 
MANAGER_TYPE from FND_CONCURRENT_QUEUES
where CONCURRENT_QUEUE_NAME = 
'FNDCPOPP'); 
ANS:J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx512m

and update 

3.1 Increase Java heap size for the OPP to higher value. The maximum is 2048MB 
(2GB).

UPDATE fnd_cp_services
SET developer_parameters ='J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx1024m
WHERE service_id = (SELECT manager_type
FROM fnd_concurrent_queues WHERE concurrent_queue_name = 'FNDCPOPP');

Note This update will override the default -Xms384m setting for the JVM as defined by AFJSMARG environment variable in the Apps environment file.

$ echo $AFJSMARG
-server -Xmx384m 
-XX:NewRatio=2 -XX:+UseSerialGC 
-Doracle.apps.fnd.common.Pool.leak.mode=stderr:off -verbose:gc