When an application issues a command to connect to a
DBEnvironment, a remote connection is attempted if one of the
following conditions exist on the client:
There is no file with that name on the client system.
There is a file with that name but it is not a DBECon file on the client system.
When the remote connection is attempted, a local error message is
held in a buffer. If the remote connection is not successful,
the remote error message is added to the error message buffer,
as shown in figure 3-1. Next, the warning message 29007 (that
identifies the preceding error as pertaining to a remote access)
is added to the error message buffer with the message number of
the original (local) error as a parameter.
For example:
No matching profile found in the AliasDB file. (DBERR 27002)
Local database connection failed with DBERR 3070. Remote
access attempted. (DBWARN 29007)
|
Figure 3-1 Connecting to a DBEnvironment