Friday, 21 October 2016

Account Analysis Report Long Running in 12.1.3

XLAAARPT- Account Analysis Report is running for hours


 The main cause for account analysis performance issue is 
Cause:
  •     Lower version of XLAAARPT.xml , DeflateFilter.java and InflateFilter.java
  •     Old table statistics
  •     Few processes defined for "Output Post Processor"
  •     Using Scalable flag as Y

Solution:


1. Apply Patch


    a. Apply below Patch to get latest version of files for modules AR,GL & XLA.

    * patch 21340722 is 'R12 SLA RPC Aug 2015'      OR

    In case if there is huge customization and you can't go with this patch as it will affect customized reports.
    You can proceed with patch 20363988 which gives Similar version for XLAAARPT.xml but with less no of files.

    SO, get the patch impact analysis done by functional team for these patches and go with the suitable one.
    However I will suggest to go with  patch 20363988 as customization is always there with this big schemas like GL.

    Confirm the following file versions:
    XLAAARPT.xml 120.29.12010000.17
   
    b. Apply patch 7306874:R12.XDO.B
   
    Confirm the following file versions:
    DeflateFilter.java 120.1.12010000.2
    InflateFilter.java 120.1.12010000.2


2. Please use the following commands to gather statistisc for these tables:

sqlplus apps/pwd
exec fnd_stats.gather_table_stats ('AP','AP_SUPPLIER_SITES_ALL', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('AP','AP_SUPPLIERS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('APPLSYS','FND_DOCUMENT_SEQUENCES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('APPLSYS','FND_FLEX_VALUES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('APPLSYS','FND_FLEX_VALUES_TL', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('APPLSYS','FND_LOOKUP_VALUES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('APPLSYS','FND_NEW_MESSAGES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('APPLSYS','FND_USER', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('AR','HZ_CUST_ACCOUNTS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('AR','HZ_CUST_ACCT_SITES_ALL', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('AR','HZ_CUST_SITE_USES_ALL', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('AR','HZ_PARTIES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('AR','HZ_PARTY_SITES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('FUN','FUN_SEQ_VERSIONS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_BALANCES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_BUDGET_VERSIONS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_CODE_COMBINATIONS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_DAILY_CONVERSION_TYPES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_ENCUMBRANCE_TYPES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_IMPORT_REFERENCES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_JE_BATCHES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_JE_CATEGORIES_TL', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_JE_HEADERS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_JE_LINES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_JE_SOURCES_TL', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_LEDGERS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('GL','GL_PERIOD_STATUSES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('XLA','XLA_AE_LINES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('XLA','XLA_AE_HEADERS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('XLA','XLA_EVENTS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('XLA','XLA_LOOKUPS', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('XLA','XLA_REPORT_BALANCES', percent=>99,degree=>NULL,cascade=>TRUE);
exec fnd_stats.gather_table_stats ('XLA','XLA_TRANSACTION_ENTITIES', percent=>99,degree=>NULL,cascade=>TRUE);

Allow the above commands to finish.
This might take a while.
 
3. Set this profile options as follows:

- Concurrent: OPP Process Timeout = 43200 ( 12 hours )

4. Set OPP processes to 4

    1. Log on to Applications with "System Administrator" responsibility.
    2. Navigate to Concurrent -> Manager -> Define.
    3. Query for the "Output Post Processor" service.
    4. Click on "Work Shifts"
    5. Increase the number of processes.

    Processes = 4

    6. Save


5. Increase Java heap size to 2.5G:

Check current size:

SELECT service_id, service_handle, developer_parameters
FROM fnd_cp_services
WHERE service_id = (SELECT manager_type
FROM fnd_concurrent_queues
WHERE concurrent_queue_name = 'FNDCPOPP');

Increse it to 2.5G if not already:
UPDATE fnd_cp_services
SET developer_parameters =
'J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx2560m'
WHERE service_id = (SELECT manager_type
FROM fnd_concurrent_queues
WHERE concurrent_queue_name = 'FNDCPOPP');
 
6.  Please insure the following settings:

    * Logon to Applications with "XMLPublisher Administrator" responsibility.
    * Select the Admin tab and insure the following settings:
    - set 'Use XML Publisher's XSLT processor' to True
    - set 'Enable scalable feature of XSLT processor' to TRUE
    - set 'Enable XSLT runtime optimization' to True

7.
    1. Navigate to Payables Manager Responsibility --> Setup --> Accounting Setups --> Subledger Accounting Setup
    2. Click on Open Account Balances Listing Definitions
    3. Click on "Process Options" Button.
    4. Navigate to your Ledger
    5. Number of Processors = 64
    6. Processing Unit Size = 200
    7. Click Apply.

8. set Scalable Flag to N
    Go to the ScalableFlag parameter
  - check the the DISPLAY checkbox to make it visible
  - set the default value to N (In several Metalink docs, including the one I referred, you will be asked to set it to Y, but it is just for diagnostic purpose which will just create logs and reports will run longer, so set it to N)
 
Reference Doc: R12 AP: Account Analysis Report - XLAAARPT Performance Issue (Doc ID 1946616.1)

Thanks,
Achal

EBS Login page showing blank

EBS Login page not coming up !!!

 

Try below options one by one:

Most of the time the cause is incorrect guest password in dbc file or JSP compilation needed.

•    AOLJ test :

    http://<host_name>:<port_number>/OA_HTML/jsp/fnd/aoljtest.jsp
   
•    JSP compile :

Login as applmgr user(may be different in your case) on application primary node , source environment and run below command as it is.

    $FND_TOP/patch/115/bin/ojspCompile.pl --compile --flush -p 2
   
•    Verify Guest password during AOLJ test or with below:

    login to application server with applmgr and source environtment file.
    run below command:
    grep s_guest_pass $CONTEXT_FILE (say OUTPUT is ORACLE)
   
    login to sqlplus as apps user:
    select fnd_web_sec.validate_login('GUEST','ORACLE') from dual;
    this script should return 'Y'
   
•    Check that no object with ICX is invalid:

    If any recompile it manually.
    select * from dba_objects where object_name like '%ICX%' and status ='INVALID';
   
•    Library link from adadmin

    run command: adadmin
    choose option below:
    2.    Maintain Applications Files menu
         1.    Relink Applications programs

•    Apps schema compile from adadmin
    run command: adadmin
    choose option below:
    3.    Compile/Reload Applications Database Entities menu
   
•    Autoconfig

•   Try  restoring to old configuration values from restore.sh

   restore application configuration to old point using restore.sh created during earlier autoconfig.
   Path: $INST_TOP/admin/out/<MMDDYYYY>

Note that do not run autoconfig after restore.sh & start the application. 

Thanks,
Achal

Thursday, 20 October 2016

HRMS Patch: R12.HR_PF.B.delta.8(20000288)

Issues faced During HRMS Patch: R12.HR_PF.B.delta.8(20000288)

 

Error:

ATTENTION: All workers either have failed or are waiting:

           FAILED: file pycnpbtt.ldt on worker  1.
           FAILED: file paycnbcattl.ldt on worker  2.
           FAILED: file paycnutabtl.ldt on worker  3.
           FAILED: file pycnglbtt.ldt on worker  4.
           FAILED: file payaurug.ldt on worker  5.
           FAILED: file pycapettt.ldt on worker  6.
           FAILED: file pyacvmap.ldt on worker  7.
           FAILED: file pycaudtltable.ldt on worker  8.
           FAILED: file pycougp.ldt  on worker  9.
           FAILED: file payhkbcattl.ldt on worker 10.
           FAILED: file pycapbttt.ldt on worker 11.
           FAILED: file pycapectt.ldt on worker 12.
           FAILED: file pycnpect.ldt on worker 13.
           FAILED: file pycapyttt.ldt on worker 14.
           FAILED: file paycndimtl.ldt on worker 15.
           FAILED: file pycapivtt.ldt on worker 16.

ATTENTION: Please fix the above failed worker(s) so the manager can continue.

Note that in case all the workers are failing at a time there is big chance that you missed to apply pre-requisite.

Cause : 


There are pre-requisites patches "9817770:R12.ATG_PF.B" & "9966055:R12.FND.B" which needs to be applied which is not mentioned in patch Readme.

Pre-requisites :

From Patch Readme:

     * R12.AD.B.delta.6
     * R12.ATG_PF.B.delta.3
     * R12.FWK.B.delta.4
   
From Metalink reference : Doc ID 1989740.1 - point 2 give below reference docs as pre-requisite

2. Apply Mandatory Patches Before Applying R12.1 HRMS RUP8 (R12.HR_PF.B.delta.8) [Required]

Attention:Read and follow the instructions in the R12.ATG_PF.B.Delta.3 Patch 8919491 Readme Document 1066312.1. All necessary steps including Post-install steps must be performed before applying Release 12.1 HRMS RUP8 [R12.HR_PF.B.Delta.8, Patch 20000288].

      * 9817770:R12.ATG_PF.B (POST-R12.ATG_PF.B.DELTA.3 CONSOLIDATED PATCH)
      * 9966055:R12.FND.B, Patch 9966055   
     
Oracle Payables and Oracle Payments customers Document 1931412.1
      *16983427


Solution

Please execute the following steps:

1. Stop patch 20000288:
   
    Using adctrl tell workers to quit choosing below option.
   
    3.    Tell worker to quit

2. Take backup of below:
    Take backup of following tables & drop them: "AD_DEFERRED_JOBS" & "FND_INSTALL_PROCESSES".
    Take backup of restart directory located at: $APPL_TOP/admin/<ORACLE_SID>
   
3. Download and apply pre-requisites for patches 9817770 & 9966055.

4. Restore backup tables & directory from backup taken at step 2.

5. Re-apply the main patch: 20000288
   
    Using adctrl as workers to restart jobs choosing below option,
    2.    Tell worker to restart a failed job

  • Check my other relative posts on: 
 *DataInstall and Hrglobal.drv installation     *    License EBS HRMS/Payroll product in EBS application

Thanks,
Achal

HRMS Patch: R12.HR_PF.B.delta.7 (18004477)

Issues faced During HRMS Patch: R12.HR_PF.B.delta.7 (18004477)

 

Error:

All workers failed with below error in patch log.

    ATTENTION: All workers either have failed or are waiting:

               FAILED: file payzztabdic00150.ldt on worker  1.
               FAILED: file payzzvewdic00017.ldt on worker  2.
               FAILED: file sspzztabdic00000.ldt on worker  3.
               FAILED: file ghrzztabdic00000.ldt on worker  4.
               FAILED: file payzztabdic00016.ldt on worker  5.
               FAILED: file perzzvewdic00065.ldt on worker  6.
               FAILED: file perzztabdic00016.ldt on worker  7.
               FAILED: file perzztabdic00031.ldt on worker  8.
               FAILED: file payzztabdic00005.ldt on worker 12.

    ATTENTION: Please fix the above failed worker(s) so the manager can continue.

    All FNDLOAD log files are showing the same error :

    A syntax error occurred at line 893 in file $FND_TOP/patch/115/import/afdict.lct

Note that in case all the workers are failing at a time there is big chance that you missed to apply pre-requisite.

 

Cause : 

There is a pre-requisites patch R12.ATG_PF.B - 14069503 which needs to be applied which is not mentioned in patch Readme.

Pre-requisites :
    * R12.AD.B.delta.3
    * R12.ATG_PF.B.delta.3
    * CPU PATCH FOR OCT 2011 (12794417)
    * R12.ATG_PF.B - 14069503 : Reference doc id 1907056.1

 

Solution

Please execute the following steps:

1. Stop patch 18004477:
   
    Using adctrl tell workers to quit choosing below option.
   
    3.    Tell worker to quit

2. Take backup of below:
  •     Take backup of following tables & drop them: "AD_DEFERRED_JOBS" & "FND_INSTALL_PROCESSES".
  •     Take backup of restart directory located at: $APPL_TOP/admin/<ORACLE_SID>
   
3. Download and apply pre-requisites for patch 14069503 ATG CONSOLIDATED PATCH FOR R12.1 HRMS RUP5 ().

4. Restore backup tables & directory from backup taken at step 2.

5. Re-apply the main patch: 18004477
   
    Using adctrl as workers to restart jobs choosing below option,
    2.    Tell worker to restart a failed job

Thanks,
Achal

DataInstall and Hrglobal.drv installation

Legislation data update (Hrglobal installation)


Legislation data update comes as post-installation steps for HRMS Patch and it involves below 2 steps:

1. DataInstall : It will stage the legislation updates in system.
2. Applying hrglobal.drv: It will install those updates as patch.

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

1. Datainstall

====================================================
DataInstall is run as follows:
 java oracle.apps.per.DataInstall [apps_un] [apps_pw] thin [connection]
  with [connection] in form: hostname:dbport:oraclesid
 Legislative selections should include Global and the list of intended
  legislations for installation.
 Note 145837.1 has details on usage and further information links.


Find below step by step execution:

$ java oracle.apps.per.DataInstall apps apps thin ebstst.oracle.net:1521:EBSTST

DataInstall for hrglobal



+-------------------------------------------------+
|             DataInstall Main Menu               |
+-------------------------------------------------+

1.    Select legislative data to install/upgrade

2.    Select college data to install/upgrade

3.    Select JIT or OTL to install/upgrade

4.    Exit to confirmation menu


Enter your choice : 1

 # Localisation         Product(s)               Leg. Data? Action
-- -------------------  ------------------------ ---------- -------------
 1 Global               Human Resources                      Install
 2 Australia            Human Resources
 3 Australia            Payroll
 4 Belgium              Human Resources
 5 Canada               Human Resources
 6 Canada               Payroll
 7 China                Human Resources
 8 China                Payroll
 9 Denmark              Human Resources
10 Denmark              Payroll
11 Finland              Human Resources
12 Finland              Payroll
13 France               Human Resources
14 Germany              Human Resources
15 Hong Kong            Human Resources
16 Hong Kong            Payroll
17 Hungary              Human Resources
18 India                Human Resources         
19 India                Payroll                 
20 Ireland              Human Resources
21 Ireland              Payroll
22 Italy                Human Resources
23 Japan                Human Resources
24 Japan                Payroll
25 Korea, Republic of   Human Resources
26 Korea, Republic of   Payroll
27 Kuwait               Human Resources         
28 Kuwait               Payroll                 
29 Mexico               Human Resources
30 Mexico               Payroll
31 Netherlands          Human Resources
32 Netherlands          Payroll
33 New Zealand          Human Resources
34 New Zealand          Payroll
35 Norway               Human Resources
36 Norway               Payroll
37 Poland               Human Resources
38 Russian Federation   Human Resources
39 Saudi Arabia         Human Resources         
40 Saudi Arabia         Payroll                 
41 Singapore            Human Resources
42 Singapore            Payroll
43 South Africa         Human Resources
44 South Africa         Payroll
45 Spain                Human Resources
46 Sweden               Human Resources
47 Sweden               Payroll
48 United Arab Emirates Human Resources         
49 United Arab Emirates Payroll                 
50 United Kingdom       Human Resources
51 United Kingdom       Payroll
52 United States        Human Resources
53 United States        Payroll

 <Product #><Action> - Change Action
 where <Action> is [I : Install, C : Clear]

 [Return]     - To return to main menu.

Enter your choice (for example 2I) : 1I, 18I, 19I
Enter your choice (for example 2I) :

+-------------------------------------------------+
|             DataInstall Main Menu               |
+-------------------------------------------------+

1.    Select legislative data to install/upgrade

2.    Select college data to install/upgrade

3.    Select JIT or OTL to install/upgrade

4.    Exit to confirmation menu

Enter your choice : 4

          DataInstall - Actions confirmation

Do you really wish to exit and save your changes?

      [Y]      - Yes, save then exit
      [N]      - No, don't save but exit
      [Return] - To return to the DataInstall Main Menu

Enter your choice (for example Y) : Y

          DataInstall - Actions summary
          -----------------------------

The following actions will be performed:


Localisation         Product(s)               Leg. Data? Action
-------------------- ------------------------ ---------- -------------

Localisation   College Data? Action
-------------- ------------- -------------
United Kingdom
United States

Option                         Data?         Action
------------------------------ ------------- -------------
JIT/Geocode
Oracle Time and Labor (OTL)



Note: You will see it in INSTALL Action. Only after appying hrglobal.drv it will be getting Installed.

$ java oracle.apps.per.DataInstall apps apps thin ebstst.oracle.net:1521:EBSTST

DataInstall for hrglobal



+-------------------------------------------------+
|             DataInstall Main Menu               |
+-------------------------------------------------+

1.    Select legislative data to install/upgrade

2.    Select college data to install/upgrade

3.    Select JIT or OTL to install/upgrade

4.    Exit to confirmation menu


Enter your choice : 1

 # Localisation         Product(s)               Leg. Data? Action
-- -------------------  ------------------------ ---------- -------------
 1 Global               Human Resources                      Install
 2 Australia            Human Resources
 3 Australia            Payroll
 4 Belgium              Human Resources
 5 Canada               Human Resources
 6 Canada               Payroll
 7 China                Human Resources
 8 China                Payroll
 9 Denmark              Human Resources
10 Denmark              Payroll
11 Finland              Human Resources
12 Finland              Payroll
13 France               Human Resources
14 Germany              Human Resources
15 Hong Kong            Human Resources
16 Hong Kong            Payroll
17 Hungary              Human Resources
18 India                Human Resources                      Install
19 India                Payroll                                       Install
20 Ireland              Human Resources
21 Ireland              Payroll
22 Italy                Human Resources
23 Japan                Human Resources
24 Japan                Payroll
25 Korea, Republic of   Human Resources
26 Korea, Republic of   Payroll
27 Kuwait               Human Resources        
28 Kuwait               Payroll                
29 Mexico               Human Resources
30 Mexico               Payroll
31 Netherlands          Human Resources
32 Netherlands          Payroll
33 New Zealand          Human Resources
34 New Zealand          Payroll
35 Norway               Human Resources
36 Norway               Payroll
37 Poland               Human Resources
38 Russian Federation   Human Resources
39 Saudi Arabia         Human Resources        
40 Saudi Arabia         Payroll                
41 Singapore            Human Resources
42 Singapore            Payroll
43 South Africa         Human Resources
44 South Africa         Payroll
45 Spain                Human Resources
46 Sweden               Human Resources
47 Sweden               Payroll
48 United Arab Emirates Human Resources        
49 United Arab Emirates Payroll                
50 United Kingdom       Human Resources
51 United Kingdom       Payroll
52 United States        Human Resources
53 United States        Payroll

 <Product #><Action> - Change Action
 where <Action> is [I : Install, C : Clear]

 [Return]     - To return to main menu.

Enter your choice (for example 2I) :

+-------------------------------------------------+
|             DataInstall Main Menu               |
+-------------------------------------------------+

1.    Select legislative data to install/upgrade

2.    Select college data to install/upgrade

3.    Select JIT or OTL to install/upgrade

4.    Exit to confirmation menu


Enter your choice : 4

          DataInstall - Actions confirmation

Do you really wish to exit and save your changes?

      [Y]      - Yes, save then exit
      [N]      - No, don't save but exit
      [Return] - To return to the DataInstall Main Menu

Enter your choice (for example Y) : N
$

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

2. Applying hrglobal.drv

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

For applying hrglobal.drv:
 Apply $PER_TOP/patch/115/driver/hrglobal.drv to the database tier.
 Once completed you have successfully installed your legislative HRMS data.

$ adpatch options=hotpatch driver=hrglobal.drv logfile=adpatch_hrglobal.log


Note: Once patch compeltes the localization should come with Installed status for "Leg. Data?".

Thanks,
Achal