|
Oracle9i Application Server Certified Configuration Deployment and Cloning Guide
Release 2.0.6.0.1 for Solaris Operating Environment (SPARC 64-bit) Part No. B12185-01 |
|
|
|
|
Oracle9i Application Server mid-tier installation includes Oracle Application InterConnect (OAI) hub and six adapters. You must configure them before you can use them. This chapter provides configuration information for OAI.
This chapter contains the following sections:
OAI requires Oracle Internet Directory (OiD). You cannot configure it in Oracle9i Application Server Certified Configuration J2EE & Web Cache without an Infrastructure type of install. You must have the Infrastructure up and running when you configure OAI.
Before configuring OAI, you must log in as the user who owns the Oracle9i Application Server mid-tier Oracle home and set the environment variable by sourcing the following script:
$cd ~/ $ . profile.iascc_env
A list of Oracle homes on the system will appear, select the Mid-Tier.
Run the following command to configure an OAI hub:
$ /admin/mwcc/oai/config_oai.sh -hub
You should always configure the OAI hub with the Infrastructure database.
The following table lists the OAI adapters that you can configure and the command that you must run to configure them.
Table 7-1 OAI Adapters
| Adapter | Command |
|---|---|
| AQ | $ /admin/mwcc/oai/config_oai.sh -adapter -adaptertype=aq
|
| Database | $ /admin/mwcc/oai/config_oai.sh -adapter -adaptertype=db
|
| FTP | $ /admin/mwcc/oai/config_oai.sh -adapter -adaptertype=ftp
|
| HTTP | $ /admin/mwcc/oai/config_oai.sh -adapter -adaptertype=http
|
| MQ Series | $ /admin/mwcc/oai/config_oai.sh -adapter \-adaptertype=mqseries
|
| SMTP | $ /admin/mwcc/oai/config_oai.sh -adapter -adaptertype=smtp
|
You can give a comma separated list of types to -adaptertype parameter to configure multiple adapters in one command.
To start the OAI hub, run the following commands:
$ cd $ORACLE_HOME/oai/9.0.2/repository $ ./start
To stop the OAI hub, run the following commands:
$ cd $ORACLE_HOME/oai/9.0.2/repository $ ./stop
To start an OAI adapter, run the following commands:
$ cd $ORACLE_HOME/oai/9.0.2/adapters/<adapter_name>;
$ ./start
To stop the OAI hub, run the following commands:
$ cd $ORACLE_HOME/oai/9.0.2/adapters/<adapter_name>;
$ ./stop
The Oracle9i Application Server Certified Configuration start and stop scripts will automatically start or stop the OAI hub and OAI adapters that you configured using config_oai.sh.