Distributed Transaction Processing User Guide
Introduction
In This Guide
Audience
Special Considerations
General Restrictions
Syntax Conventions Used in This Guide
Introducing Ingres DTP
What Is Ingres DTP?
The X/Open DTP Standard
Transaction Processing Products
The X/Open DTP Model
XA Application Model
Ingres Star
Installation Requirements
Programming Ingres DTP Applications
Application Server Registration Routine
Open String Argument - Binding to Database Servers
How You Create an Ingres DTP Application
The Include Files
The xa_switch_t Structure
SQL Statement Restrictions
Transaction Context Restrictions
Environment Variables
Multiple Resource Manager Instances
Two-phase Commit
How Ingres DTP Applications Handle Errors
Error Messages
Database Access in Error Handlers
Error Codes
How to Design Your Application Server
Troubleshooting and Tuning Ingres DTP Applications
How You Obtain Trace and Error Information
Transaction Aborts
Performance Tuning
Session Cache Limit
Performance-Related Settings
A. Building Tuxedo Programs on Linux
Process Architecture
Installation Requirements
How You Configure the Tuxedo System
Step 1: Modify the Resource Manager Definition File
Step 2: Build the TMS Server
How You Create a Tuxedo Application
Step 1: Build Application Servers
Step 2: Edit the Application Configuration File
Step 3: Edit the ENVFILE
How You Start and Shut Down Application Servers
How You Verify Server Startup
Application Development Guidelines
Placement of Transaction Demarcation Calls
Error Handling
Deadlock Handling
TP_COMMIT_CONTROL
Distributed Transaction Processing User Guide
TP_COMMIT_CONTROL