Oracle Cloud Infrastructure
Coming soon ...
Apps R12.2
  • R12.2 Architecture
  • Cloning Error (RC-50208)
  • Apps R12.1
  • Major changes from 11i
  • R12:HTTP Debug Logging
  • Compile Apps Schema invalid objects in R12
  • Apps 11i
  • Apps Components and Architecture
  • Concurrent managers
  • Patching
  • Using AD Patch
  • Using AD Control
  • FNDCPASS utility
  • Single-node Installation
  • Multi-node Installation
  • Find Apps Version
  • Cloning
  • Upgrade 11.5.9 to 11.5.10.2
  • Upgrade from 11.5.10.2 to R12
  • Upgrading 9i to 10g with 11i
  • 11i/R12 General Topics
  • AppsDBA System Management Utilities Guide
  • Identifying Long Idle Sessions
  • Identifying High Active Sessions
  • Change hostname for EBS
  • Oracle 12c Database
  • Oracle12c PSU Apply
  • Oracle12c Datafile moved Online
  • Oracle 11g Database
  • Upgrade 10g to 11g R1
  • Upgrade 11.2.0.2 to 11.2.0.3
  • Database 9i-10g
  • Top 99 Responsibilities of a DBA
  • General Info
  • Database Patching
  • 10g:ASM
  • 10g:Data Pump
  • 10g:Data Guard Installing
  • 10g:Rollback Monitoring
  • 10g:Flashback Table
  • Tablespace Management
  • Materialized Views
  • 10g:Enterprise Manager
  • 10g:Upgrade
  • Error:Ora-01631
  • DBA Scripts
  • Disk I/O,Events,Waits
  • Tablespace Information
  • Session Statistics
  • Hit/Miss Ratios
  • User Information
  • Rollback Segments
  • Full Table Scans
  • Contention/Locking
  • Redo Log Buffer
  • Data Dictionary Info
  • Oracle10g Application Server
  • Oracle10g Application Installation
  • (Re)Securing OAS Control
  • Oracle AS10g null protocol issue
  • Oracle Backup & Recovery
  • RMAN
  • RMAN Setup
  • Backup Recovery
  • Flash Recovery Area
  • Oracle10g Discoverer with Apps
    Coming soon ..............
    Troubleshooting
  • Discoverer Troubleshooting
  • Access EBS in mozile
  • Linux and Unix Platforms
  • How To configure NFS
  • Unix/Linux Command
  • Change hostname in Linux
  • SENDMAIL configuration
  • This Oracle Application DBA Portal is the biggest knowledge gateway for the people in the world of Oracle...
    Friday, April 3, 2009
    Enable HTTP/OC4J/OPMN debug logging
    Enable HTTP/OC4J/OPMN debug logging


    Do the following on ALL middle tiers

    - Shutdown the http server, oc4j and opmn services -
    adapcctl.sh stop
    adoacorectl.sh stop
    adformsctl.sh stop
    adoafmctl.sh stop
    adopmnctl.sh stop

    Backup existing log files in:
    $LOG_HOME/ora/10.1.3/Apache
    $LOG_HOME/ora/10.1.3/j2ee
    $LOG_HOME/ora/10.1.3/opmn




    Enable http ODL logging
    -----------------------------
    Edit httpd.conf file, add the following to the end of file $ORA_CONFIG_HOME/10.1.3/Apache/Apache/conf/httpd.conf
    OraLogMode oracle
    OraLogSeverity TRACE:32

    Make the following directory which will be where the log files are created
    mkdir $LOG_HOME/ora/10.1.3/Apache/oracle

    Increase OC4J logging
    ----------------------------
    edit j2ee-logging.xml adjust the following in file:
    $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/config/j2ee-logging.xml


    edit orion-web.xml adjust the following in file:
    $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml

    param-name>debug_mode

    true

    Increase OPMN Logging
    -------------------------------
    edit opmn.xml adjust the following in file:
    $ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml


    - Startup the http server, oc4j and opmn (reverse the startup sequence above)

    - Reproduce the issue

    - Access the following urls and inform support if the url was successful or unsuccessful:

    http://.:/OA_HTML/ServletPing
    http://.:/OA_HTML/OA.jsp?OAFunc=OAHOMEPAGE
    http://.:
    http://.:/OA_HTML/OAInfo.jsp
    http://.:/OA_HTML/jsp/fnd/aoljtest.jsp
    http://.:/OA_MEDIA/FNDLOGOL.gif
    http://.:/forms/frmservlet


    - Shutdown the http server, oc4j and opmn -

    Run these commands to zip up the required log files:
    zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`_iAS_HTTP.zip \

    $LOG_HOME/ora/10.1.3/Apache/*log* \
    $LOG_HOME/ora/10.1.3/Apache/*lock* \

    $LOG_HOME/ora/10.1.3/Apache/oracle \
    $INST_TOP/pids/10.1.3/Apache


    zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`_iAS_OC4J.zip $LOG_HOME/ora/10.1.3/j2ee/ $LOG_HOME/appl/rgf/*log*


    zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`_iAS_OPMN.zip $LOG_HOME/appl/admin/log/ $LOG_HOME/ora/10.1.3/opmn/

    The commands will create zip files in the /tmp directory named after the server name and date. Please now run the following script to comile the 3 zip files into 1 zip. Upload the resulting zip file to the associated service request.

    zip -r /tmp/`uname -n`_`date +%m%d%y.%H%M`_iAS_Debug.zip /tmp/*zip*

    Run the following command as the applmgr user to collect the version of JDK (Java) being used by R12 Ebusiness Suite. Upload the results to your Metalink SR

    sh -c "`awk -F= '$1 ~ /^JSERVJAVA.*$/ {print $2}'
    $ADMIN_SCRIPTS_HOME/java.sh` -version;"


    Important: Revert the changes and re-start the services

    Labels:

    posted by Srinivasan .R @ 1:07 PM  
    1 Comments:
    Post a Comment
    << Home
     
    About Me

    Name: Srinivasan .R
    Home: Chennai, India

    About Me:
    I am working as an Oracle Applications DBA specializing in EBS 11i/R12 with Over 14+ years of experience, mainly in different versions of Oracle Database & Application administration on various platforms like HP-UX, SOLARIS, AIX, Red hat Linux & Windows
    See my complete profile
    High Availability
  • Oracle10g RAC Installation
  • A Quick Reference for Oracle Database 10g RAC on Linux and Unix Platforms
  • Implementing Oracle 10g RAC with ASM on AIX
  • Locked objects for whole RAC
  • Monitor Memory RAC
  • Sessions RAC
  • Install Oracle 11g RAC On Linux
  • Migrating Oracle10g DB to ASM
  • Helpful Links
  • Good Metalink Notes
  • Discoverer:Metalink Notes
  • Logs Scripts:Metalink Notes
  • Support:Metalink Notes
  • Previous Post
  • Oracle10g: Data Pump
  • Oracle10g RAC Installation
  • Identifying High Active Sessions
  • FNDCPASS utility
  • Identifying Long Idle Sessions
  • Apps Components and Architecture
  • AppsDBA System Management Utilities
  • Top 99 Responsibilities of a DBA
  • A Quick Reference for Oracle Database 10g RAC on L...
  • Implementing Oracle 10g RAC with ASM on AIX
  • Archives
    Download Software
  • Oracle 11g
  • Oracle 10g
  • 10g Express Edition
  • Oracle 9i
  • Oracle Apps
  • Oracle Linux
  • Oracle VM
  • App Server
  • Solaris
  • Fedora
  • Fedora
  • OpenSUSE
  • Ubuntu
  • Advertisement Links
    INTUIT Technology

    MACHS DATA

    Add Ons
    Locations of visitors to this page

    Add to Google Reader or Homepage

    Template by
    Sreene



    Oracle Application DBA Portal