In this post, I will give you the things that need to be done for enabling debug on Oracle HTTP Server, also known as Apache in EBS 11i.
Note that, this enablement can also be used to enable Jserv debugging. (Note that , Jserv is replaced by OC4J in EBS R12 and OC4J is replaced by Oracle Weblogic Server in EBS 12.2)
Note that, this enablement can also be used to enable Jserv debugging. (Note that , Jserv is replaced by OC4J in EBS R12 and OC4J is replaced by Oracle Weblogic Server in EBS 12.2)
Setting up detailed logging on the web server:
WITH APPLMGR (APPL OS OWNER) user:
---------------------------------------------------------->
"Stop Apache"
cd $COMMON_TOP/admin/scripts/<CONTEXT_NAME>
[devappl@krbtest DEV_krbtest]$ sh adapcctl.sh stop
"Delete log files for having a clean start"
cd $IAS_ORACLE_HOME/Apache/Apache/logs
rm -r *
cd $IAS_ORACLE_HOME/Apache/Jserv/logs/jvm
rm -r *
cd $IAS_ORACLE_HOME/Apache/Jserv/logs
rm *
"Modify $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.conf" and update ApJServLogLevel to be set to debug : "ApJServLogLevel debug"
"Modify the $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.properties and enabling logging"
Change "log=false" to be "log=true"
Change "log.channel=false" to "log.channel=true"
Modify the following if they are not already set ->
log.timestamp=true
log.channel.info=true
log.channel.servletException=true
log.channel.jservException=true
log.channel.warning=true
log.channel.servletLog=true
log.channel.critical=true
log.channel.debug=true
wrapper.bin.parameters=-DOXTALogDebugMsg=true
"Modify the $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf and $IAS_ORACLE_HOME/Apache/Apache/conf/httpd_pls.conf files and enabling detailed logging"
modify LogLevel to be set to info -> "LogLevel debug"
"Modify the: $IAS_ORACLE_HOME/Apache/modplsql/cfg/wdbsrv.app and add the line:
debugModules=Info immediately after the line: custom_auth = CUSTOM
*Modify $IAS_ORACLE_HOME/Apache/Jserv/etc/zone.properties to enable debug for framework provider.
servlet.framework.initArgs=debuglevel -> should be set to 1, i.e : servlet.framework.initArgs=debuglevel=1
"Start Apache"
cd $COMMON_TOP/admin/scripts/<CONTEXT_NAME>
[devappl@krbtest DEV_krbtest]$ sh adapcctl.sh start
WITH APPLMGR (APPL OS OWNER) user:
---------------------------------------------------------->
"Stop Apache"
cd $COMMON_TOP/admin/scripts/<CONTEXT_NAME>
[devappl@krbtest DEV_krbtest]$ sh adapcctl.sh stop
"Delete log files for having a clean start"
cd $IAS_ORACLE_HOME/Apache/Apache/logs
rm -r *
cd $IAS_ORACLE_HOME/Apache/Jserv/logs/jvm
rm -r *
cd $IAS_ORACLE_HOME/Apache/Jserv/logs
rm *
"Modify $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.conf" and update ApJServLogLevel to be set to debug : "ApJServLogLevel debug"
"Modify the $IAS_ORACLE_HOME/Apache/Jserv/etc/jserv.properties and enabling logging"
Change "log=false" to be "log=true"
Change "log.channel=false" to "log.channel=true"
Modify the following if they are not already set ->
log.timestamp=true
log.channel.info=true
log.channel.servletException=true
log.channel.jservException=true
log.channel.warning=true
log.channel.servletLog=true
log.channel.critical=true
log.channel.debug=true
wrapper.bin.parameters=-DOXTALogDebugMsg=true
"Modify the $IAS_ORACLE_HOME/Apache/Apache/conf/httpd.conf and $IAS_ORACLE_HOME/Apache/Apache/conf/httpd_pls.conf files and enabling detailed logging"
modify LogLevel to be set to info -> "LogLevel debug"
"Modify the: $IAS_ORACLE_HOME/Apache/modplsql/cfg/wdbsrv.app and add the line:
debugModules=Info immediately after the line: custom_auth = CUSTOM
*Modify $IAS_ORACLE_HOME/Apache/Jserv/etc/zone.properties to enable debug for framework provider.
servlet.framework.initArgs=debuglevel -> should be set to 1, i.e : servlet.framework.initArgs=debuglevel=1
"Start Apache"
cd $COMMON_TOP/admin/scripts/<CONTEXT_NAME>
[devappl@krbtest DEV_krbtest]$ sh adapcctl.sh start
No comments :
Post a Comment
If you will ask a question, please don't comment here..
For your questions, please create an issue into my forum.
Forum Link: http://ermanarslan.blogspot.com.tr/p/forum.html
Register and create an issue in the related category.
I will support you from there.