Sie sind auf Seite 1von 4

Architecture

Oracle Web Server also called as OHS (Oracle Http Server) or Oracle-Apache is built on Apache
Webserver. Oracle has added few custom component (like mod_plsql, mod_osso...) in Apache
webserver & shipped it as Oracle Http Server.

How to Start/Stop Web ServerAll startup shutdown scripts in Oracle Applications 11i(11.5.10)
are in $OAD_TOP/admin/script/$CONTEXT_NAME where OAD_TOP is also called as
COMMON_TOP and CONTEXT_NAME is your SID_hostname. Script to start/stop Web Server is
adapcctl.sh where ad (application dba), apc(apache), ctl(control) and sh stands for shell script.

adapcctl.sh calls apachectl (shell script in$IAS_ORACLE_HOME/Apache/Apache/bin) which in


turn calls HTTPD (in same directory which is executable called http daemon) it starts using
configuration file httpd.conf (from $IAS_ORACLE_HOME/Apache/Apache/conf directory , this
file calls other configuration file. To know all important configuration file follow config files link).

Under iAS/Apache/Apache important directory/files are bin (executable, apachectl,httpd)


,conf ( httpd.conf, httpd_pls.conf, oracle_apache.conf ), logs (access_log, access_log_pls,
error_log, error_log_pls, httpd.pid ).

Under iAS/Apache/Jserv files/directory you want to know are etc(config files),


logs(jvm,mod_jserv.log).

Under iAS/Apache/modplsql important bits are cache (cookie,plsql), cfg(wdbsvr.app , *.conf).

Web Server Troubleshooting where to look in case of any issues with Webserver. In order to
find any problems you should look at log file. All Oracle components have their own logs in
respective directory.

Main Apache and its logs are at $IAS_ORACLE_HOME/Apache/Apache/logs


Where as anything related to Servlets, mod_jserv, JVM (Java Virtual Machine) should be in
mod_jserv for servlets & jvm issues and its logs are at $IAS_ORACLE_HOME/Apache/Jserv/
logs & jvm where $IAS_ORACLE_HOME environment variable points to /u01/VIS11I/ora9/iAS
(here you have installed Oracle Apps Vision Instance under /u01 ) .

Important Configuration Files Few important files & there usages I am explaining here. are files
are relateive to $IAS_ORACLE_HOME

When Apache starts , it starts with damon HTTP using httpd.conf (in Apache/Apache/conf)
this is main configuration file which contain config parameters for Core Apache component(Few
Important parameters are PidFile, Port, Listen,
User, ServerAdmin, ServerName, DocumentRoot, ErrorLog, LogLevel, LogFormat,
TransferLog, ErrorDocument , VirtualHost, SSLLog, SSLLogLevel, include,
SSLCeritificateXXXX, RewriteEngine) To understand meaning of these parameters.

Important Configuration Files Contd... httpd.conf file calls jserv.conf (used for mod_jserv),
oprocmgr.conf (oracle process manager), oracle_apache.conf (Oracle Custom Modules like
mod_pls, mod_ossl, mod_osso..)

jserv.conf available at $IAS_ORACLE_HOME/Apache/Jserv/etc . This file calls few properties


files ( jserv.properties, viewer4i.properties, forms.properties, xmlsvcs.properties).

oprocmgr.conf Used to configure and manage each remote apache Instances managed by local
Apache Instance.
oracle_apache.conf This configuration file under $IAS_ORACLE_HOME/ Apache/Apache /conf
is used to configure Oracle built modules supplied with default Apache ( for eg. mod_plsql, oem,
imeeting). This file calls other configuration files ( plsql.conf, immeting.conf, apps.conf.

plsql.conf This file under $IAS_ORACLE_HOME / Apache/ modplsql/conf is used to configure


pls (Plsql). This file defines to forward all requests like /pls/ to dedicated apache listener. There is
another important file in this directory.

wdbsvr.app Which in my views is named so after Web Database Server for Applications. This file
contain your dad (database Access Descriptor ) information like database connection description
& apps user name & password . If you are changing apps password you use utility FNDCPASS
and after changing password you have to manually change apps password in this file. Now you
will say this is security risk to see password like this in a file . Yes it is but you can obfuscate this
password .

Whats is location of access_log file ?


access_log file by default is located in $IAS_ORACLE_HOME/ Apache/Apache/logs. Location of
this file is defined in httpd.conf by patameter CustomLog or TransferLog
Q. What is your Oracle Apps 11i Webserver Version and how to find it ?
From 11.5.8 to 11.5.10 Webserver version is iAS 1.0.2.2.2, In order to find version under
$IAS_ORACLE_HOME/Apache/Apache/bin execute ./httpd -version
./httpd –version…

Concurrent Manager as name suggest is Manager which manages your concurrent requests in
Oracle Apps 11i. You can assign single request or batch job & let concurrent manager manage
these request.

How to Start/Stop Concurrent Manager ? In Oracle Applications 11i as you might already be
aware that all startup shutdown scripts in 11i(11.5.10) are in
$OAD_TOP/admin/script/$CONTEXT_NAME where $OAD_TOP is also called as
$COMMON_TOP and $CONTEXT_NAME is your SID_hostname, So script to start/stop
concurrent manager is adcmctl.sh. cm is concurrent manager & ctl means control.

When you run adcmctl.sh it records execution of this command in text file with name adcmctl.txt
at directory $COMMON_TOP/admin/log/$CONTEXT_NAME. adcmctl.sh called another script
startmgr which in turn calls batchmgr in $FND_TOP/bin and this is actual file which fire up
Internal Concurrent Manager Process (Open these two files as they are text file and read content
in these files.

Where is Concurrent Manager Node ? If you don't know where is your CM here are few
ways to find your it .
SQLPLUS> select node_name from apps.fnd_nodes where support_cp='Y';

"ps -ef | grep FNDLIBR" under application User on all nodes where FND(Foundation)
LIBR(Library) is executable.

How to troubleshoot Concurrent Manager If encountered any error message


first place to start looking is log file of Internal Concurrent Manager . Log files are very critical in
understanding or finding any problem. but where is my concurrent manager log file ? Default
log file location for Apps Concurrent Manager is $APPLCSF/$APPLLOG/ and file name format is
SID_MMDD.mgr (This is specific to 11i 11.5.10 and may very depedning on your Apps Version)
where APPLCSF & APPLLOG are environment variables (If APPLCSF is not set while starting
Concurrent Manager , logs will go to $FND_TOP/$APPLLOG), log file name format is your SID_
MM (Month on which CM last started) DD (Date on which CM last started) .mgr (Manager).

Q. What are different modes of forms in which you can start Forms Server and which one
is default ?
You can start forms server in SOCKET or SERVLET by defualt Forms are configured to start in
socket mode.

Q. Where will you find forms configuration details apart from xml file ?
Forms configuration at time of startup is in script adfrmctl.sh and
appsweb_$CONTEXT_NAME.cfg (defined by environment variable
FORMS60_WEB_CONFIG_FILE) for forms client connection used each time a user initiates
forms connection.

Q. How you will start Discoverer in Oracle Apps 11i ?

In order to start dicoverer you can use script addisctl.sh under


$OAD_TOP/admin/scripts/$CONTEXT_NAME or startall.sh under
$ORACLE_HOME/discwb4/util (under Middle/Application Tier)

Q. How to confirm if Report Server is Up & Running ?


Report Server is started by executable rwmts60 on concurrent manager Node & this file is under
$ORACLE_HOME/bin .execute command on your server like
ps -ef | grep rwmts60
You should get output like
applmgr ....... rwmts60 name=REP60_VISION
where VISION is your Instance name.

What is JVM ?
JVM acronym for Java Virtual Machine which executes instructions generated by Java compiler.
So user click on any Self Service Request or any program which uses Java, then Apache
forwards this request to mod_jserv (mod_oc4j in 10g AS) & mod_jserv caters this request with
help of JVM.

How & Where check JVM related configuration in Oracle Apps 11i ?
So lets start with CONTEXT file under $APPL_TOP/admin (xml file) which is of pattern
$SID_$HOSTNAME.xml
There are two important lines in CONTEXT file which will help you in understanding JVM

Q: How to increase No. Of JVM's


Since you know place where number of JVM's are stored in Apps 11i in Context File , so you can
change them as per your requirement. There are basically following Groups with their own JVM's.
Q: Where to find Apps 11i JVM logs ?
JVM log location is defined in java.sh ( found in $IAS_ORACLE_HOME/Apache/Apache/bin)
Oracle Apps 11i JVM log file directory is defined by parameter JVMLOGDIR
( $IAS_ORACLE_HOME/Apache/Jserv/logs/jvm ) and log file are defined by STDOUTLOG &
STDERRLOG. Example of JVM log files are

Das könnte Ihnen auch gefallen