From within your Encina Monitor application server, you must register each LRM with a call to mon_RegisterRmi. For example:
status = 
mon_RegisterRmi(&sybase_TXS_xa_switch,"connection_1",
&rmiID);
if (status != MON_SUCCESS)
{
fprintf(stderr, "mon_RegisterRmi failed (%s).\n",
mon_StatusToString(status));
bde_Exit(1);
}
fprintf(stderr, "mon_RegisterRmi complete\n");
For each LRM registered with a monadmin create rm command, there must be a mon_RegisterRmi command that initializes the LRM. The rmname specified in the monadmin create rm command must match the rmname in the mon_RegisterRmi command.
See the Encina Monitor Programmer’s Guide for:
Information about the tasks performed by the registration function and the order in which they must be performed
Full syntax of the mon_RegisterRmi command
| Copyright © 2005. Sybase Inc. All rights reserved. |   | |