Thursday, April 8, 2010

Enabling developer mode in JServ

I’m currently involved in a project that requires some reverse engineering and potential customization on E-Business Suite 11.5.10.2, and involves updating and creating new JSPs. As we’re going through development, enabling developer_mode in JServ makes it easier to test changes on the fly, as JSPs are no longer cached and changes are reloaded and appear immediately. This obviously impacts performance but is convenient for developer debugging.

1. Edit $IAS_ORACLE_HOME/Apache/Apache/Jserv/etc/zone.properties

2. Locate servlet.oracle.jsp.JspServlet.initArgs

3. Change developer_mode from “false” to “true”

4. Restart Apache (via adapcctl.sh)

So our new line now looks like this:
servlet.oracle.jsp.JspServlet.initArgs=translate_params=true,developer_mode=false,page_repository_root=/u01/applmgr/devcomn/_pages

In a test using JDK 1.2 with 50 users, 128 MB heap, and the default TCP settings, the performance gains with developer mode off were 14% in throughput, and 28% in average response time.


Applicable Versions:
  • Oracle E-Business Suite 11i (11.5.10.2)

References:

  • http://download.oracle.com/docs/cd/A95431_01/httpperf/jserv.htm#1004748
Ahmed Aboulnaga

No comments: