You can run multiple instances of an ODA either on the local
host machine or a remote host machine. Each instance runs on a
unique port. You can specify this port number when you start each
ODA from within Business Object Wizard.
To run multiple Object Discovery Agents simultaneously in
Business Object Designer, do the following:
- Start each Object Discovery Agent by running its
start_ODAname.bat or
start_ODAname.sh files.
- Open Business Object Designer.
- Click File -> New Using ODA.
The first dialog box in the Business Object Wizard, Select Agent, opens (see Figure 34).
- Click the Find Agents button to display currently
running ODAs in the Located agents list. You can also find
the ODA using its host name and port number.
- Select the first ODA from the displayed list. Your selection is
listed as Agent's name.
- Click File -> New Using ODA again.
- Click the Find Agents button to display currently
running ODAs in the Located agents list, or find the ODA
using its host name and port number.
- Select the second ODA from the displayed list.
- Proceed with the configuration of each ODA as described in step
4 of Using the ODA to create business
object definitions.
If you create multiple instances of the ODA script or batch file
and provide a unique name for each represented ODA, you can have a
message file for each ODA instance. Alternatively, you can
have differently named ODAs use the same message file. There are
two ways to specify a valid message file:
- If you change the name of an ODA and do not create a
message file for it, you must change the name of the message file
in Business Object Wizard as part of ODA configuration. Business
Object Wizard provides a name for the message file but does not
actually create the file. If the file displayed as part of ODA
configuration does not exist, change the value to point to an
existing file.
- You can copy the existing message file for a specific ODA, and
modify it as required. Business Object Wizard assumes you name each
file according to the naming convention. For example, if the
AGENTNAME variable (within the ODA startup script)
specifies HTMLODA, the tool assumes that the name of the
associated message file is HTMLODAAgent.txt.
Therefore, when Business Object Wizard displays the file name for
verification as part of ODA configuration, the file name is based
on the ODA name. Verify that the default message file is named
correctly, and correct it as necessary.
