BEA Logo BEA Tuxedo Release 7.1

  Corporate Info  |  News  |  Solutions  |  Products  |  Partners  |  Services  |  Events  |  Download  |  How To Buy

 

   Tuxedo Doc Home   |   Getting Started   |   Topic List   |   Previous   |   Next   |   Contents

   Tutorials for Developing a BEA Tuxedo Application

Step 4: Creating the bankapp Database

This documentation describes the interface between bankapp and a resource manager, typically a database management system and how to create the database for bankapp. bankapp is designed to use the BEA Tuxedo/SQL facilities of the BEA Tuxedo system database, which is an XA-compliant resource manager.

Note: The BEA Tuxedo SQL resource manager is included for demonstration purposes only.

How you create the bankapp database depends on whether you bring up the application on a single processor (SHM mode) or on a network of more than one processor (MP mode).

How to Create the Database in SHM Mode

  1. Set the environment by typing the following:

        . ./bankvar

  2. Execute crbank. crbank calls crbankdb three times, changing some environment variables each time, so that you end up with three database files on a single machine. As a result, you can simulate the multi-machine environment of the BEA Tuxedo system without a network of machines.

How to Create the Database in MP Mode

  1. Set the environment by typing the following:

        . ./bankvar

    Note: You may have already set your environment variables. For detailed instructions, see "How to Set Environment Variables."

  2. Run crbankdb to create the database for this site.

  3. On each additional machine in your BEA Tuxedo system network, edit bankvar to provide the path name for the FSCONFIG variable that is used for that site in the configuration file, ubbmp. Then repeat Steps 1 and 2.

See Also