| Oracle Application Server InterConnect Adapter for HTTP Installation and User's Guide 10g (9.0.4) Part Number B10413-01 |
|
This chapter provides answers to frequently asked questions about the HTTP adapter.
This chapter contains this topic:
The following questions address troubleshooting issues for the HTTP adapter.
View the oailog.txt file located in the appropriate timestamped subdirectory of the HTTP adapter logs directory.
| On... | Go to... |
|---|---|
|
UNIX |
|
|
Windows |
|
where Application is the value you defined in Step 3 and timestamp_in_milliseconds is the directory. If no exceptions are listed, the adapter started properly.
View the exceptions in the adapter log file (oailog.txt). The exceptions provide information about inconsistencies. One possible reason is that the HTTP adapter did not connect to the repository. Ensure that the repository is started properly and the HTTP adapter connects to the repository once it is started properly. You do not need to restart the adapter.
The HTTP adapter caches the information from iStudio (the information that is stored in the repository) locally for better performance in a production environment. If you change something in iStudio and want to see the change in the runtime environment, you need to perform the following procedures:
To see iStudio changes in the runtime environment:
Each adapter has a persistence directory located in the directory named after the HTTP application. Deleting this directory when the adapter has been stopped makes the adapter obtain the new metadata from the repository when started.
Yes, edit the parameters in the following file:
| On... | Go to... |
|---|---|
|
UNIX |
|
|
Windows |
|
|
See Also:
"Hub.ini Parameter File" for parameter information |
You can install multiple HTTP adapters on the same computer by specifying a different Oracle home for each adapter during the installation process. If you try to install a second adapter in the same Oracle home, the installer overwrites previous installations of the HTTP adapter. However, you can still install multiple adapters in the same Oracle home, by using the copyAdapter utility and manually editing some configuration files (see the next question for details).
To install a second HTTP adapter in the same Oracle home, complete the following steps:
copyAdapter utility to make a copy of the existing HTTP adapter:
% cd ORACLE_HOME/oai/9.0.2/bin % copyAdapter <oldAdapterName> <newAdapterName>
On Windows:
c:\> cd ORACLE_HOME\oai\9.0.2 bin c:\< copyAdapter <oldAdapterName> <new AdapterName>
adapter.ini file for the new adapter. In particular, make sure the following parameters in the new adapter.ini file are different from the adapter.ini file for the existing HTTP adapter:
ota.send.endpoint) parameter.
ota.receive.endpoint) parameter.
The default receive endpoint set by the installer is:
http://<machine name>:<port number>/oai/servlet/transportServlet
You can change the receive endpoint to the following:
http://<machine name>:<portnumber>/oai1/servlet/transportServlet
ota.type) if necessary.
http.receiver.registry_port) to a port not used on this machine.
web.xml file to match that of the adapter.ini file. The web.xml file is in the following directory:
On UNIX:
ORACLE_HOME/oai/9.0.2/adapters/<newAdapterName>/webapps/WEB-INF
On Windows:
ORACLE_HOME\oai\9.0.2\adapters\<newAdapterName>\webapps\WEB-INF
application.xml file in the ORACLE_HOME\oai\9.0.2\adapters\<your new http app name>\webapps\META-INF directory:
<context-root>oai/servlet</context-root>
to:
<context-root>oai1/servlet</context-root>
oai1.ear):
On UNIX:
% cd ORACLE_HOME/oai/9.0.2/adapters/<your http app name>/webapps % jar cvf oai.war WEB-INF % jar cvf oai1.ear oai.war META-INF
On Windows:
c:\> ORACLE_HOME\oai\9.0.2\adapters\<your new http app name>\webapps c:\> jar cvf oai.war WEB-INF c:\> jar cvf oai1.ear oai.war META-INF
An .ear file has been created called oai1.ear which is ready for deployment.
oai1.ear file in the OracleAS environment:
On UNIX:
% cd ORACLE_HOME/dcm/bin % dcmctl shell dcmctl> deployApplication -f oai1.ear -a oaiservlet1 -co oc4j_oai dcmctl> exit
On Windows:
c:\> ORACLE_HOME\dcm\bin\dcmctl shell dcmctl> deployApplication -f oai1.ear -a oaiservlet1 -co oc4J_OAI dcmctl> exit
In order to encrypt password values specified in the adapter.ini file, perform the following steps:
To encrypt password values:
ORACLE_HOME/oai/9.0.4/bin directory for UNIX and the ORACLE_HOME\oai\9.0.4\bin directory for Windows. For example, to encrypt the http.sender.password parameter, enter the following:
encrypt password
adapter.ini file with encrypted_:
encrypted_http.sender.password
http.sender.password, replace the line:
http.sender.password=HTTPuser
with the value you received from running the encrypt tool in Step 2:
encrypted_http.sender.password=112411071071106510801094108410731070107110811069
|
|
![]() Copyright © 2002, 2003 Oracle Corporation. All Rights Reserved. |
|