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 Express, do the following:
- Start each Object Discovery Agent by running its
start_ODAname.bat
file.
- Start Business Object Designer Express.
- From the File menu, select the New using ODA menu
item.
Business Object Designer Express invokes Business Object Wizard, which
displays the first dialog box in the wizard,
Select Agent (see Figure 35).
- 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. Business Object
Wizard displays your selection in the Agent's name field.
- Again, click File -> New Using ODA.
Business Object Wizard displays a second instance of the Select Agent
dialog box.
- 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.
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.
