Showing posts with label 11i. Show all posts
Showing posts with label 11i. Show all posts

Friday, July 31, 2009

Obtaining Forms Runtime Diagnostics (FRD) In Oracle Applications 11i

1. Set the user value for profile option 'ICX: Forms Launcher' to be
'http://hostname.domain:port/forms/frmservice?record=forms'

2. By default, this will enable tracing for errors only. As an optional step, you can enable different trace options (e.g. user actions, user-exit events, dbsql events, network events) by setting a trace group in file $ORA_CONFIG_HOME/10.1.2/forms/server/ftrace.cfg

3. Login to the Personal Home Page, navigate to the form and perform the steps that you wish to trace.

4. Locate the file in the directory set by variable FORMS_TRACE_DIR. Note: by default, this directory is named forms_.trc, where is the process identifier.Related

Tracing in 11.5.10

1. Make the user value for profile option 'ICX: Forms Launcher' the same as the site value
e.g. copy value of ICX: Forms Launcher for the site Test115 'http://testserver.oracle.com:8005/dev60cgi/f60cgi' to be the value for the user.

2. Append the user value of ICX: Forms Launcher with the Forms parameters for FRD
e.g. update the value of ICX: Forms Launcher for the user to be 'http://testserver.oracle.com:8005/dev60cgi/f60cgi?record=all&log=/tmp/username_frd.log

3. Login to the Personal Home Page, navigate to the form and perform the steps that you wish to trace.

4. Locate the file in the directory set by variable $FORMS60_TRACE_PATH. Note: the default directory for $FORMS60_TRACE_PATH is $ORACLE_HOME/forms60/log.

FRD Tracing in 11.5.x to 11.5.9

This method enables users to run FRD tracing through the Personal Home Page by setting debugging to true using the profile option 'ICX: Forms Launcher'.
When accessing Applications through the Personal Home Page (PHP), there is no way to pass command line parameters such as config=debug and record=all for the duration of a single session.

For example, you cannot add these variables to the PHP connect string

http://testserver.oracle.com/OA_HTML/US/ICXINDEX_test115.htm.

The advantages of using the profile option 'ICX: Forms Launcher' are that you can easily trace the activities of multiple users and assign different log file names.
With Oracle Developer Forms patch 16 and higher, users cannot create adhoc FRD trace files in any directory. The trace files are either created in the directory set by parameter


$FORMS60_TRACE_PATH or they are created in 8.0.6 $ORACLE_HOME/forms60/log directory.

Steps:

To start tracing in this way, modify Profile Option 'ICX: Forms Launcher' at USER level to include the Forms parameters required for FRD logging:

1. Make the user value for profile option 'ICX: Forms Launcher' the same as the site value

e.g. copy value of ICX: Forms Launcher for the site Test115

'http://testserver.oracle.com:8005/dev60cgi/f60cgi'
to be the value for the user.

2. Append the user value of ICX: Forms Launcher with the Forms parameters for FRD
e.g. update the value of ICX: Forms Launcher for the user to be


'http://testserver.oracle.com:8005/dev60cgi/f60cgi?record=all&log=/tmp/username_frd.log

3. Save this change at the USER level, and the next time you access the test115 database through PHP, the Forms variables will be enabled.

Old option: adhoc FRD tracing :


The steps below show how to create an FRD trace file quickly. This is not a supported or preferred method of tracing, however, it may be useful to use this method for adhoc and basic troubleshooting purposes.Note after Oracle Developer Forms patch 16 and higher, users cannot create adhoc FRD trace files in any directory. The trace files are either created in the directory set by parameter
$FORMS60_TRACE_PATH or they are created in 8.0.6 $ORACLE_HOME/forms60/log directory.

1. Logon to Applications 11i and append the following text to the URL: record=all&log=/tmp/username_frd.log
a) Example on Unix:
A typical URL to logon to 11i applications: 'http://testserver.oracle.com:8005/dev60cgi/f60cgi?'
The URL with FRD trace enabled: 'http://testserver.oracle.com:8005/dev60cgi/f60cgi?record= all&log=/tmp/username_frd.log'
b) Example on Windows platforms:
A typical URL to logon to 11i applications: 'http://testserver.oracle.com:8005/dev60cgi/ifcgi60.exe'
The URL with FRD trace enabled: 'http://testserver.oracle.com:8005/dev60cgi/ifcgi60.exe?record= all&log=c:\temp\username_frd.log'

2. Reproduce the steps that you wish to trace in Applications.

3. Exit Applications and logout.

4. Locate the trace file at the server. In the above example, the forms runtime diagnostic trace information will be created to file form1.frd in /tmp or in c:\temp directory depending on the platform on which Applications is installed.

Wednesday, June 17, 2009

Applications 11i Health Check After Maintenance

1. Verify Maintenance Mode is disabled (applicable to 11.5.10 and customers with AD I patchset level (Patch 3180816(AD I) or Patch 4038964 (AD I1))).

2. Personal Home Page: Use http://hostname.domain:port
2.1. Login into Personal Home page as Sysadmin User
2.2. Choose Application Adminsitrator Responsibility to log into core applications.
2.3. Check whether User/Responsibility Administrator Screen is coming up without errors.
2.4. Submit "Generate Concurrent Processing Environment Information" Concurrent Request and "Active Users" report. Once completed normally then use export function (MainMenu/File/Export). If errors check your APPS_LISTENER is up and running else further debugging is needed.
2.5 Select “Concurrent Manager Administer” and check the status of “Service Manager”. If Service Manager is not running, Shutdown concurrent managers, run cmclean.sql and restart concurrent managers.


3. SSP Products: Login to applications using step 1 and select Sales Online, iExpenses or iProcurement responsibility. Check whether pages are coming up or not, If customer is licensed for it.

4. Reports Server and Discoverer: To be tested only in the case the customer is licensed for any Business Intelligence Modules
4.1. Report Server: Login to applications using step 1 and select responsibility like Financial Intelligence. Run report Earnings per Share and ensure that graphs are displayed without any errors.
4.2. Discoverer Viewer:http://hostname.domain:port/discoverer4i/viewer (in case of failure, run $ORACLE_HOME/discwb4/util/checkdiscoverer.sh to check status of each component)
4.3. Discoverer Plus:
http://hostname.domain:port/discwb4/html/english/welcome.htm(in case of failure, run $ORACLE_HOME/discwb4/util/checkdiscoverer.sh to check status of each component)

5. Check Jserv is Up and running :
5.1.
http://hostname.domain:port/servlets/Hello 5.2 For Multi-MT instances, perform the following check using machine name URL for each MT and make sure the page comes uphttp://hostname:domain:port/OA_HTML/AppsLocalLogin.jsp

6. JTF Login Page for customers using CRM (Check for each MT using real host names) http://hostname.domain:port/OA_HTML/jtflogin.jsp

7. Workflow: Login to OAM. Navigate to “Workflow Manager” and make sure “Notification Mailers” and “Agent Listeners” are up.

8. Ensure Database is in archive log mode ( If it was disabled for patching/upgrade)
$sqlplus " / as sysdba"
SQLarchive log list


9. Optional: Check multiple JVM's have come up if configured. Only if autoconfig was run, check that number of JVMs configured is same as it was before change.

10. Check the invalid object count and make sure that there is no additional invalid objects after the maintanence

11.Run apps diagnostics testsLogin to Personal Home Page using http://hostname.domain:port
Click on System Administration responsibility
Run below tests under Diagnostics page
a) PL/SQL ping
b) JSP Ping
c) AOL/J Database Connection Pool Status
d) Servlet ping

These checks will make sure all necessary components of oracle applications functioning well.

Friday, June 5, 2009

11i Specific path subdirectory locations where Inventory modules reside within the Oracle directory structure and on your OS file system

There are a variety of commands specifics that can be used. Here are the most common:
strings -a grep -i '$header'
strings -a grep '$Head'
strings -a grep -i '$Header: in'
ident $INV_TOP/java/jar/

To find a module on the file system:
find . -name -print
Example:
find . -name POXBWVRP.* -print

Where Inventory Modules reside on the file system:
In General:
cd $AU_TOP/resource – is where *.pld and *.plx files reside
cd $BOM_TOP/bin – is where *.ppc, *.pls, *.lpc files reside
cd $ENG_TOP/bin – is where *.ppc, *.pls, *.lpc files reside
cd $FND_TOP/bin – is where *.ppc, *.pls, *.lpc files reside
cd $INV_TOP/bin – is where *.ppc, *.pls, *.lpc files reside
cd $INV_TOP/lib – is where *.a and *.o [libinv.a] files reside
cd $INV_TOP/forms – is where *.fmx and *.fmb files reside
cd $INV_TOP/srw – is where *.rdf files reside
cd $PO_TOP/bin – is where *.ppc, *.pls, *.lpc files reside
General directions on how to navigate with in UNIX and get the version of a report, form, module, or library:
a) To get to report version, at UNIX prompt:type
cd $INV_TOP
cd srw
strings -a .rdf grep -i '$Header'
b) To get a module version, at UNIX prompt:type
cd $INV_TOP
cd bin
strings -a grep -i '$Header'
c) To get a library version, at UNIX prompt:type
cd $INV_TOP
cd lib
strings -a .a grep -i '$Header'

Specially where Inventory Modules reside on the file system:
Cycle Counting:
Obtain the version of any Cycle Count FORMS:
Define ABC Compiles (INVAAACP):
Assign ABC Items (INVADAAS):
Update ABC Assignments (INVADACA):
Assign ABC Classes (INVADACL):
Define ABC Groups (INVADAGR):
Enter Manual Schedule Requests (INVADCSC):
Define Cycle Count (INVADCYC):
Approve Cycle Count Adjustments (INVAMCAP):
Enter Cycle Counts (INVATCEN):
cd $INV_TOP/forms/US
strings -a INVAAACP.fmx grep -i 'INVAAACP.fmb'
strings -a INVADAAS.fmx grep -i 'INVADAAS.fmb'
strings -a INVADACA.fmx grep -i 'INVADACA.fmb'
strings -a INVADACL.fmx grep -i 'INVADACL.fmb'
strings -a INVADAGR.fmx grep -i 'INVADAGR.fmb'
strings -a INVADCSC.fmx grep -i 'INVADCSC.fmb'
strings -a INVADCYC.fmx grep -i 'INVADCYC.fmb'
strings -a INVAMCAP.fmx grep -i 'INVAMCAP.fmb'
strings -a INVATCEN.fmx grep -i 'INVATCEN.fmb'
cd $AU_TOP/resource
strings -a INVATCEN.plx grep -i ' INVATCEN.pld'
strings -a INVAMCAP.plx grep -i 'INVAMCAP.pld'
strings -a INVADPTE.plx grep -i 'INVADPTE.pld'

Obtain the version of any Cycle Count REPORTS:
ABC Assignments (INVARAAS):
ABC Descending Value (INVARADV):
Cycle Count Listing (INVARCLI):
Cycle Count Pending Approval (INVARCPA):
Cycle Count Entries and Adjustments (INVARCTA):
Cycle Count Hit/Miss Analysis (INVARHMA):
Cycle Count Open Requests Listing (INVARORE):
Cycle Count Schedule Requests (INVARRTA):
Cycle Count Unscheduled Items (INVARUIR):
cd $INV_TOP/reports/US
strings -a INVARAAS.rdf grep -i '$Header'
strings -a INVARADV.rdf grep -i '$Header'
strings -a INVARCLI.rdf grep -i '$Header'
strings -a INVARCPA.rdf grep -i '$Header'
strings -a INVARCTA.rdf grep -i '$Header'
strings -a INVARHMA.rdf grep -i '$Header'
strings -a INVARORE.rdf grep -i '$Header'
strings -a INVARRTA.rdf grep -i '$Header'
strings -a INVARUIR.rdf grep -i '$Header'

Obtain the version of any Cycle Count CONCURRENT PROGRAMS:
Compile ABC analysis (INCAAC):
Define ABC assignments (INCAAA):
Purge ABC Information (INCAAP):
Generate Cycle Count Requests (INCACG):
Initialize Cycle Count Items (INCACI):
Purge Cycle Count Information (INCACP):
Schedule Cycle Count Headers (INCACS):
cd $INV_TOP/bin
strings -a INCAAC grep -i 'incaac.opp'
strings -a INCAAA grep -i 'incaaa.opp'
strings -a INCAAP grep -i 'incaap.opp'
strings -a INCACG grep -i 'incacg.opp'
strings -a INCACI grep -i 'incaci.opp'
strings -a INCACP grep -i 'incacp.opp'
strings -a INCACS grep -i 'incacs.opp'
strings -a INCAPF grep -i ' incapf.opp'

Intercompany Invoicing:
$INV_TOP/bin/INCIAR
$INV_TOP/bin/INCIAP
$INV_TOP/lib/
strings -a INCIAP grep -i inliap
strings –a $INV_TOP/lib/inliar.o grep -i inliar.lpc
strings -a $INV_TOP/lib/inlico.o grep -i inlico.lpc
strings -a $INV_TOP/lib/inciar.o grep -i inciar.opc
strings -a $INV_TOP/lib/inlico.o grep -i inlico.opc

Kanban
Obtain the version of any Kanban FORM having problems:
cd $INV_TOP/forms/US
strings -a INVKBPSQ.fmx grep -i '$Header'
strings -a INVKBCRD.fmx grep -i '$Header'
Obtain the version of any Kanban CONCURRENT PROGRAM and .pls PL/SQL PROGRAM having problems:
cd $INV_TOP/patch/115/sql
strings -a INVVKBNS.pls grep -i '$Header'
strings -a INVVKBNB.pls grep -i '$Header'
strings -a INVKBCGS.pls grep -i '$Header'
strings -a INVKBCGB.pls grep -i '$Header'
cd $INV_TOP/patch/115/import/US
strings -a invkbcgn.ldt grep -i '$Header'
strings -a invkbcpr.ldt grep -i '$Header'
strings -a invkflx.ldt grep -i '$Header'

Min Max Replenishment Planning:
cd $INV_TOP/reports/US
strings -a INVISMMX.rdf grep -i '$Header'
cd $AU_TOP/plsql
strings -a INVISMMX.pll grep -i '$Header'
cd $INV_TOP/patch/115/sql
strings -a INVVMILB.pls grep -i '$Header'
strings -a INVVMILS.pls grep -i '$Header'
strings -a INVVMMXB.pls grep -i '$Header'
strings -a INVVMMXS.pls grep -i '$Header'
strings -a INVMMXWB.pls grep -i '$Header'
strings -a INVMMXWS.pls grep -i '$Header'
cd $INV_TOP/reports/US
strings -a INVISMMX.rdf grep -i '$Header'
cd $AU_TOP/plsql
strings -a INVISMMX.pll grep -i '$Header'
cd $INV_TOP/patch/115/sql
strings -a INVVMILB.pls grep -i '$Header'
strings -a INVVMILS.pls grep -i '$Header'
strings -a INVVMMXB.pls grep -i '$Header'
strings -a INVVMMXS.pls grep -i '$Header'
strings -a INVMMXWB.pls grep -i '$Header'
strings -a INVMMXWS.pls grep -i '$Header'


Movement Statistics:
$INV_TOP/resource/INVTTMVE.pld
$INV_TOP/forms/us/INVTTMVE.pld

Physical Inventory:
FORMS USED BY PHYSICAL INVENTORY
INVADPAP - Approve Physical Inventory Adjustments
INVADPPI - Define Physical Inventory
INVADPTE - Enter Physical Inventory Counts
INVADPVT - Void Physical Inventory Tags
INVARPGT - Generate Physical Inventory Tags
cd $INV_TOP/forms
INVADPAP.fmb
INVADPPI.fmb
INVADPTE.fmb
INVADPVT.fmb
INVARPGT.fmb
cd $AU_TOP/resource
strings -a INVADPTE.plx grep -i '$Header'
strings -a INVADPA1.plx grep -i '$Header'
strings -a INVADPTE.plx grep -i '$Header'

CONCURRENT PROCESSES USED BY PHYSICAL INVENTORY
INCAPA - Perform physical inventory Adjustments
INCAPF - Freeze physical inventory
INCAPP - Purge physical inventory information
INCAPT - Generate physical inventory tags
strings -a $INV_TOP/bin/INCAPA grep -i incapa.opp
strings -a $INV_TOP/bin/INCAPF grep -i incapf.opp
strings -a $INV_TOP/bin/INCAPA grep -i incapp
strings -a $INV_TOP/bin/INCAPA grep -i inltgp

Obtain the version of any Physical Inventory REPORTS:
Physical Inventory Adjustments Report INVARPAR
Generate Physical Inventory Tag INVARPGT
Physical Inventory Tags INVARPTP
Physical Inventory Missing Tag Listing INVARPMT
Physical Inventory counts Report INVARPSL
Physical Inventory Item accuracy Report INVARPIA
Physical Inventory Trend and summary Report INVARPTS
Approve Physical inventory adjustments INVADPAP
Define Physical Inventory INVADPPI
Enter Physical Inventory counts INVADPTE
Void Physical Inventory Tags INVADPVT (only in 10.7)
Freeze Physical Inventory program INCAPF
INVARPAR.rdf -$INV_TOP/reports/US
INVARPGT.fmb $INV_TOPforms/US
INVARPMT.rdf -$INV_TOP/reports/US
INVARPSL.rdf - -$INV_TOP/reports/US
INVARPIA.rdf - $INV_TOP/reports/US
INVARPTS.rdf -$INV_TOP/reports/US
INVARPTS.rdf -$INV_TOP/reports/US

JAVA FILES USED BY PHYSICAL INVENTORY
PhyInvButton.java
PhyInvCreateLPNFListener.java
PhyInvCreateLPNPage.java
PhyInvFListener.java
PhyInvFunction.java
PhyInvPage.java
(all java files reside at java/count/server/ )

Miscellaneous additional modules and their subdirectory structure path where they reside:
To find version of inltpu.ppc
$INV_TOP/lib
strings -a inltpu.o grep Header grep inltpu
Subdirectory Path Locations of Various Modules:
$AU_TOP/resource/INVSLENT.plx
$INV_TOP/bin/INCTCC grep '$Head'
$INV_TOP/bin/INCTCM grep '$Head'
$INV_TOP/bin/INLTCP grep '$Head'
$INV_TOP/bin/INLTUQ grep '$Head'
$INV_TOP/forms/US/INVADPAP.fmx
$INV_TOP/forms/US/INVSDSUB.fmx
$INV_TOP/forms/US/INVTTESR.fmx
$INV_TOP/forms/US/INVTVQOH.fmb
$INV_TOP/lib/inctgl.o
$INV_TOP/lib/libinv.a
$INV_TOP/patch/115/import/US/invqueue.ldt
$INV_TOP/patch/115/sql/ INVCLRMO.sql
$INV_TOP/patch/115/sql/INVICIVB.pls
$INV_TOP/patch/115/sql/INVICIVS.pls
$INV_TOP/patch/115/sql/INVPICTB.pls
$INV_TOP/reports/US/INVARCLI.rdf
$INV_TOP/sql/INCDPG.sql
$INV_TOP/sql/INCDPG.sql
$INV_TOP/sql/INCDPG.sql
$INV_TOP/sql/INCDPG.sql
$INV_TOP/sql/INVCLRMO.sql
$MPP_TOP/sql/mrppgupd.sql
$MPP_TOP/sql/mrppgupd.sql
$PO_TOP/bin/POXRQCNB.pls
$PO_TOP/bin/POXRQCNB.pls
$PO_TOP/bin/POXRQREB.pls
$PO_TOP/bin/rvsrq.lpc
$PO_TOP/resource/POXBWVRP.pld

Wednesday, January 28, 2009

Log file locations in oracle applications 11i

Below list of log file locations which will be helpful for trouble shooting errors in oracle applications 11i

- OCA (Oracle Certificate Authority)
$ORACLE_HOME/oca/logs/admin.log

- OHS (Oracle HTTP Server)
$ORACLE_HOME/Apache/Apache/conf/ssl_engine_log

$ORACLE_HOME/Apache/Apache/conf/ssl_request_log
$ORACLE_HOME/Apache/Apache/conf/access_log
$ORACLE_HOME/Apache/Apache/conf/error_log

- OID (Oracle Internet Directory)
$ORACLE_HOME/ldap/log/oidmon.log

$ORACLE_HOME/ldap/log/oidldapd01.log
$ORACLE_HOME/ldap/log/oidldapd02.log
$ORACLE_HOME/ldap/odi/log/*.trc
$ORACLE_HOME/ldap/odi/log/*.aud

- OPMN
$ORACLE_HOME/opmn/logs/ipm.log

- SSO
$ORACLE_HOME/sso/log/ssoServer.log

- Web Cache
$ORACLE_HOME/webcache/logs/event_log

$ORACLE_HOME/webcache/logs/access_log

- E-Business Suite
$IAS_ORACLE_HOME/Apache/Apache/logs/ssl_engine_log

$IAS_ORACLE_HOME/Apache/Apache/logs/ssl_request_log
$IAS_ORACLE_HOME/Apache/Apache/logs/access_log
$IAS_ORACLE_HOME/Apache/Apache/logs/error_log
$IAS_ORACLE_HOME/Apache/JServ/logs

- Portal
$ORACLE_HOME/j2ee/OC4J_Portal/application-deployments/portal/OC4J_Portal_default_island_1/application.log

Enabling Additional SSL Debugging

- OCA
$ORACLE_HOME/oca/bin/ocactl set -type LOG -state

$ORACLE_HOME/oca/bin/ocactl set -type TRACE -state
$ORACLE_HOME/oca/bin/ocactl clear -type <>

- OHS
$ORACLE_HOME/Apache/Apache/conf - set LogLevel $ORACLE_HOME/Apache/Apache/ssl.conf$ORACLE_HOME/Apache/Apache/ocm_apache.conf (Infrastructure Tier Only)

- E-Business Suite
$IAS_ORACLE_HOME/Apache/Apache/conf



Thursday, December 25, 2008

How To Add Workflow Worklist To EBusiness Suite Home Page

1. Please set the following profile options for the user who performs the Home Page personalizations,

Personalize Self Service Definition - Yes

FND: Personalization Region Link - Yes


2. Login to Applications Home Page and select the 'Personalize Page' link


3. Click on Personalize "Home Contenttable" link


4. In the "Row Layout: Home Content Row" row, click on Personalize icon (pencil)


5. Change the rendered attribute to True in the "Site" column.


6. Click on Apply


7. Log off the applications


8. Log in to the applications


9. The worklist should appear this time.


10. Once confirmed please revert the profile options as follows,


Personalize Self Service Definition - No

FND: Personalization Region Link - No