Thursday, April 21, 2011

Ebusiness Suite Health Check : Jserv/OC4J

Application Tier –Jserv/OC4J

  • Set logging level to warning
    • ApJServLogLevel warn (jserv.conf)
    • jserv.properties
      • log.channel.warning=true
      • log.channel.critical=true
      • log.channel.debug=false
  • Review jserv and JVM log files for exceptions or errors
    • $IAS_CONFIG_HOME/Apache/Jserv/logs
      • jserv.log
      • mod_jserv.log
  • $LOG_HOME/ora/10.1.3/opmn/OC4J~<coregroupname>

    ~default_group~<core#>


     

    • Enable verbose GC
  1. java.sh or jserv.properties
  • -verbose:gc
  • XX:+PrintGCTimeStamps
  • -XX:+PrintGCDetails
  1. Direct verbosegc output to a specific file
  • $IAS_CONFIG_HOME/Apache/Apache/bin/java.sh
  • -Xloggc: $JVMLOGDIR/$jsgrpid.$jsgrpindex.g


 

  • Ensure you are running a current version of the JDK
    • 304099.1
    • 304099.1
  • Upgrade to JDK 6.0
    • 10% performance improvement.
    • Thread synchronization optimization.
    • Adaptive Spinning.
    • Large page support for x86 platform.
    • Faster HashMap and arraycopy implementations.
    • Updated class list for system jars.
    • Dtrace probes included in JVM.
    • Refer to MetaLink note 401561.1 for instructions on how to upgrade to JDK 6.0


 

  • Set the servlet session timeout to 30 minutes
    • zone.properties
      • session.timeout=1800000
    • Larger timeout values increase overall JVM memory footprint
  • Upgrade to ATG RUP7
    • Numerous performance and scalability fixes fixes


     

  • OutofMemoryErrors
    • Trigger a heap dump when an OutofMemoryError occurs
      • -XX:+HeapDumpOnOutOfMemoryError
      • -XX:HeapDumpPath=<path>
    • Can use tools such as jhat to view the heap dump file and drill-down
      • jhat starts an http server on port 7000

No comments:

Post a Comment