Monitoring the Web Node involves monitoring the Apache server provided with iAS and monitoring the Java servlets. Troubleshooting tasks consist of configuration validation steps and log file research.

Apache Log Files

When troubleshooting Apache, the Applications DBA should monitor the various log files for Apache and the JServs. The $APACHE_TOP/Apache/logs directory contains files such as error_log and error_log_pls. The JServ log files are located in the $APACHE_TOP/Apache/Jserv/logs and $APACHE_TOP/ Apache/Jserv/logs/jvm directories. Apache and JServ log files should be monitored for potential error messages.

To enable additional logging for Apache when you’re troubleshooting, you can modify the level of debug messaging in the jserv.log file. The location of the jserv.log file is defined by the log.file parameter in the jserv.properties file. These are the steps for enabling the additional logging:

1. Set LogLevel to DEBUG in $APACHE_TOP/Apache/conf/httpd.conf.
2. Set ApJservLogLevel to DEBUG in $APACHE_TOP/Jserv/etc/jserv.conf.
3. Make the following changes to $APACHE_TOP/Jserv/etc/jserv.properties:
                             • Add wrapper.bin.parameters=-Djbo.debugoutput=console
                             • Set log=true
                             • Set log.channel=true
                             • Set log.channel.info=true
                             • Set log.channel.debug=true

Once these changes are made, review the log files for information to assist with troubleshooting the underlying issue. Use the information from the log files to search MetaLink for issue resolution. If MetaLink does not provide you with solutions, you should open an SR with Oracle Support.
Apache Availability

cd $COMMON_TOP/admin/scripts/

$ adapcctl.sh status

adapcctl.sh version 115.54

Apache Web Server Listener :httpd ( pid 12459 ) is running.
Apache Web Server Listener (PLSQL) :httpd ( pid 12558 ) is running.

adapcctl.sh: exiting with status 0

 How to Stop and Start (Bounce) the Apache Server

$ adapcctl.sh stop

adapcctl.sh version 115.54

Apache Web Server Listener :httpd ( pid 12459 ) is running.
Stopping Apache Web Server Listener (dedicated HTTP) …
Apache Web Server Listener (PLSQL) :httpd ( pid 12558 ) is running.
Stopping Apache Web Server Listener (dedicated PLSQL) …

adapcctl.sh: exiting with status 0

Wait for 30 seconds

$ ps -ef|grep http |grep applvis
 applvis 18735 12076  1 16:24:05 pts/1     0:00 grep http

$ adapcctl.sh start

adapcctl.sh version 115.54

Apache Web Server Listener is not running.
Starting Apache Web Server Listener (dedicated HTTP) …
Apache Web Server Listener (PLSQL) is not running.
Starting Apache Web Server Listener (dedicated PLSQL) …

adapcctl.sh: exiting with status 0

$ ps -ef|grep http |grep applvis
 applvis 18842 18809  0 16:24:16 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 19032 12076  1 16:26:15 pts/1     0:00 grep http
 applvis 18876 18809  0 16:24:49 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18880 18809  0 16:24:50 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18929 18899  0 16:24:57 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18919 18899  0 16:24:56 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18927 18899  0 16:24:57 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18881 18809  0 16:24:50 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18926 18899  0 16:24:57 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18809     1  0 16:24:15 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18825 18809  0 16:24:15 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18841 18809  0 16:24:16 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18899     1  0 16:24:53 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18844 18809  0 16:24:16 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18826 18809  0 16:24:15 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18843 18809  0 16:24:16 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18925 18899  0 16:24:57 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18845 18809  0 16:24:16 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18917 18899  0 16:24:55 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle
 applvis 18928 18899  0 16:24:57 ?         0:00 /d01/oracle/vis10ora/iAS/Apache/Apache/bin/httpd -d /d01/oracle