Tuesday, 8 December 2015

Re: how to set the init-param debug_mode to "true"

To clarify: Edit

form database side
$ORACLE_HOME/oc4j/j2ee/OC4J_SEARCH/config/global-web-application.xml

...  /j2ee/home/config

In the section <servlet><servlet-name>jsp<...

Add an "init-param" section so it looks like this:

< servlet>
< servlet-name>jsp</servlet-name>
< servlet-class>oracle.jsp.runtimev2.JspServlet</servlet-class>
< init-param>
< param-name>debug_mode</param-name>
< param-value>true</param-value>
< /init-param>
< !-- you can set main_mode to "justrun" to speed up

Then restart the midtier using "searchctl restart"

Don't leave this on for production - sometimes it can reveal database passwords!

Thanks
Srini

No comments:

Post a Comment


No one has ever become poor by giving