Error and trace message files (the default is
JDBCODAAgent.txt) are located in \ODA\messages\,
which is under the product directory. These files use the following
naming convention:
AgentNameAgent.txt
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 Designer as part of ODA configuration. Business
Object Designer 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 Designer assumes you name
each file according to the naming convention. For example, if the
AGENTNAME variable specifies JDBCODA1, the tool assumes
that the name of the associated message file is
JDBCODA1Agent.txt. Therefore, when Business Object
Designer provides the filename for verification as part of ODA
configuration, the filename is based on the ODA name. Verify that
the default message file is named correctly, and correct it as
necessary.
- Important:
- Failing to correctly specify the message file's name when you
configure the ODA causes it to run without messages. For more
information on specifying the message file name, see "Configure initialization
properties".
During the configuration process, you specify:
- The name of the file into which JDBCODA writes error and trace
information
- The level of tracing, which ranges from 0 to
5.
Table 13 describes these values.
Table 13. Tracing
levels
Trace
level |
Description |
0 |
Logs all
errors |
1 |
Traces all
entering and exiting messages for method |
2 |
Traces the
ODA's properties and their values |
3 |
Traces the
names of all business objects |
4 |
Traces
details of all spawned threads |
5 |
* Indicates
the ODA initialization values for all of its properties * Traces a
detailed status of each thread that JDBCODA spawned * Traces the
business object definition dump |
For information on where you configure these values, see
"Configure initialization
properties".
