When you configure an XA resource for C/C++ connection caches, you need to modify two configuration files.
On UNIX:
$JAGUAR/interfaces
$JAGUAR/xa_config
On Windows:
%JAGUAR%\ini\sql.ini
%JAGUAR%\ini\xa_config
On UNIX, add these lines to the interfaces file:
DbServer master tcp ether host 5300 query tcp ether host 5300
On Windows, add these lines to the sql.ini file:
[DbServer] master=NLWNSCK,host,5200 query=NLWNSCK,host,5200
where DbServer is the name of the database server and host is the name of the machine on which the database server runs. DbServer should have the same value that you entered in the Server Name field when you configured the XA resource.
For both operating systems, add these lines to the xa_config file:
[xa] lrm=serverName server=DbServer
where:
serverName is the name you entered in the Server Name field when you configured the XA resource.
DbServer is the name of the server you entered in either the interfaces file or the sql.ini file.
serverName and DbServer represent the same server and should have the same value.
Copyright © 2005. Sybase Inc. All rights reserved. |