![]() |
![]() |
|
|
Step 3: Editing the bankapp Makefile
bankapp includes a makefile that makes all scripts executable, converts the view description file to binary format, and does all the precompiles, compiles, and builds necessary to create application servers. It can also be used to clean up when you want to make a fresh start.
As bankapp.mk is delivered, there are a few fields you may want to edit, and some others that may benefit from some explanation.
How to Edit the TUXDIR Parameter
#
# Root directory of TUXEDO System. This file must either be edited to set
# this value correctly, or the correct value must be passed via "make -f
# bankapp.mk TUXDIR=/correct/tuxdir", or the build of bankapp will fail.
#
TUXDIR=../..
How to Edit the APPDIR Parameter
#
# Directory where the bankapp application source and executables reside.
# This file must either be edited to set this value correctly, or the
# correct value must be passed via "make -f bankapp.mk
# APPDIR=/correct/appdir", or the build of bankapp will fail.
#
APPDIR=$(TUXDIR)/samples/atmi/bankapp
#
How to Set the Resource Manager Parameters
By default, bankapp is set up to use the BEA Tuxedo/SQL as the database resource manager. This arrangement is based on the assumption that you have the BEA Tuxedo system database on your system. If this is not the case, you should set the RM parameter to the name of your resource manager as listed in TUXDIR/udataobj/RM.
#
# Resource Manager
#
RM=TUXEDO/SQL
#
Note: The BEA Tuxedo SQL resource manager is included for demonstration purposes only.
How to Run the bankapp.mk File
nohup make -f bankapp.mk &
Note: bankvar sets a number of parameters that are referenced when bankapp.mk is run.
See Also
![]() |
![]() |
![]() |
|
Copyright © 2000 BEA Systems, Inc. All rights reserved.
|